From 3892d1e62eafa5728754bbe02499ca633faece6b Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Thu, 6 Feb 2020 22:39:22 +0100 Subject: [PATCH] ui: snapshots: move hint to bottom and make it shorter Moving it to the bottom of the dialog avoids other UI elements jumping around when it gets displayed. Further shorten the text itself, while the originally was good it was a bit on the long side, users tend to overead to long warnings/hints more easily, so try to be more terse. Signed-off-by: Thomas Lamprecht --- www/manager6/window/Snapshot.js | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/www/manager6/window/Snapshot.js b/www/manager6/window/Snapshot.js index 88f7248e..73a7de92 100644 --- a/www/manager6/window/Snapshot.js +++ b/www/manager6/window/Snapshot.js @@ -58,16 +58,6 @@ Ext.define('PVE.window.Snapshot', { } me.items = [ - { - xtype: 'displayfield', - userCls: 'pmx-hint', - name: 'fswarning', - hidden: true, - value: gettext('It is recommended to either include the RAM or enable the QEMU Guest Agent when taking a snapshot of a running VM. Otherwise the file system might be in an inconsistent state when the snapshot is taken.'), - bind: { - hidden: '{!shouldWarnAboutFS}', - }, - }, { xtype: me.isCreate ? 'textfield' : 'displayfield', name: 'snapname', @@ -102,6 +92,16 @@ Ext.define('PVE.window.Snapshot', { name: 'description', fieldLabel: gettext('Description') }, + { + xtype: 'displayfield', + userCls: 'pmx-hint', + name: 'fswarning', + hidden: true, + value: gettext('It is recommended to either include the RAM or use the QEMU Guest Agent when taking a snapshot of a running VM to avoid inconsistencies.'), + bind: { + hidden: '{!shouldWarnAboutFS}', + }, + }, { title: gettext('Settings'), hidden: me.isCreate,