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>
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>
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>
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>
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>
This fixes the bug: https://bugzilla.proxmox.com/show_bug.cgi?id=677
Remarks:
* allowBlank is already set in the class definition
* The value of the comboBox can be either '' after the component initial
load, or 'null' if the user selected a macro and cleans the field afterwards.
This is the reason of the if (!value) test which will catch empty strings and
null.
We're replacing the use of 'find' in the backup code for
various reasons, so we cannot use find-specific options
anymore. Besides, it's up to the plugin to create the
archive and there's no guarantee using 'find' even makes
sense. Even in the current code it's not being used when
hitting the rsync case anyway.
Now using simple glob patterns as that is more widely
supported.
It's possible to create 802.1ad vlan interfaces (for QinQ)
like
ip link add link eth0 eth0.100 type vlan proto 802.1ad id 100
So,we want to be able to use them in bridge vlan aware (802.1q)
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
as we assume the default to 'enabled' when state isn't explicitly
set, use this default when editing a resource.
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This fix is essential of cause json field changes in the ceph api.
They change the field size in pool to max_avail
and the field total_size in stats to total_max_avail
These added dependencies let you execute `make install` repeatedly,
whitout using `make clean` in between.
Without it make autodeleted the %.1.pod and %.8.pod files as the
install target doesn't declare a dependency although it needs them.
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>