]>
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',
80 path
: 'pmgClusterAdministration',
84 text
: gettext('Subscription'),
85 iconCls
: 'fa fa-support',
86 path
: 'pmgSubscription',
90 text
: gettext('Backup/Restore'),
91 iconCls
: 'fa fa-floppy-o',
92 path
: 'pmgBackupConfiguration',
96 text
: gettext('Certificates'),
97 iconCls
: 'fa fa-certificate',
98 path
: 'pmgCertificateConfiguration',
104 text
: gettext('Administration'),
105 iconCls
: 'fa fa-wrench',
106 path
: 'pmgServerAdministration',
110 text
: gettext('Spam Quarantine'),
111 iconCls
: 'fa fa-bullhorn',
112 path
: 'pmgSpamQuarantine',
116 text
: gettext('Virus Quarantine'),
117 iconCls
: 'fa fa-bug',
118 path
: 'pmgVirusQuarantine',
122 text
: gettext('Attachment Quarantine'),
123 iconCls
: 'fa fa-paperclip',
124 path
: 'pmgAttachmentQuarantine',
128 text
: gettext('User Whitelist'),
129 iconCls
: 'fa fa-file-o',
130 path
: 'pmgUserWhitelist',
134 text
: gettext('User Blacklist'),
135 iconCls
: 'fa fa-file',
136 path
: 'pmgUserBlacklist',
140 text
: gettext('Tracking Center'),
141 iconCls
: 'fa fa-map-o',
142 path
: 'pmgMailTracker',
146 text
: gettext('Queues'),
147 iconCls
: 'fa fa-bars',
148 path
: 'pmgQueueAdministration',
154 text
: gettext('Statistics'),
155 iconCls
: 'fa fa-bar-chart',
156 path
: 'pmgGeneralMailStatistics',
160 text
: gettext('Spam Scores'),
161 iconCls
: 'fa fa-table',
162 path
: 'pmgSpamScoreDistribution',
166 text
: gettext('Virus Charts'),
167 iconCls
: 'fa fa-bug',
168 path
: 'pmgVirusCharts',
172 text
: gettext('Hourly Distribution'),
173 iconCls
: 'fa fa-area-chart',
174 path
: 'pmgHourlyMailDistribution',
178 text
: gettext('Postscreen'),
179 iconCls
: 'fa fa-line-chart',
180 path
: 'pmgRBLStatistics',
184 text
: gettext('Domain'),
185 iconCls
: 'fa fa-table',
186 path
: 'pmgDomainStatistics',
190 text
: gettext('Sender'),
191 iconCls
: 'fa fa-table',
192 path
: 'pmgSenderStatistics',
196 text
: gettext('Receiver'),
197 iconCls
: 'fa fa-table',
198 path
: 'pmgReceiverStatistics',
202 text
: gettext('Contact'),
203 iconCls
: 'fa fa-table',
204 path
: 'pmgContactStatistics',
213 Ext
.define('PMG.view.main.NavigationTree', {
214 extend
: 'Ext.list.Tree',
215 xtype
: 'navigationtree',
217 select: function(path
) {
219 var item
= me
.getStore().findRecord('path', path
, 0, false, true, true);
220 me
.setSelection(item
);
225 expanderFirst
: false,
226 store
: 'NavigationStore',