29 Commits

Author SHA1 Message Date
Thomas Lamprecht
f610b316d5 ui: declarative LXC Create
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-02-22 15:04:51 +01:00
Thomas Lamprecht
6168b03a6d 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
8e1728badc 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
ef752dc1e3 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
956cd0bdda 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
42ec18721b 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
a87cf601d6 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
b2bbc355b1 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
8be9fe08b8 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
7f5f2cc0b7 Whitespace and typo fix 2017-09-12 09:34:48 +02:00
Thomas Lamprecht
2af2698a7b 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
fd5c652095 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
9af71828d4 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
bb9cd6d94a 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
dd0f5ef3d5 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
568c69b214 Add online help for startup/shutdown order and LXC general settings 2016-12-01 11:42:37 +01:00
Emmanuel Kasper
73fd23f96a 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
087d3bd7fb 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
7a5ada3245 lxc: don't show an empty ssh-public-key field in summary 2016-11-10 16:15:32 +01:00
Dominik Csapak
2b95d90f66 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
d4eb9a856b 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
2963616ae3 use auto-generated block IDs to reference online docu. 2016-10-13 11:26:06 +02:00
Dietmar Maurer
4d0e6dfbae use refresh event instead of datachanged 2016-09-16 07:36:15 +02:00
Dominik Csapak
b023b78fe6 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
6d61b83782 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
85bde3c775 lxc: wizard: ssh key 2016-08-19 13:54:38 +02:00
Dominik Csapak
ab39d66e9e 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
b47dcaec3a use proper xtype name 2016-03-15 16:34:03 +01:00
Dietmar Maurer
e2aed6d298 copy lxc/CreateWizard.js from manager to manager6 2016-03-03 10:51:31 +01:00