Added Supervision/Monitoring support
[src/xds/xds-agent.git] / webapp / src / app / pages / pages-menu.ts
1 /**
2 * @license
3 * Copyright (C) 2017-2018 "IoT.bzh"
4 * Author Sebastien Douheret <sebastien@iot.bzh>
5 *
6 * Licensed under the Apache License, Version 2.0 (the "License");
7 * you may not use this file except in compliance with the License.
8 * You may obtain a copy of the License at
9 *
10 *   http://www.apache.org/licenses/LICENSE-2.0
11 *
12 * Unless required by applicable law or agreed to in writing, software
13 * distributed under the License is distributed on an "AS IS" BASIS,
14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 * See the License for the specific language governing permissions and
16 * limitations under the License.
17 */
18
19 /**
20 * @license
21 * Copyright (C) 2017-2018 "IoT.bzh"
22 * Author Sebastien Douheret <sebastien@iot.bzh>
23 *
24 * Licensed under the Apache License, Version 2.0 (the "License");
25 * you may not use this file except in compliance with the License.
26 * You may obtain a copy of the License at
27 *
28 *   http://www.apache.org/licenses/LICENSE-2.0
29 *
30 * Unless required by applicable law or agreed to in writing, software
31 * distributed under the License is distributed on an "AS IS" BASIS,
32 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
33 * See the License for the specific language governing permissions and
34 * limitations under the License.
35 */
36
37 import { NbMenuItem } from '@nebular/theme';
38
39 export const MENU_ITEMS: NbMenuItem[] = [
40   {
41     title: 'XDS-Dashboard',
42     icon: 'nb-home',
43     link: '/pages/dashboard',
44     home: true,
45   },
46   {
47     title: 'DEVELOPMENT',
48     group: true,
49   },
50   {
51     title: 'SDKs',
52     icon: 'fa fa-file-archive-o',
53     link: '/pages/sdks',
54     /*
55     children: [
56       {
57         title: 'SDKs Management',
58         link: '/pages/sdks/management',
59       },
60     ],
61     */
62   },
63   {
64     title: 'Projects',
65     icon: 'nb-keypad',
66     link: '/pages/projects',
67   },
68   {
69     title: 'Build',
70     icon: 'fa fa-cogs',
71     link: '/pages/build',
72   },
73   {
74     title: 'Targets',
75     icon: 'fa fa-microchip',
76     link: '/pages/targets',
77     children: [
78       {
79         title: 'List',
80         link: '/pages/targets/list',
81       },
82       {
83         title: 'Terminal',
84         link: '/pages/targets/term',
85       },
86     ],
87   },
88   {
89     title: 'Supervision / Monitoring',
90     icon: 'fa fa-bar-chart',
91     link: '/pages/supervision',
92     children: [
93       {
94         title: 'Config',
95         link: '/pages/supervision/config',
96       },
97       {
98         title: 'Graph',
99         link: '/pages/supervision/graph',
100       },
101     ],
102   },
103   {
104     title: 'MISC',
105     group: true,
106   },
107
108   {
109     title: 'Configuration',
110     icon: 'fa fa-sliders',
111     link: '/pages/config',
112     children: [
113       {
114         title: 'Global',
115         link: '/pages/config/global',
116       },
117       {
118         title: 'XDS Server',
119         link: '/pages/config/xds',
120       },
121     ],
122   },
123   {
124     title: 'Auth',
125     icon: 'nb-locked',
126     children: [
127       {
128         title: 'Login',
129         link: '/auth/login',
130       },
131       {
132         title: 'Register',
133         link: '/auth/register',
134       },
135       {
136         title: 'Request Password',
137         link: '/auth/request-password',
138       },
139       {
140         title: 'Reset Password',
141         link: '/auth/reset-password',
142       },
143     ],
144   },
145 ];