Commit Graph

13 Commits

Author SHA1 Message Date
Thomas Lamprecht
3d01228a87 use new VMSummaryBase class for lxc and qemu summary
also the keys to display from the lxc config where updated as some
from OpenVZ times where used.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2015-09-24 06:51:18 +02:00
Thomas Lamprecht
53f669b13e Implement VMSummaryBase class
As the lxc and qemu summary pages share almost all the code we
implement a base class which provides the shared functionality.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2015-09-24 06:51:09 +02:00
Thomas Lamprecht
7853a5ff44 use new PVEBar instead of TitleBar
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2015-09-24 06:50:28 +02:00
Thomas Lamprecht
5b765ae8b4 add PVEBar class to provide an common menu titlebar
PVEBar inherits from Ext.TitleBar and provides an titlebar for the
PVE mobile components to reduce code reuse.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2015-09-24 06:49:32 +02:00
Thomas Lamprecht
c5e91d8e37 add Datacenter entry to menu
Add a menu entry to load the Datacenter page

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2015-09-24 06:48:06 +02:00
Thomas Lamprecht
abfdd685df add goBack function
Add function to go a step back in browsing history.
Also don't use the anim var in setActiveItem when no old appWindow
is defined, as it is undefined in this scope.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2015-09-24 06:47:50 +02:00
Thomas Lamprecht
db3f0058ed fix mobile datacenter bugs resulting from API return changes
Adapt the mobile UI code to the slightly different returned data
from the '/cluster/status/' API call.
Also sort the node list to get an consistent staying UI, this
mirrors the behaviour of the 'desktop' UI.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2015-09-21 10:39:02 +02:00
Thomas Lamprecht
617c580107 replace OpenVZ API calls in mobile UI with LXC
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2015-09-18 09:46:50 +02:00
Dan Hunsaker
f40d6ef1d3 Add suspend/resume options to the mobile web UI menus
With the new mobile interface, we need to implement UI changes in two
places.  This lets us simplify our mobile interface so it isn't cluttered
with options that mobile browsers can't easily handle, usually due to size.
This patch implements Suspend and Resume of VMs and CTs via the mobile
web UI.

Signed-off-by: Dan Hunsaker <danhunsaker@gmail.com>
2014-10-09 09:36:29 +02:00
Dietmar Maurer
f8ffb2ef7d mobile: register OpenVZ migrate page 2014-08-07 10:17:45 +02:00
Dietmar Maurer
3e30824240 mobile: improve error display 2014-08-05 09:15:14 +02:00
Dietmar Maurer
9cbd04fdd5 mobile: implement two factor auth 2014-08-05 08:57:08 +02:00
Dietmar Maurer
48295db44f add sencha touch based GUI for mobile devices 2014-08-05 08:31:17 +02:00