]> git.proxmox.com Git - pve-manager.git/commit - www/manager/openvz/CmdMenu.js
Add suspend/resume options to web UI CmdMenus
authorDan Hunsaker <danhunsaker@gmail.com>
Wed, 8 Oct 2014 23:02:07 +0000 (17:02 -0600)
committerDietmar Maurer <dietmar@proxmox.com>
Thu, 9 Oct 2014 07:25:55 +0000 (09:25 +0200)
commit47236d0a056338f2f43647458917f6a064e33c6b
tree800f5f69c90f952cf948aacbea16053e16f6d12b
parentd0f61ed0f6dc64284752a6cc9fd519609e4370a3
Add suspend/resume options to web UI CmdMenus

The PVE2 API supports suspend/resume of VMs (and now CTs), but the web UI
doesn't make these options available.  This patch adds Suspend and Resume
items to the CmdMenus of OpenVZ and QEMU guests.  I considered adding the
options to the toolbar, but since it is already pretty full, I opted
against doing so for the moment.  Perhaps the various startup options can
be combined into a dropdown menu similar to how the console options are
set up, and the various shutdown opitons combined into another.  That
would provide the necesarry space to add the Suspend and Resume options
there.

This patch also provides descriptions for Suspend and Resume tasks in the
task logs, bringing full suspend/resume support to the web GUI.

Signed-off-by: Dan Hunsaker <danhunsaker@gmail.com>
www/manager/Utils.js
www/manager/openvz/CmdMenu.js
www/manager/qemu/CmdMenu.js