mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-07-20 06:58:09 +00:00
ui: bulk shutdown: expose new timeout and force-stop to user
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
7be0f644b3
commit
a75bace1f4
@ -106,6 +106,26 @@ Ext.define('PVE.window.BulkAction', {
|
|||||||
name: 'force',
|
name: 'force',
|
||||||
value: 1,
|
value: 1,
|
||||||
});
|
});
|
||||||
|
} else if (me.action === 'stopall') {
|
||||||
|
items.push(
|
||||||
|
{
|
||||||
|
xtype: 'proxmoxcheckbox',
|
||||||
|
name: 'force-stop',
|
||||||
|
fieldLabel: gettext('Force Stop'),
|
||||||
|
boxLabel: gettext('Force stop guest if shutdown times out.'),
|
||||||
|
checked: true,
|
||||||
|
uncheckedValue: 0,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
xtype: 'proxmoxintegerfield',
|
||||||
|
name: 'timeout',
|
||||||
|
fieldLabel: gettext('Timeout (s)'),
|
||||||
|
emptyText: '180',
|
||||||
|
minValue: 0,
|
||||||
|
maxValue: 7200,
|
||||||
|
allowBlank: true,
|
||||||
|
},
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
items.push({
|
items.push({
|
||||||
@ -138,7 +158,7 @@ Ext.define('PVE.window.BulkAction', {
|
|||||||
align: 'stretch',
|
align: 'stretch',
|
||||||
},
|
},
|
||||||
fieldDefaults: {
|
fieldDefaults: {
|
||||||
labelWidth: 300,
|
labelWidth: me.action === 'migrateall' ? 300 : 120,
|
||||||
anchor: '100%',
|
anchor: '100%',
|
||||||
},
|
},
|
||||||
items: items,
|
items: items,
|
||||||
|
Loading…
Reference in New Issue
Block a user