templayout

This commit is contained in:
insanity 2017-07-21 16:58:25 +09:00
parent 547fc2a84b
commit c54dbd7d33

View File

@ -33,6 +33,7 @@ export class AppLayout extends React.Component<Props, State> {
public render(): JSX.Element {
return (
<Switch>
<Container fluid>
<LeftMenu />
<Segment vertical style={{ margin: '0 0 0 210px', padding: '0' }}>
@ -40,13 +41,13 @@ export class AppLayout extends React.Component<Props, State> {
<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}/sensor_list`} component={SensorList} />
<Route exact path={`${this.props.match.url}/sensor_setup`} component={SensorSetup} />
<Footer />
</Segment>
</Container >
</Switch>
);
}
}