]>
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('Configuration'),
11 iconCls
: 'fa fa-gears',
12 path
: 'pbsSystemConfiguration',
16 text
: gettext('Data Store'),
17 iconCls
: 'fa fa-envelope-o',
18 path
: 'pbsDataStoreConfig',
22 text
: gettext('Subscription'),
23 iconCls
: 'fa fa-support',
24 path
: 'pbsSubscription',
30 text
: gettext('Administration'),
31 iconCls
: 'fa fa-wrench',
32 path
: 'pbsServerAdministration',
39 Ext
.define('PBS.view.main.NavigationTree', {
40 extend
: 'Ext.list.Tree',
41 xtype
: 'navigationtree',
43 select: function(path
) {
45 var item
= me
.getStore().findRecord('path', path
, 0, false, true, true);
46 me
.setSelection(item
);
52 store
: 'NavigationStore',