]>
git.proxmox.com Git - pmg-gui.git/blob - js/NavigationTree.js
4298dabe566511577017e8f2a4c4465d5d05eb81
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',
80 path
: 'pmgClusterAdministration',
84 text
: gettext('License'),
85 iconCls
: 'fa fa-ticket',
92 text
: gettext('Administration'),
93 iconCls
: 'fa fa-wrench',
94 path
: 'pmgServerAdministration',
98 text
: gettext('Quarantine'),
99 iconCls
: 'fa fa-cubes',
100 path
: 'pmgSpamQuarantine',
104 text
: gettext('User Whitelist'),
105 iconCls
: 'fa fa-file-o',
106 path
: 'pmgUserWhitelist',
110 text
: gettext('User Blacklist'),
111 iconCls
: 'fa fa-file',
112 path
: 'pmgUserBlacklist',
116 text
: gettext('Tracking Center'),
117 iconCls
: 'fa fa-map-o',
118 path
: 'pmgTrackingCenter',
122 text
: gettext('Queues'),
123 iconCls
: 'fa fa-bars',
124 path
: 'pmgQueueAdministration',
130 text
: gettext('Statistics'),
131 iconCls
: 'fa fa-bar-chart',
132 path
: 'pmgGeneralMailStatistics',
136 text
: gettext('Spam Scores'),
137 iconCls
: 'fa fa-table',
138 path
: 'pmgSpamScoreDistribution',
142 text
: gettext('Virus Charts'),
143 iconCls
: 'fa fa-bug',
144 path
: 'pmgVirusCharts',
148 text
: gettext('Hourly Distribution'),
149 iconCls
: 'fa fa-area-chart',
150 path
: 'pmgHourlyMailDistribution',
154 text
: gettext('RBL'),
155 iconCls
: 'fa fa-line-chart',
156 path
: 'pmgRBLStatistics',
160 text
: gettext('Domain'),
161 iconCls
: 'fa fa-table',
162 path
: 'pmgDomainStatistics',
166 text
: gettext('Sender'),
167 iconCls
: 'fa fa-table',
168 path
: 'pmgSenderStatistics',
172 text
: gettext('Receiver'),
173 iconCls
: 'fa fa-table',
174 path
: 'pmgReceiverStatistics',
178 text
: gettext('Contact'),
179 iconCls
: 'fa fa-table',
180 path
: 'pmgContactStatistics',
189 Ext
.define('PMG.view.main.NavigationTree', {
190 extend
: 'Ext.list.Tree',
191 xtype
: 'navigationtree',
193 select: function(path
) {
195 var item
= me
.getStore().findRecord('path', path
, 0, false, true, true);
196 me
.setSelection(item
);
201 expanderFirst
: false,
202 store
: 'NavigationStore',