Commit Graph

19 Commits

Author SHA1 Message Date
Thomas Lamprecht
fc03fcb896 dc/Backup: do not focus node selector on window focus
Do not focus anything here in the case he backup window gains focus
again. Else, if we click outside of the window the nodefield gets
always focused again - even if another field was focused previously.
This is a bit confusing, rather have no field focused at all -
especially as a blank value will be often used here.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2017-07-26 15:37:05 +02:00
Emmanuel Kasper
0de33b54b2 Add Help Button for Backup Modal Windows
Modal Windows disable the Workspace behind them, so it was not possible
to get onlineHelp when starting a oneshot backup or configuring a backup job.
2017-06-28 18:43:19 +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
Dominik Csapak
c4bb940580 make backup/storage/ha resources/ha groups grid stateful
so that the column changes are saved in the browsers local storage

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-11-17 09:16:15 +01:00
Thomas Lamprecht
be8b69aa21 BackupEdit, cleanup: remove insideUpdate construct
insideUpdate protects for a endless loop which gets caused if the sm
selection change callback updates vmidField which then triggers the
vmidField change callback which updates the selection model again,
and the circle starts again.

As this construct is rather confusing when looking first at the code
replace it with a temporary suspend of the change event during the
vmidField update.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2016-11-10 09:56:05 +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
Dominik Csapak
163bf3789c fix #944: do not filter by empty array
we set the pveNodeSelector to [] by default,
but filter by !node (![] == false), so that no vms are shown

this occurs, when the pveNodeSelector store loads after the store
for the vm list, which rarely happens

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-05-03 06:08:04 +02:00
Dominik Csapak
68f8c7659f jslint: fix access to uninitialized variable
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-04-29 17:09:17 +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
22f2f9d6c0 jslint: remove trailing commas
before ECMA5 trailing commas in arrays and objects
are forbidden

in jslint this is an error and cannot be deactivated

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-04-29 17:06:34 +02:00
Dominik Csapak
af3838c5ef show days of week as ranges
when selecting days in a backup job,
show every series of 3 or more days as range, instead
of single days
e.g. Monday-Wednesday instead of Monday, Tuesday, Wednesday

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-04-07 16:57:25 +02:00
Dominik Csapak
ae9e2161bc make enabled column wider in backupview
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-04-07 16:54:24 +02:00
Dominik Csapak
2bdf9dd3ff translate weekdays in backupgrid
previously we displayed always something like: "mon,tue,wed"
now we use the full name of the day and the correct translation
making it (eg in german):
"Montag, Dienstag, Mittwoch"

i did not to choose the first 3 letters, because we cannot be
sure they are unique for all workdays in every language

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-04-06 16:36:54 +02:00
Dominik Csapak
370ed4c837 make enabled column a checkcolumn in backupview
it is nicer than 'true' and 'false',
also this was not translated before

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-04-06 16:31:41 +02:00
Dominik Csapak
be37a97e93 fix compression selection in backup window
we wrongly assumed, that no compression argument for
vzdump meant 'no compression', instead it means 'lzo'

this patch mirrors that behaviour on the gui

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-03-31 17:10:10 +02:00
Emmanuel Kasper
cfdc7ada3a Added UI elements for the backup job disabling function
Added a column in the datacenter backup job overview to see if a job
is enabled or not. Added checkbox to the input panel, which enables
or disables a job.
This closes bug/feature request 492.

This patch was missing in manager6
2016-02-17 11:57:36 +01:00
Emmanuel Kasper
a26c8bf752 Ext6migrate: Fix selection mode combobox for backup 2016-01-22 11:24:22 +01:00
Emmanuel Kasper
c0b3df6e34 ext6migrate: listen to 'activate' events for panels inside a tabpanel
Using ExtJS6 a browser refresh (F5) do not send the 'show' event which we use to display the store as it did with ExtJS4.

At the momment only for tabs inside the datacenter tabpanel, since node and lxc tabpanels are not yet in manager6/
2016-01-22 11:24:20 +01:00
Dietmar Maurer
bac5bd135c rename manager5 to manager6 2016-01-22 11:24:10 +01:00