From 40590561fe2c35d397539529b7428a43b224becc Mon Sep 17 00:00:00 2001 From: Dominik Csapak Date: Tue, 2 Feb 2021 14:00:37 +0100 Subject: [PATCH] ui: tape: TapeBackupWindow: add missing DriveSelector and make it a bit wider Signed-off-by: Dominik Csapak --- www/tape/window/TapeBackup.js | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/www/tape/window/TapeBackup.js b/www/tape/window/TapeBackup.js index a3ceacdc..30180146 100644 --- a/www/tape/window/TapeBackup.js +++ b/www/tape/window/TapeBackup.js @@ -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',