]> git.proxmox.com Git - pve-manager.git/commit
ui: guest import: add value-dependent warning for live-import
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 12 Mar 2024 13:14:00 +0000 (14:14 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 14 Mar 2024 14:17:43 +0000 (15:17 +0100)
commit226f01cba892f8b7fdeba95f6e6a99c434879faa
treec866d2aef0156da75c002a1357f73004ec6a9667
parentb185bbade5c46f9f5b054e1179cbf4a42cc53144
ui: guest import: add value-dependent warning for live-import

Use a similar text than we do for the live-restore warning and make it
use the pmx-hint CSS class.

Note that the CSS class order is important here as ExtJS automatically
uses the last one in the list here to add a XYZ-default and XYZ-after
class, so if the hint one is the last in the string, then layout gets
broken.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
www/manager6/window/GuestImport.js