mirror of
git://git.proxmox.com/git/proxmox-backup.git
synced 2025-01-20 14:03:53 +03:00
e0dfdd143c
Set `supportsWipeDisk` to true to enables the wipe button in the web UI. The entry for override_task_descriptions is copied from pve-manager. Signed-off-by: Markus Frank <m.frank@proxmox.com> Reviewed-by: Lukas Wagner <l.wagner@proxmox.com> Tested-by: Lukas Wagner <l.wagner@proxmox.com> Reviewed-by: Max Carrara <m.carrara@proxmox.com> Tested-by: Max Carrara <m.carrara@proxmox.com>
40 lines
797 B
JavaScript
40 lines
797 B
JavaScript
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'),
|
|
includePartitions: true,
|
|
supportsWipeDisk: true,
|
|
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',
|
|
},
|
|
],
|
|
|
|
});
|