Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/Routers.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React, { Component } from 'react';
import {BrowserRouter as Router, Route, Switch, withRouter } from 'react-router-dom';
import { Route, Switch, withRouter } from 'react-router-dom';
import './App.css';
import Administration from './components/Administration/Administration';
import Login from './components/Login/Login';
Expand Down
4 changes: 2 additions & 2 deletions src/components/Appearance/Custome/AppearanceForm.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React, { Component } from "react";
import PropTypes from "prop-types";
import { Form, Row, Col, Input, Button } from "reactstrap";
import Select from "react-select";
import axios from "axios";
//import axios from "axios";
import randomstring from "randomstring";
import HandleContentTypeView from "./apperanceContentTypecomponent/HandleContentTypeView";
import FileUploader from "../../FileUploader/FileUploader";
Expand All @@ -13,7 +13,7 @@ class AppearanceForm extends Component {
this.state= {
contentTypesArr: [],
}
showcomponent: false
//showcomponent: false
}

static propTypes = {
Expand Down
12 changes: 6 additions & 6 deletions src/components/Appearance/Custome/Custome.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,13 @@ class Custome extends Component {
};

render() {
const style = {marginBottom: '1em'};
const btnFile = {marginBottom: '1em', height: '2em'};
//const style = {marginBottom: '1em'};
//const btnFile = {marginBottom: '1em', height: '2em'};

const options = this.state.categories.map((item, index) => ({
label: item.name,
value: index,
}));
//const options = this.state.categories.map((item, index) => ({
//label: item.name,
//value: index,
//}));

return (

Expand Down
2 changes: 1 addition & 1 deletion src/components/Appearance/CustomeCode/CustomeCode.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class CustomeCode extends Component {
.then(response => {
console.log(response);
let data= {};
data.javascriptCode = response.data[0].javascriptCode,
data.javascriptCode = response.data[0].javascriptCode
data.cssCode = response.data[0].cssCode
this.setState({data});
})
Expand Down
2 changes: 1 addition & 1 deletion src/components/ContentTypesPanel/EditEntrie/EditEntrie.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ let selectedCategorie ;
class EditEntrie extends Component {
constructor(props) {
super(props);
let categories = [];
//let categories = [];
let selectedFile;

if(this.props.itemWillBeEdited.item.categories){
Expand Down
8 changes: 4 additions & 4 deletions src/components/ContentTypesPanel/Structure/Structure.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React, { Component } from 'react';
import { Button,Container, Row, Form, Modal, ModalHeader, ModalBody, ModalFooter } from 'reactstrap';
import TopHeader from '../../Administration/HeaderComponent/HeaderComponent';
import DashBoard from '../../Administration/dashBoard/dashBoard';
import { Button, Row, Modal, ModalHeader, ModalBody } from 'reactstrap';
//import TopHeader from '../../Administration/HeaderComponent/HeaderComponent';
//import DashBoard from '../../Administration/dashBoard/dashBoard';
import AddField from '../../SiteStructure/AddField/AddField';
import ViewTable from '../../ViewTable/ViewTable';
import EditField from '../EditField/EditField';
Expand Down Expand Up @@ -94,10 +94,10 @@ itemWillBeEdited = {};
.catch(error => {
console.log("Error: ", error);
});

}

render() {

const colstyle ={padding: '0',margin:'0 0 0 0', height: 'auto'};
const brdJumbo = { border: "1px solid grey", margin: '0 0 2em 0' };
const h3Brd = {
Expand Down
2 changes: 1 addition & 1 deletion src/components/LandingPage/LandingPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import {Container} from 'reactstrap';
import Menu from './LayoutComponents/Menu';
import Slider from '../Slider/Slider';
import IconBox from './LayoutComponents/IconBox';
import Post from './LayoutComponents/Post';
//import Post from './LayoutComponents/Post';
import Footer from './LayoutComponents/Footer';
import LayoutComponents from './LayoutComponents/LayoutComponents';

Expand Down
6 changes: 3 additions & 3 deletions src/components/LandingPage/LayoutComponents/ExtandedCTView.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React, {Component} from 'react';
import PropTypes from 'prop-types';
import axios from 'axios';
import {Row, Col} from 'reactstrap';
//import PropTypes from 'prop-types';
//import axios from 'axios';
//import {Row, Col} from 'reactstrap';
class ExtandedCTView extends Component {

render() {
Expand Down