Thomas Lamprecht
4fd034b13e
ui: lxc/CreateWizard: eslint fixes and code cleanup/refactoring/modernize
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-05-19 08:45:03 +02:00
Dominic Jäger
55ee6ba132
ui: eslint: No unused or duplicate variables
...
Signed-off-by: Dominic Jäger <d.jaeger@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-05-18 15:22:05 +02:00
Thomas Lamprecht
399ffa767f
ui: eslint: enforce "dot-notation" rule
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-01-19 17:45:01 +01:00
Thomas Lamprecht
8058410f40
ui: eslint: fix various spacing related issues
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-01-19 17:39:15 +01:00
Thomas Lamprecht
f6710aac38
ui: eslint: fix trailing comma and comma related whitespaces errors
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-01-19 17:31:03 +01:00
Thomas Lamprecht
49aac03491
ui: lxc: code cleanup ssh key upload
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-11-22 10:22:10 +01:00
Thomas Lamprecht
3bbce3b8cd
drop jslint lines
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-06-06 18:11:47 +02:00
Oguz Bektas
02307282bd
unprivileged:true by default in ct creation
...
Signed-off-by: Oguz Bektas <o.bektas@proxmox.com>
2019-02-19 11:52:16 +01:00
Andrew Neitsch
4998ae6f1f
Submit pool if non-empty in lxc CreateWizard
...
The lxc CreateWizard ignores the pool setting. That makes creating
containers impossible for users who are restricted to using a pool. This
patch fixes that.
Signed-off-by: Andrew Neitsch <andrew@neitsch.ca>
2018-07-11 07:25:48 +02:00
Thomas Lamprecht
fe3d3afc67
ui/ct: add autostart-after-create checkbox to wizard
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-06-18 10:34:48 +02:00
Thomas Lamprecht
7adbc4a457
ui: declarative LXC Create
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-02-22 15:04:51 +01:00
Thomas Lamprecht
d8e3d77c15
ui: lxc/Network: set empty datachache by default when in wizard
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-02-22 15:04:51 +01:00
Thomas Lamprecht
857b97a7dc
ui: move loadSSHKeyFromFile from lxc/Create to Utils
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-02-22 15:04:51 +01:00
Thomas Lamprecht
8cbc11a70c
use TaskViewer & TaskProgress window from widget toolkit
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Reviewed-by: Dominik Csapak <d.csapak@proxmox.com>
2018-01-25 13:36:38 +01:00
Thomas Lamprecht
896c0d5019
use Checkbox from widget toolkit
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Reviewed-by: Dominik Csapak <d.csapak@proxmox.com>
2018-01-25 13:36:38 +01:00
Dominik Csapak
e7ade592e3
use Proxmox.Utils instead of PVE.Utils
...
some function are now in Proxmox.Utils instead, so we have to use that
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Reviewed-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-01-25 13:36:38 +01:00
Dominik Csapak
dbed4c1c05
use TextField from proxmox-widget-toolkit
...
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
Dominik Csapak
234d2e37b7
use DiskStorageSelector in lxc/MPEdit.js
...
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-11-14 13:27:03 +01:00
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
Philip Abernethy
fd776fca18
Whitespace and typo fix
2017-09-12 09:34:48 +02:00
Thomas Lamprecht
79a14fbbd8
CreateWizard: remove title from confirm tabpanel
...
It isn't needed as its obvious that the table below show the
configuration. It just takes away space.
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2017-09-01 11:07:43 +02:00
Dominik Csapak
05c4b7645d
use nodename parameter to preselect the node in the wizard
...
this will be used for the ndoe right-click-menu
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-04-14 15:18:54 +02:00
Emmanuel Kasper
d5e771ce51
Rename 'create' to 'isCreate' in pveWindowEdit and subclasses
...
This fixes around 20 jslint type confusion warnings.
Also reduce the scope and document jslint warnings along the way.
No functional changes.
2017-03-02 10:36:35 +01:00
Emmanuel Kasper
256a65a4bb
reduce scope of jslint warnings to the problematic statement
...
also remove it from qemu/Clone.js since it validates OK
2016-12-19 07:31:51 +01:00
Emmanuel Kasper
ed416f2024
Convert the VMIDSelector to a generic GuestIDSelector
...
This allows to display a 'CT', a 'VM', or a 'CT/VM' label
to be displayed, depending on the context.
Currently when restoring a CT backup or creating a CT via the
wizard, we are asked to enter a *VM* ID, which is confusing.
2016-12-19 07:31:27 +01:00
Emmanuel Kasper
ff05aec018
Add online help for startup/shutdown order and LXC general settings
2016-12-01 11:42:37 +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
83576841ae
change ssh-public-keys check in wizard
...
we changed the ssh public key field to a pvetextfield, which return not
an empty string but null, so the .length check failed with an exception
we do not need to delete the field because it does not exists, when
no key is given
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-11-25 15:23:02 +01:00
Dietmar Maurer
63bb6c31c0
lxc: don't show an empty ssh-public-key field in summary
2016-11-10 16:15:32 +01:00
Dominik Csapak
edab72e500
remove unnecessary onlineHelp property
...
we already defined it in the inputpanel
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-11-02 17:13:24 +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
Dietmar Maurer
c8802a60b7
use auto-generated block IDs to reference online docu.
2016-10-13 11:26:06 +02:00
Dietmar Maurer
59f2dd3dcf
use refresh event instead of datachanged
2016-09-16 07:36:15 +02:00
Dominik Csapak
8f795124ac
js lint fixes
...
jslint needs FileReader as global
jslint want object.property instead of object['property']
jslint does not like trailing commas
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-09-01 11:42:34 +02:00
Dominik Csapak
2650df0824
refer to manual in lxc wizard
...
adds a help button to the following panels in the lxc wizard
Template (points to: Container Images)
Root Disk (points to: Container Storage)
Network (points to: Container Network)
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-08-23 09:10:47 +02:00
Wolfgang Bumiller
b1339314b6
lxc: wizard: ssh key
2016-08-19 13:54:38 +02:00
Dominik Csapak
9644912e66
make the lxc wizard select the current node by default
...
like in the qemu create wizard
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-08-17 12:35:00 +02:00
Emmanuel Kasper
2d0aa6d157
use proper xtype name
2016-03-15 16:34:03 +01:00
Dietmar Maurer
09358a73d1
copy lxc/CreateWizard.js from manager to manager6
2016-03-03 10:51:31 +01:00