-
Notifications
You must be signed in to change notification settings - Fork 2
/
NavigationTree.js
140 lines (136 loc) · 4.4 KB
/
NavigationTree.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
Ext.define('Admin.store.NavigationTree', {
extend: 'Ext.data.TreeStore',
storeId: 'NavigationTree',
root: {
expanded: true,
children: [
{
text: 'Dashboard',
view: 'dashboard.Dashboard',
leaf: true,
iconCls: 'right-icon new-icon x-fa fa-desktop',
routeId: 'dashboard'
},
{
text: 'Email',
view: 'email.Email',
iconCls: 'right-icon hot-icon x-fa fa-send ',
leaf: true,
routeId: 'email'
},
{
text: 'Profile',
view: 'profile.UserProfile',
leaf: true,
iconCls: 'x-fa fa-user',
routeId:'profile'
},
{
text: 'GeoExt 3',
view: 'geo.MapPanel',
leaf: true,
iconCls: 'x-fa fa-globe',
routeId:'map'
},
{
text: 'Search results',
view: 'search.Results',
leaf: true,
iconCls: 'x-fa fa-search',
routeId:'search'
},
{
text: 'FAQ',
view: 'pages.FAQ',
leaf: true,
iconCls: 'x-fa fa-question',
routeId:'faq'
},
{
text: 'Pages',
expanded: false,
selectable: false,
iconCls: 'x-fa fa-leanpub',
routeId : 'pages-parent',
id: 'pages-parent',
children: [
{
text: 'Blank Page',
view: 'pages.BlankPage',
leaf: true,
iconCls: 'x-fa fa-file-o',
routeId:'pages.blank'
},
{
text: '404 Error',
view: 'pages.Error404Window',
leaf: true,
iconCls: 'x-fa fa-exclamation-triangle',
routeId:'pages.404'
},
{
text: '500 Error',
view: 'pages.Error500Window',
leaf: true,
iconCls: 'x-fa fa-times-circle',
routeId:'pages.500'
},
{
text: 'Lock Screen',
view: 'authentication.LockScreen',
leaf: true,
iconCls: 'x-fa fa-lock',
routeId:'authentication.lockscreen'
},
{
text: 'Login',
view: 'authentication.Login',
leaf: true,
iconCls: 'x-fa fa-check',
routeId:'authentication.login'
},
{
text: 'Register',
view: 'authentication.Register',
leaf: true,
iconCls: 'x-fa fa-pencil-square-o',
routeId:'authentication.register'
},
{
text: 'Password Reset',
view: 'authentication.PasswordReset',
leaf: true,
iconCls: 'x-fa fa-lightbulb-o',
routeId:'authentication.passwordreset'
}
]
},
{
text: 'Widgets',
view: 'widgets.Widgets',
leaf: true,
iconCls: 'x-fa fa-flask',
routeId:'widgets'
},
{
text: 'Forms',
view: 'forms.Wizards',
leaf: true,
iconCls: 'x-fa fa-edit',
routeId:'forms'
},
{
text: 'Charts',
view: 'charts.Charts',
iconCls: 'x-fa fa-pie-chart',
leaf: true,
routeId:'charts'
}
]
},
fields: [
{
name: 'text'
}
]
});