Added UI elements for the backup job disabling function
Added a column in the datacenter backup job overview to see if a job is enabled or not. Added checkbox to the input panel, which enables or disables a job. This closes bug/feature request 492. Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
c8653ebb08
commit
064b74ac7c
@ -180,6 +180,14 @@ Ext.define('PVE.dc.BackupEdit', {
|
||||
value: 'snapshot',
|
||||
name: 'mode'
|
||||
},
|
||||
{
|
||||
xtype: 'pvecheckbox',
|
||||
fieldLabel: gettext('Enable'),
|
||||
name: 'enabled',
|
||||
uncheckedValue: 0,
|
||||
defaultValue: 1,
|
||||
checked: true
|
||||
},
|
||||
vmidField
|
||||
];
|
||||
|
||||
@ -396,6 +404,12 @@ Ext.define('PVE.dc.BackupView', {
|
||||
edit_btn
|
||||
],
|
||||
columns: [
|
||||
{
|
||||
header: gettext('Enabled'),
|
||||
width: 50,
|
||||
dataIndex: 'enabled',
|
||||
sortable: true,
|
||||
},
|
||||
{
|
||||
header: gettext('Node'),
|
||||
width: 100,
|
||||
@ -463,6 +477,7 @@ Ext.define('PVE.dc.BackupView', {
|
||||
'id', 'starttime', 'dow',
|
||||
'storage', 'node', 'vmid', 'exclude',
|
||||
'mailto',
|
||||
{ name: 'enabled', type: 'boolean' },
|
||||
{ name: 'all', type: 'boolean' },
|
||||
{ name: 'snapshot', type: 'boolean' },
|
||||
{ name: 'stop', type: 'boolean' },
|
||||
@ -470,4 +485,4 @@ Ext.define('PVE.dc.BackupView', {
|
||||
{ name: 'compress', type: 'boolean' }
|
||||
]
|
||||
});
|
||||
});
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user