mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-08-14 18:07:40 +00:00
gui: qemu: add reboot button
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
parent
fbd0335fbf
commit
c48535b16c
@ -143,6 +143,14 @@ Ext.define('PVE.qemu.Config', {
|
|||||||
},
|
},
|
||||||
menu: {
|
menu: {
|
||||||
items: [{
|
items: [{
|
||||||
|
text: gettext('Reboot'),
|
||||||
|
disabled: !caps.vms['VM.PowerMgmt'],
|
||||||
|
confirmMsg: Proxmox.Utils.format_task_description('qmreboot', vmid),
|
||||||
|
handler: function() {
|
||||||
|
vm_command("reboot");
|
||||||
|
},
|
||||||
|
iconCls: 'fa fa-refresh'
|
||||||
|
},{
|
||||||
text: gettext('Pause'),
|
text: gettext('Pause'),
|
||||||
disabled: !caps.vms['VM.PowerMgmt'],
|
disabled: !caps.vms['VM.PowerMgmt'],
|
||||||
confirmMsg: Proxmox.Utils.format_task_description('qmpause', vmid),
|
confirmMsg: Proxmox.Utils.format_task_description('qmpause', vmid),
|
||||||
|
Loading…
Reference in New Issue
Block a user