Added Supervision/Monitoring support
[src/xds/xds-agent.git] / webapp / src / app / pages / pages-menu.ts
index c212179..230966d 100644 (file)
@@ -1,6 +1,6 @@
 /**
 * @license
-* Copyright (C) 2017 "IoT.bzh"
+* Copyright (C) 2017-2018 "IoT.bzh"
 * Author Sebastien Douheret <sebastien@iot.bzh>
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
@@ -18,7 +18,7 @@
 
 /**
 * @license
-* Copyright (C) 2017 "IoT.bzh"
+* Copyright (C) 2017-2018 "IoT.bzh"
 * Author Sebastien Douheret <sebastien@iot.bzh>
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
@@ -47,11 +47,6 @@ export const MENU_ITEMS: NbMenuItem[] = [
     title: 'DEVELOPMENT',
     group: true,
   },
-  {
-    title: 'Projects',
-    icon: 'nb-keypad',
-    link: '/pages/projects',
-  },
   {
     title: 'SDKs',
     icon: 'fa fa-file-archive-o',
@@ -66,16 +61,45 @@ export const MENU_ITEMS: NbMenuItem[] = [
     */
   },
   {
-    title: 'Boards',
-    icon: 'fa fa-microchip',
-    children: [
-    ],
+    title: 'Projects',
+    icon: 'nb-keypad',
+    link: '/pages/projects',
   },
   {
     title: 'Build',
     icon: 'fa fa-cogs',
     link: '/pages/build',
   },
+  {
+    title: 'Targets',
+    icon: 'fa fa-microchip',
+    link: '/pages/targets',
+    children: [
+      {
+        title: 'List',
+        link: '/pages/targets/list',
+      },
+      {
+        title: 'Terminal',
+        link: '/pages/targets/term',
+      },
+    ],
+  },
+  {
+    title: 'Supervision / Monitoring',
+    icon: 'fa fa-bar-chart',
+    link: '/pages/supervision',
+    children: [
+      {
+        title: 'Config',
+        link: '/pages/supervision/config',
+      },
+      {
+        title: 'Graph',
+        link: '/pages/supervision/graph',
+      },
+    ],
+  },
   {
     title: 'MISC',
     group: true,