86884bcde61b084adeb966a96fc495fd6b6f2d6a
[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: '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     children: [
61       {
62         title: 'SDKs Management',
63         link: '/pages/sdks/management',
64       },
65     ],
66     */
67   },
68   {
69     title: 'Targets',
70     icon: 'fa fa-microchip',
71     link: '/pages/targets',
72     children: [
73       {
74         title: 'List',
75         link: '/pages/targets/list',
76       },
77       {
78         title: 'Terminal',
79         link: '/pages/targets/term',
80       },
81     ],
82   },
83   {
84     title: 'Build',
85     icon: 'fa fa-cogs',
86     link: '/pages/build',
87   },
88   {
89     title: 'MISC',
90     group: true,
91   },
92
93   {
94     title: 'Configuration',
95     icon: 'fa fa-sliders',
96     link: '/pages/config',
97     children: [
98       {
99         title: 'Global',
100         link: '/pages/config/global',
101       },
102       {
103         title: 'XDS Server',
104         link: '/pages/config/xds',
105       },
106     ],
107   },
108   {
109     title: 'Auth',
110     icon: 'nb-locked',
111     children: [
112       {
113         title: 'Login',
114         link: '/auth/login',
115       },
116       {
117         title: 'Register',
118         link: '/auth/register',
119       },
120       {
121         title: 'Request Password',
122         link: '/auth/request-password',
123       },
124       {
125         title: 'Reset Password',
126         link: '/auth/reset-password',
127       },
128     ],
129   },
130 ];