introduce basic system status page

This commit is contained in:
Rick Watson
2019-05-27 00:04:29 +01:00
parent 218904ed88
commit b11c508d77
8 changed files with 210 additions and 9 deletions

View File

@ -7,6 +7,7 @@ import Tab from '@material-ui/core/Tab';
import AuthenticatedRoute from '../authentication/AuthenticatedRoute';
import MenuAppBar from '../components/MenuAppBar';
import OTASettings from '../containers/OTASettings';
import SystemStatus from '../containers/SystemStatus';
class System extends Component {
@ -22,7 +23,7 @@ class System extends Component {
<Tab value="/system/ota" label="OTA Settings" />
</Tabs>
<Switch>
<AuthenticatedRoute exact={true} path="/system/status" component={OTASettings} />
<AuthenticatedRoute exact={true} path="/system/status" component={SystemStatus} />
<AuthenticatedRoute exact={true} path="/system/ota" component={OTASettings} />
<Redirect to="/system/status" />
</Switch>