From fa7cb087e8bb0689958066438ef593e2c507b6f8 Mon Sep 17 00:00:00 2001 From: snoop Date: Mon, 24 Jul 2017 17:32:21 +0900 Subject: [PATCH] added sensor --- src/ts/@overflow/app/views/App.tsx | 2 + .../@overflow/app/views/layout/AppLayout.tsx | 2 + .../app/views/layout/SensorDetailLayout.tsx | 54 +++++++++++++++++++ 3 files changed, 58 insertions(+) create mode 100644 src/ts/@overflow/app/views/layout/SensorDetailLayout.tsx diff --git a/src/ts/@overflow/app/views/App.tsx b/src/ts/@overflow/app/views/App.tsx index f7ec3e9..a530a8c 100644 --- a/src/ts/@overflow/app/views/App.tsx +++ b/src/ts/@overflow/app/views/App.tsx @@ -3,6 +3,7 @@ import { Route, Switch } from 'react-router-dom'; import AccountLayout from './layout/AccountLayout'; import ProbeDetailLayout from './layout/ProbeDetailLayout'; +import SensorDetailLayout from './layout/SensorDetailLayout'; import AppLayout from './layout/AppLayout'; import ErrorLayout from './layout/ErrorLayout'; @@ -27,6 +28,7 @@ class App extends React.Component { + ); diff --git a/src/ts/@overflow/app/views/layout/AppLayout.tsx b/src/ts/@overflow/app/views/layout/AppLayout.tsx index 1dc0363..65628b2 100644 --- a/src/ts/@overflow/app/views/layout/AppLayout.tsx +++ b/src/ts/@overflow/app/views/layout/AppLayout.tsx @@ -8,6 +8,7 @@ import LeftMenu from './LeftMenu'; import Home from '../Home'; import ProbeList from '../../views/monitoring/probe/List'; +import SensorList from '../monitoring/sensor/List'; export interface Props extends RouteComponentProps { } @@ -40,6 +41,7 @@ export class AppLayout extends React.Component { +