ui: move disks/directory stuff to tab panel
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
1 parent
d5f7755467
commit
ee0ab12dd0
5 files changed
+49
-17
No files matched your search
@@ -0,0 +1,37 @@
|
||||
Ext.define('PBS.StorageAndDiskPanel', {
|
||||
extend: 'Ext.tab.Panel',
|
||||
alias: 'widget.pbsStorageAndDiskPanel',
|
||||
mixins: ['Proxmox.Mixin.CBind'],
|
||||
|
||||
title: gettext('Storage / Disks'),
|
||||
|
||||
tools: [PBS.Utils.get_help_tool("storage-disk-management")],
|
||||
|
||||
border: false,
|
||||
defaults: {
|
||||
border: false,
|
||||
},
|
||||
|
||||
items: [
|
||||
{
|
||||
xtype: 'pmxDiskList',
|
||||
title: gettext('Disks'),
|
||||
itemId: 'disks',
|
||||
iconCls: 'fa fa-hdd-o',
|
||||
},
|
||||
{
|
||||
xtype: 'pbsDirectoryList',
|
||||
title: Proxmox.Utils.directoryText,
|
||||
itemId: 'directorystorage',
|
||||
iconCls: 'fa fa-folder',
|
||||
},
|
||||
{
|
||||
xtype: 'pbsZFSList',
|
||||
title: "ZFS",
|
||||
nodename: 'localhost',
|
||||
iconCls: 'fa fa-th-large',
|
||||
itemId: 'zfsstorage',
|
||||
},
|
||||
],
|
||||
|
||||
});
|
||||
Reference in new issue
Block a user