Commit Graph

16 Commits

Author SHA1 Message Date
Dominik Csapak
5720fafabc use Button from 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
3b1ca3ff5d use Proxmox.button.StdRemoveButton where possible
most 'Remove' buttons we have used the same code pattern over and over,
with the StdRemoveButton we have a component which does all of this for
us

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
e83e60bfa1 Reload the grid list of backups after the backup task completion
This allows visual feedback for first time users doing a backup.
2017-01-05 16:17:32 +01:00
Emmanuel Kasper
8dfd00cd09 Fix a race conditon provoking the error no such file '/pve-storage-content'
(NB: the error was only displayed intermittently in the browser console)

The reload call could try a store reload before the store has
a defined url.
The call here is useless since the initial display of
the storage selector compoment will call setStorage() to pass an url
to the store and load it.

Also remove the test on me.store.proxy.url since it was not working
(ExtJS autodefined an URL based on the model name)
2017-01-03 11:00:19 +01:00
Emmanuel Kasper
2685b38224 Rename filterFn to vmtypeFilter
since we have now two filters defined it makes sense to use
a separate name here
2016-12-19 11:37:20 +01:00
Emmanuel Kasper
ce76a18ae0 Filter by default the displayed guest backups fix #1161
This add a default filter which is executed on store initial load,
so we display only the backups matching our ID.
2016-12-19 11:36:51 +01:00
Dominik Csapak
a61607a85a make backupview stateful
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-11-17 09:16:52 +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
6da4aea874 refactor backupconfig window
refactor it in its own class, because we need it again

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-09-05 11:20:41 +02:00
Dominik Csapak
fc349cb69a make content of configuration window a component
otherwise, the styling does not apply

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-06-29 14:32:36 +02:00
Dominik Csapak
79f305de0d add configuration button to backups
this adds a button to show the configuration of backups

this helps if someone wants to know the details of the
vm in the backup (e.g. name, storages, etc.)

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-06-16 16:35:13 +02:00
Dietmar Maurer
16152937f8 reduce translation overhead 2016-04-04 16:59:52 +02:00
Dominik Csapak
5c41645953 filter backup always by vm type
currently, as soon as you type something in the backup search bar,
the filter for the vm type (e.g. lxc or qemu) gets cleared, and
you see *all* backups (also those not for the current type)

this patch adds the original filterFn to the filter when searching

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-03-21 14:02:29 +01:00
Emmanuel Kasper
69c635d770 fix delayed store loading
Because the store loading delay, it can be that reload() fails on trying to
load an undefined store, if the user switched tabs in the meantime
2016-03-15 16:33:49 +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