templayout
This commit is contained in:
parent
547fc2a84b
commit
c54dbd7d33
|
@ -33,20 +33,21 @@ export class AppLayout extends React.Component<Props, State> {
|
||||||
|
|
||||||
public render(): JSX.Element {
|
public render(): JSX.Element {
|
||||||
return (
|
return (
|
||||||
<Container fluid>
|
<Switch>
|
||||||
<LeftMenu />
|
<Container fluid>
|
||||||
<Segment vertical style={{ margin: '0 0 0 210px', padding: '0' }}>
|
<LeftMenu />
|
||||||
<Header />
|
<Segment vertical style={{ margin: '0 0 0 210px', padding: '0' }}>
|
||||||
|
<Header />
|
||||||
|
|
||||||
<Route exact path={`${this.props.match.url}/probe`} component={ProbeList} />
|
<Route exact path={`${this.props.match.url}/probe`} component={ProbeList} />
|
||||||
<Route exact path={`${this.props.match.url}/probe/:id`} component={ProbeDetail} />
|
<Route exact path={`${this.props.match.url}/probe/:id`} component={ProbeDetail} />
|
||||||
<Route path={`${this.props.match.url}/probe`} component={ProbeList} />
|
<Route exact path={`${this.props.match.url}/sensor_list`} component={SensorList} />
|
||||||
<Route path={`${this.props.match.url}/sensor_list`} component={SensorList} />
|
<Route exact path={`${this.props.match.url}/sensor_setup`} component={SensorSetup} />
|
||||||
<Route path={`${this.props.match.url}/sensor_setup`} component={SensorSetup} />
|
|
||||||
|
|
||||||
<Footer />
|
<Footer />
|
||||||
</Segment>
|
</Segment>
|
||||||
</Container >
|
</Container >
|
||||||
|
</Switch>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user