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:
parent
631e550920
commit
40590561fe
@ -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',
|
||||||
|
Loading…
Reference in New Issue
Block a user