Commit Graph

10 Commits

Author SHA1 Message Date
Philip Abernethy
c15e9cd5e4 Disallow quotas for unprivileged containers
Disables the quota checkbox for unprivileged containers in the creation
wizard, as well as when editing or adding mountpoints.
2017-09-12 09:34:48 +02:00
Dominik Csapak
ba93a9c665 move onlineHelp into classes from definition
this patch moves the onlineHelp ids into the javascript classes, instead
of defining them where we use the classes

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-11-02 17:13:12 +01:00
Dietmar Maurer
92b5029f60 LXC GUI: Wizard now uses new 'cores' option instead of cpulimit 2016-10-29 11:05:16 +02:00
Fabian Grünbichler
203fd3488f lxc: correctly display cpulimit
the backend defaults to 0 (unlimited), so this should also be the default
in the GUI if nothing is set.
2016-09-16 06:58:27 +02:00
Dominik Csapak
597fd1b4e3 reload lxc resources also on activate
in a previous commit (26c5aba0) we changed the reload
from the activate event to afterrender, because
activate will not be fired as a lazyitem

but this only fires once, so we also reload on activate.
with the lazyitem/tabchange fix from a previous commit,
this has now the correct behaviour

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-07-07 08:09:53 +02:00
Dietmar Maurer
16152937f8 reduce translation overhead 2016-04-04 16:59:52 +02:00
Dominik Csapak
26c5aba03e ext6migrate: fix lxc resource view
after making the resource view lazy
the activate event does not trigger everytime
(where we reload)
so we make it the afterrender event

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-03-18 16:09:04 +01:00
Emmanuel Kasper
4b4885652c load/reload stores of tabpanel children on 'activate' event 2016-03-09 18:01:55 +01:00
Emmanuel Kasper
f799361886 do not use applyIf when adding items in initComponent()
our parent class Ext.grid.GridPanel sets 'tbar: null'
and Ext.applyIf() will only apply our property
if it is undefined, so switch to Ext.apply()

it is safe to use Ext.apply() because none of these classes is further extended,
so we don't have to worry that might me might override a toolbar
set further down by a child class

this fixes allows the panel to display its top toolbar with add/edit buttons
2016-03-04 06:17:33 +01:00
Dietmar Maurer
c7ee0c11ac copy lxc/Resources.js from manager to manager6 2016-03-03 10:51:31 +01:00