]>
git.proxmox.com Git - pmg-gui.git/blob - js/NavigationTree.js
1 Ext
.define('PMG.store.NavigationStore', {
2 extend
: 'Ext.data.TreeStore',
4 storeId
: 'NavigationStore',
10 text
: gettext('Dashboard'),
11 iconCls
: 'fa fa-tachometer',
16 text
: gettext('Mail Filter'),
17 iconCls
: 'fa fa-envelope',
18 path
: 'pmgRuleConfiguration',
22 text
: gettext('Action Objects'),
23 iconCls
: 'fa fa-flag',
24 path
: 'pmgActionList',
28 text
: gettext('Who Objects'),
29 iconCls
: 'fa fa-user-circle',
30 path
: 'pmgWhoConfiguration',
34 text
: gettext('What Objects'),
35 iconCls
: 'fa fa-cube',
36 path
: 'pmgWhatConfiguration',
40 text
: gettext('When Objects'),
41 iconCls
: 'fa fa-clock-o',
42 path
: 'pmgWhenConfiguration',
48 text
: gettext('Configuration'),
49 iconCls
: 'fa fa-gears',
50 path
: 'pmgSystemConfiguration',
54 text
: gettext('Mail Proxy'),
55 iconCls
: 'fa fa-envelope-o',
56 path
: 'pmgMailProxyConfiguration',
60 text
: gettext('Spam Detector'),
61 iconCls
: 'fa fa-bullhorn',
62 path
: 'pmgSpamDetectorConfiguration',
66 text
: gettext('Virus Detector'),
68 path
: 'pmgVirusDetectorConfiguration',
72 text
: gettext('User Management'),
73 iconCls
: 'fa fa-users',
74 path
: 'pmgUserManagement',
78 text
: gettext('Cluster'),
79 iconCls
: 'fa fa-server',
84 text
: gettext('License'),
85 iconCls
: 'fa fa-ticket',
92 text
: gettext('Administration'),
93 iconCls
: 'fa fa-wrench',
94 path
: 'pmgServerAdministration',
98 text
: gettext('Statistics'),
99 iconCls
: 'fa fa-bar-chart',
100 path
: 'pmgStatistics',
104 text
: gettext('Quarantine'),
105 iconCls
: 'fa fa-cubes',
106 path
: 'pmgQuarantine',
110 text
: gettext('Tracking Center'),
111 iconCls
: 'fa fa-map-o',
112 path
: 'pmgTrackingCenter',
116 text
: gettext('Queues'),
117 iconCls
: 'fa fa-bars',
118 path
: 'pmgQueueAdministration',
127 Ext
.define('PMG.view.main.NavigationTree', {
128 extend
: 'Ext.list.Tree',
129 xtype
: 'navigationtree',
131 select: function(path
) {
133 var item
= me
.getStore().findRecord('path', path
, 0, false, true, true);
134 me
.setSelection(item
);
139 expanderFirst
: false,
140 store
: 'NavigationStore',