]>
git.proxmox.com Git - proxmox-backup.git/blob - www/NavigationTree.js
1 Ext
.define('PBS.store.NavigationStore', {
2 extend
: 'Ext.data.TreeStore',
4 storeId
: 'NavigationStore',
10 text
: gettext('Dashboard'),
11 iconCls
: 'fa fa-tachometer',
16 text
: gettext('Configuration'),
17 iconCls
: 'fa fa-gears',
18 path
: 'pbsSystemConfiguration',
22 text
: gettext('Data Store'),
23 iconCls
: 'fa fa-envelope-o',
24 path
: 'pbsDataStoreConfig',
28 text
: gettext('Subscription'),
29 iconCls
: 'fa fa-support',
30 path
: 'pbsSubscription',
36 text
: gettext('Administration'),
37 iconCls
: 'fa fa-wrench',
38 path
: 'pbsServerAdministration',
45 Ext
.define('PBS.view.main.NavigationTree', {
46 extend
: 'Ext.list.Tree',
47 xtype
: 'navigationtree',
49 select: function(path
) {
51 var item
= me
.getStore().findRecord('path', path
, 0, false, true, true);
52 me
.setSelection(item
);
58 store
: 'NavigationStore',