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