Fixed npm packages version and cleanup useless code.
[src/xds/xds-agent.git] / webapp / src / app / pages / pages-menu.ts
1 /**
2 * @license
3 * Copyright (C) 2017 "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 "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: 'Projects',
52     icon: 'nb-keypad',
53     link: '/pages/projects',
54   },
55   {
56     title: 'SDKs',
57     icon: 'fa fa-file-archive-o',
58     link: '/pages/sdks',
59   },
60   {
61     title: 'Boards',
62     icon: 'fa fa-microchip',
63     children: [
64     ],
65   },
66   {
67     title: 'Build',
68     icon: 'fa fa-cogs',
69     link: '/pages/build',
70   },
71   {
72     title: 'MISC',
73     group: true,
74   },
75
76   {
77     title: 'Configuration',
78     icon: 'fa fa-sliders',
79     link: '/pages/config',
80     children: [
81       {
82         title: 'Global',
83         link: '/pages/config/global',
84       },
85       {
86         title: 'XDS Server',
87         link: '/pages/config/xds',
88       },
89     ],
90   },
91   {
92     title: 'Auth',
93     icon: 'nb-locked',
94     children: [
95       {
96         title: 'Login',
97         link: '/auth/login',
98       },
99       {
100         title: 'Register',
101         link: '/auth/register',
102       },
103       {
104         title: 'Request Password',
105         link: '/auth/request-password',
106       },
107       {
108         title: 'Reset Password',
109         link: '/auth/reset-password',
110       },
111     ],
112   },
113 ];