Commit Graph

14 Commits

Author SHA1 Message Date
Dominik Csapak
bf96f60deb use IntegerField from widget toolkit
there we implemented deleteEmpty, which we can use in some cases.
this also fixes a bug in the ControllerSelector where
an empty field would be allowed (but should not)

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Reviewed-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-01-25 13:36:37 +01:00
Emmanuel Kasper
b9628aa501 Do not translate IT terms which should be used 'as is' in every language
for 'Initialize GPT' we use the alternate 'Initialize Disk with GPT' string
which was already existing
2017-03-02 10:39:41 +01:00
Emmanuel Kasper
0a3cf3d482 Use the enabled/disabled toggler to render grid options
Allows getting rid of multiple "Enable foobar" gettext strings in
LXC and Firewall option panels.
2017-01-24 08:54:58 +01:00
Emmanuel Kasper
6eb2141a78 Add online help for start/shutdown for containers 2016-12-06 06:53:59 +01:00
Emmanuel Kasper
a979c78da0 Remove last extra comma
also whitespace / indent cleanup
2016-12-02 11:26:48 +01:00
Emmanuel Kasper
a97bc80075 Add the possibility to create an unprivileged container at creation time in the GUI.
The setting is afterwards displayed as a read only option in the option time
2016-11-30 17:29:05 +01:00
Dominik Csapak
8a7e5598f1 add pveIntegerField and use it
this adds a subclass of Ext.form.field.Number with the settings for
Integers (allowDecimals: false and allowExponential: false and default
step size 1)

and use it where we only accept integers

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-11-02 17:14:06 +01: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
Emmanuel Kasper
3c813f7416 Enlarge Object Grid first column default size
The framework value of 100 is not enough for many of our description
fields.
Setting this at the parent component level allow to remove
the end component setting.
2016-05-17 11:33:34 +02:00
Dietmar Maurer
16152937f8 reduce translation overhead 2016-04-04 16:59:52 +02:00
Emmanuel Kasper
4b4885652c load/reload stores of tabpanel children on 'activate' event 2016-03-09 18:01:55 +01:00
Emmanuel Kasper
c9d05dc8bb fix lxc console selection ComboBox for extjs6
reasoning identic to

commit 8f8e8a2e06
adapt KVComboBoxes to pass store items using 'comboItems' parameter

commit f2782813cd
ext6migrate fix model behaviour for KVComboBox
2016-03-09 18:01:39 +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
d6cae26a4b copy lxc/Options.js from manager to manager6 2016-03-03 10:51:31 +01:00