Commit Graph

10 Commits

Author SHA1 Message Date
Thomas Lamprecht
fe4f00adc9 add 'delete_if_default' helper and use it
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2016-11-02 11:00:16 +01:00
Thomas Lamprecht
b2f9a9e411 add 'max_{relocate, restart}' fields to UI
The 'max_reloacte' and 'max_restart' properties can be set via CLI
and API for about a year, expose them to the user alsow via web
interface

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2016-10-31 16:36:05 +01:00
Thomas Lamprecht
ee34f6e207 remove unnecessary trigraph
values['delete'] is always empty here, plus the code was buggy for
the case that it wasn't:

values['delete'] = values['delete'] ? ',group' : 'group';
                ^^^
         always overwrites values['delete'], even if not empty

So just drop it here.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2016-10-31 16:34:53 +01:00
Emmanuel Kasper
41d895b892 Add onlineHelp 2016-10-19 17:25:53 +02:00
Emmanuel Kasper
cc73255676 Use enable as adjective to match the Resource List panel
Since we describe a resource state, an adjective is also here a better match.
2016-10-19 17:25:36 +02:00
Emmanuel Kasper
390b85553a Close #1161: add hint when disabling a ha resource
Disabling a HA resource/service means that this
ressource will always be turned off.
However some users though this disabling HA management
for this VM, see
http://pve.proxmox.com/pipermail/pve-user/2016-October/011024.html

so we had a hint after clicking on the 'disable' checkbox, that
the checkbox is meant for shutdown
2016-10-19 17:25:20 +02:00
Dominik Csapak
a764c5f72e jslint: fix missing or extra semicolon
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-04-29 17:07:42 +02:00
Dominik Csapak
ea31930bcd Revert "HA Resource: allow selecting no group"
because we reenabled the keyevents
This reverts commit 2dbef77aa2.
2016-04-22 10:27:54 +02:00
Thomas Lamprecht
2dbef77aa2 HA Resource: allow selecting no group
this fixes a regression which was introduced by commit:
a263665b16

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2016-04-20 18:15:47 +02:00
Dietmar Maurer
9b81768fd7 copy ha/ResourceEdit.js from manager to manager6 2016-02-15 12:35:14 +01:00