Added Supervision/Monitoring support
[src/xds/xds-agent.git] / webapp / src / app / pages / pages-menu.ts
index 86884bc..230966d 100644 (file)
@@ -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',
@@ -65,6 +60,16 @@ export const MENU_ITEMS: NbMenuItem[] = [
     ],
     */
   },
+  {
+    title: 'Projects',
+    icon: 'nb-keypad',
+    link: '/pages/projects',
+  },
+  {
+    title: 'Build',
+    icon: 'fa fa-cogs',
+    link: '/pages/build',
+  },
   {
     title: 'Targets',
     icon: 'fa fa-microchip',
@@ -81,9 +86,19 @@ export const MENU_ITEMS: NbMenuItem[] = [
     ],
   },
   {
-    title: 'Build',
-    icon: 'fa fa-cogs',
-    link: '/pages/build',
+    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',