71acc784a8675994a7274b2412c27930faee485d
[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   {
93     title: 'UI Features',
94     icon: 'nb-keypad',
95     link: '/pages/ui-features',
96     children: [
97       {
98         title: 'Buttons',
99         link: '/pages/ui-features/buttons',
100       },
101       {
102         title: 'Grid',
103         link: '/pages/ui-features/grid',
104       },
105       {
106         title: 'Icons',
107         link: '/pages/ui-features/icons',
108       },
109       {
110         title: 'Modals',
111         link: '/pages/ui-features/modals',
112       },
113       {
114         title: 'Typography',
115         link: '/pages/ui-features/typography',
116       },
117       {
118         title: 'Animated Searches',
119         link: '/pages/ui-features/search-fields',
120       },
121       {
122         title: 'Tabs',
123         link: '/pages/ui-features/tabs',
124       },
125     ],
126   },
127   {
128     title: 'Forms',
129     icon: 'nb-compose',
130     children: [
131       {
132         title: 'Form Inputs',
133         link: '/pages/forms/inputs',
134       },
135       {
136         title: 'Form Layouts',
137         link: '/pages/forms/layouts',
138       },
139     ],
140   },
141   {
142     title: 'Components',
143     icon: 'nb-gear',
144     children: [
145       {
146         title: 'Tree',
147         link: '/pages/components/tree',
148       }, {
149         title: 'Notifications',
150         link: '/pages/components/notifications',
151       },
152     ],
153   },
154   {
155     title: 'Maps',
156     icon: 'nb-location',
157     children: [
158       {
159         title: 'Google Maps',
160         link: '/pages/maps/gmaps',
161       },
162       {
163         title: 'Leaflet Maps',
164         link: '/pages/maps/leaflet',
165       },
166       {
167         title: 'Bubble Maps',
168         link: '/pages/maps/bubble',
169       },
170     ],
171   },
172   {
173     title: 'Charts',
174     icon: 'nb-bar-chart',
175     children: [
176       {
177         title: 'Echarts',
178         link: '/pages/charts/echarts',
179       },
180       {
181         title: 'Charts.js',
182         link: '/pages/charts/chartjs',
183       },
184       {
185         title: 'D3',
186         link: '/pages/charts/d3',
187       },
188     ],
189   },
190   {
191     title: 'Editors',
192     icon: 'nb-title',
193     children: [
194       {
195         title: 'TinyMCE',
196         link: '/pages/editors/tinymce',
197       },
198       {
199         title: 'CKEditor',
200         link: '/pages/editors/ckeditor',
201       },
202     ],
203   },
204   {
205     title: 'Tables',
206     icon: 'nb-tables',
207     children: [
208       {
209         title: 'Smart Table',
210         link: '/pages/tables/smart-table',
211       },
212     ],
213   },
214   */
215   {
216     title: 'Auth',
217     icon: 'nb-locked',
218     children: [
219       {
220         title: 'Login',
221         link: '/auth/login',
222       },
223       {
224         title: 'Register',
225         link: '/auth/register',
226       },
227       {
228         title: 'Request Password',
229         link: '/auth/request-password',
230       },
231       {
232         title: 'Reset Password',
233         link: '/auth/reset-password',
234       },
235     ],
236   },
237 ];