ui: add DiskList and DirectoryList

this also contains an adapted CreateDirectory window
for now this is mostly copied, since refactoring was not that
straightforward (changed parameters, etc.)

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
Dominik Csapak
2020-06-16 11:13:34 +02:00
committed by Dietmar Maurer
parent fb5a066500
commit 7f17f7444a
4 changed files with 157 additions and 1 deletions

View File

@ -54,7 +54,24 @@ Ext.define('PBS.store.NavigationStore', {
text: gettext('Administration'),
iconCls: 'fa fa-wrench',
path: 'pbsServerAdministration',
leaf: true
expanded: true,
leaf: false,
children: [
{
text: gettext('Disks'),
iconCls: 'fa fa-hdd-o',
path: 'pmxDiskList',
leaf: false,
children: [
{
text: Proxmox.Utils.directoryText,
iconCls: 'fa fa-folder',
path: 'pbsDirectoryList',
leaf: true,
},
]
}
]
},
{
text: gettext('Data Store'),