forked from ddrilling/asb_cloud_front
сортировка компонент и страниц
This commit is contained in:
parent
745a41a051
commit
dd9fc2514d
@ -1,5 +1,5 @@
|
|||||||
import {Layout} from 'antd'
|
import {Layout} from 'antd'
|
||||||
import PageHeader from './Header'
|
import PageHeader from './PageHeader'
|
||||||
|
|
||||||
const {Content} = Layout
|
const {Content} = Layout
|
||||||
|
|
@ -2,7 +2,7 @@ import { Layout, Button } from 'antd'
|
|||||||
import { UserOutlined } from '@ant-design/icons'
|
import { UserOutlined } from '@ant-design/icons'
|
||||||
import logo from '../images/logo_32.png'
|
import logo from '../images/logo_32.png'
|
||||||
import { Link } from "react-router-dom"
|
import { Link } from "react-router-dom"
|
||||||
import WellTreeSelector from '../components/WellTreeSelector'
|
import WellTreeSelector from './WellTreeSelector'
|
||||||
|
|
||||||
const { Header } = Layout
|
const { Header } = Layout
|
||||||
|
|
||||||
@ -17,7 +17,9 @@ export default function PageHeader({title='Мониторинг', wellsList}){
|
|||||||
return(
|
return(
|
||||||
<Layout>
|
<Layout>
|
||||||
<Header className="header">
|
<Header className="header">
|
||||||
<img src={logo} alt="АСБ" className="logo"/>
|
<Link to="/" >
|
||||||
|
<img src={logo} alt="АСБ" className="logo"/>
|
||||||
|
</Link>
|
||||||
<WellTreeSelector wellsList={wellsList}/>
|
<WellTreeSelector wellsList={wellsList}/>
|
||||||
<h1 className="title">{title}</h1>
|
<h1 className="title">{title}</h1>
|
||||||
<Link to="/login" onClick={handleLogout}>
|
<Link to="/login" onClick={handleLogout}>
|
@ -1,7 +1,7 @@
|
|||||||
import Deposit from './Deposit'
|
import Deposit from './Deposit'
|
||||||
import Cluster from './Cluster'
|
import Cluster from './Cluster'
|
||||||
import Well from "./Well";
|
import Well from "./Well";
|
||||||
import LayoutPortal from './LayoutPortal'
|
import LayoutPortal from '../components/LayoutPortal'
|
||||||
import {Redirect, Route, Switch} from "react-router-dom";
|
import {Redirect, Route, Switch} from "react-router-dom";
|
||||||
|
|
||||||
export default function Main() {
|
export default function Main() {
|
||||||
|
Loading…
Reference in New Issue
Block a user