ui: tape: TapeBackupWindow: add missing DriveSelector

and make it a bit wider

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
Dominik Csapak 2021-02-02 14:00:37 +01:00 committed by Dietmar Maurer
parent 631e550920
commit 40590561fe

View File

@ -2,12 +2,17 @@ Ext.define('PBS.TapeManagement.TapeBackupWindow', {
extend: 'Proxmox.window.Edit', extend: 'Proxmox.window.Edit',
alias: 'pbsTapeBackupWindow', alias: 'pbsTapeBackupWindow',
width: 400,
subject: gettext('Backup'), subject: gettext('Backup'),
url: '/api2/extjs/tape/backup', url: '/api2/extjs/tape/backup',
method: 'POST', method: 'POST',
showTaskViewer: true, showTaskViewer: true,
isCreate: true, isCreate: true,
defaults: {
labelWidth: 120,
},
items: [ items: [
{ {
xtype: 'pbsDataStoreSelector', xtype: 'pbsDataStoreSelector',
@ -19,6 +24,11 @@ Ext.define('PBS.TapeManagement.TapeBackupWindow', {
fieldLabel: gettext('Media Pool'), fieldLabel: gettext('Media Pool'),
name: 'pool', name: 'pool',
}, },
{
xtype: 'pbsDriveSelector',
fieldLabel: gettext('Drive'),
name: 'drive',
},
{ {
xtype: 'proxmoxcheckbox', xtype: 'proxmoxcheckbox',
name: 'export-media-set', name: 'export-media-set',