]>
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('Statistics'),
99 iconCls
: 'fa fa-bar-chart',
101 path
: 'pmgGeneralMailStatistics',
105 text
: gettext('Spam Scores'),
106 path
: 'pmgSpamScoreDistribution',
111 text
: gettext('Virus Charts'),
112 path
: 'pmgVirusCharts',
119 text
: gettext('Quarantine'),
120 iconCls
: 'fa fa-cubes',
121 path
: 'pmgSpamQuarantine',
125 text
: gettext('Tracking Center'),
126 iconCls
: 'fa fa-map-o',
127 path
: 'pmgTrackingCenter',
131 text
: gettext('Queues'),
132 iconCls
: 'fa fa-bars',
133 path
: 'pmgQueueAdministration',
142 Ext
.define('PMG.view.main.NavigationTree', {
143 extend
: 'Ext.list.Tree',
144 xtype
: 'navigationtree',
146 select: function(path
) {
148 var item
= me
.getStore().findRecord('path', path
, 0, false, true, true);
149 me
.setSelection(item
);
154 expanderFirst
: false,
155 store
: 'NavigationStore',