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 {
|
||||
return (
|
||||
<Container fluid>
|
||||
<LeftMenu />
|
||||
<Segment vertical style={{ margin: '0 0 0 210px', padding: '0' }}>
|
||||
<Header />
|
||||
<Switch>
|
||||
<Container fluid>
|
||||
<LeftMenu />
|
||||
<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/:id`} component={ProbeDetail} />
|
||||
<Route path={`${this.props.match.url}/probe`} component={ProbeList} />
|
||||
<Route path={`${this.props.match.url}/sensor_list`} component={SensorList} />
|
||||
<Route path={`${this.props.match.url}/sensor_setup`} component={SensorSetup} />
|
||||
<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}/sensor_list`} component={SensorList} />
|
||||
<Route exact path={`${this.props.match.url}/sensor_setup`} component={SensorSetup} />
|
||||
|
||||
<Footer />
|
||||
</Segment>
|
||||
</Container >
|
||||
<Footer />
|
||||
</Segment>
|
||||
</Container >
|
||||
</Switch>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user