]>
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('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('Tracking Center'),
105 iconCls
: 'fa fa-map-o',
106 path
: 'pmgTrackingCenter',
110 text
: gettext('Queues'),
111 iconCls
: 'fa fa-bars',
112 path
: 'pmgQueueAdministration',
118 text
: gettext('Statistics'),
119 iconCls
: 'fa fa-bar-chart',
121 path
: 'pmgGeneralMailStatistics',
125 text
: gettext('Spam Scores'),
126 iconCls
: 'fa fa-table',
127 path
: 'pmgSpamScoreDistribution',
132 text
: gettext('Virus Charts'),
133 iconCls
: 'fa fa-bug',
134 path
: 'pmgVirusCharts',
139 text
: gettext('Hourly Distribution'),
140 iconCls
: 'fa fa-area-chart',
141 path
: 'pmgHourlyMailDistribution',
146 text
: gettext('RBL'),
147 iconCls
: 'fa fa-line-chart',
148 path
: 'pmgRBLStatistics',
153 text
: gettext('Domain'),
154 iconCls
: 'fa fa-table',
155 path
: 'pmgDomainStatistics',
160 text
: gettext('Sender'),
161 iconCls
: 'fa fa-table',
162 path
: 'pmgSenderStatistics',
167 text
: gettext('Receiver'),
168 iconCls
: 'fa fa-table',
169 path
: 'pmgReceiverStatistics',
174 text
: gettext('Contact'),
175 iconCls
: 'fa fa-table',
176 path
: 'pmgContactStatistics',
186 Ext
.define('PMG.view.main.NavigationTree', {
187 extend
: 'Ext.list.Tree',
188 xtype
: 'navigationtree',
190 select: function(path
) {
192 var item
= me
.getStore().findRecord('path', path
, 0, false, true, true);
193 me
.setSelection(item
);
198 expanderFirst
: false,
199 store
: 'NavigationStore',