From 62e834802dae0bd15504785503060d7875c7b4ad Mon Sep 17 00:00:00 2001
From: Herbert Eiselt <herbert.eiselt@highstreet-technologies.com>
Date: Thu, 28 Mar 2019 19:00:35 +0100
Subject: Add SDN-R odlux performance

A UI displaying performance monitoring data

Change-Id: I2a9c28549aee1bcac366354c343a63f884bf09e0
Issue-ID: SDNC-585
Signed-off-by: Herbert Eiselt <herbert.eiselt@highstreet-technologies.com>
---
 sdnr/wt/odlux/framework/src/views/frame.tsx | 12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

(limited to 'sdnr/wt/odlux/framework/src/views/frame.tsx')

diff --git a/sdnr/wt/odlux/framework/src/views/frame.tsx b/sdnr/wt/odlux/framework/src/views/frame.tsx
index fd943319d..69b981bb3 100644
--- a/sdnr/wt/odlux/framework/src/views/frame.tsx
+++ b/sdnr/wt/odlux/framework/src/views/frame.tsx
@@ -13,6 +13,7 @@ import SnackDisplay from '../components/material-ui/snackDisplay';
 import Home from '../views/home';
 import Login from '../views/login';
 import About from '../views/about';
+import Test from '../views/test';
 
 import applicationService from '../services/applicationManager';
 import { SnackbarProvider } from 'notistack';
@@ -28,7 +29,7 @@ const styles = (theme: Theme) => createStyles({
   },
   content: {
     flexGrow: 1,
-    display: "flex", 
+    display: "flex",
     flexDirection: "column",
     backgroundColor: theme.palette.background.default,
     padding: theme.spacing.unit * 3,
@@ -59,7 +60,12 @@ export const Frame = withStyles(styles)(({ classes }: WithStyles<typeof styles>)
                 <AppFrame title={ "About" } icon={ faAddressBook } >
                   <About />
                 </AppFrame>
-              ) } />
+              )} />
+              { process.env.NODE_ENV === "development" ? <Route path="/test" component={() => (
+                <AppFrame title={"Test"} icon={faAddressBook} >
+                  <Test />
+                </AppFrame>
+              )} /> : null}
               <Route path="/login" component={ () => (
                 <AppFrame title={ "Login" } icon={ faSignInAlt } >
                   <Login />
@@ -82,4 +88,4 @@ export const Frame = withStyles(styles)(({ classes }: WithStyles<typeof styles>)
   );
 });
 
-export default Frame; 
+export default Frame;
-- 
cgit 1.2.3-korg

