15 Commits

Author SHA1 Message Date
Christian Ebner
677bb0e87b ui: Restore: Fix error where the textfield did not default to next free VMID
This was introduced when refactoring our seprated CT & VM ID
selectors into an unified one in
commit ed416f20248d46d95c9d1547a2e1b833aeb097d6

Signed-off-by: Christian Ebner <c.ebner@proxmox.com>
2019-04-10 09:09:10 +02:00
Thomas Lamprecht
8b030d0848 ui: restore: add tooltip for unique checkbox and declare static
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-04-04 12:37:17 +02:00
Christian Ebner
c517e21226 fix: #1218 Expose unique MAC address generation on restore of VMs and CTs in UI
Adds a checkbox to the restore window, allowing the user to avoid MAC address
collisions when restoring a VM/CT to a different vmid.
When restoring to the same vmid the checkbox is not visible.

Signed-off-by: Christian Ebner <c.ebner@proxmox.com>
2019-04-04 11:54:31 +02:00
Dominik Csapak
21ef191b66 jslint fixes
type confusion: value is int and string
let is not recognized by our jslint version yet, so
use var for now

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2019-02-19 12:08:23 +01:00
Oguz Bektas
a18927017f unprivileged:true by default in restore window
Signed-off-by: Oguz Bektas <o.bektas@proxmox.com>
2019-02-19 11:52:22 +01:00
Thomas Lamprecht
9fa4ce6d74 ui: restore: add bandwidth limit field
Let user input MiB/s as values in the KiB/s range are not that handy
and would make even smaller backups need several hours to restore,
days for bigger ones.

Try to give the user imformation about per-storage bandwidth limits
and how he can disable all of them.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-03-26 14:23:50 +02: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
9fccc702ec use windowEdit 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
Dietmar Maurer
9cf2e84b93 add unpriviledged flag to container restore window. 2016-12-27 10:19:57 +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
Dietmar Maurer
185a77e555 reduce translation overhead 2016-04-05 11:10:52 +02:00
Dietmar Maurer
16152937f8 reduce translation overhead 2016-04-04 16:59:52 +02:00
Dietmar Maurer
bac5bd135c rename manager5 to manager6 2016-01-22 11:24:10 +01:00