[pve-devel] [PATCH manager] ui: node options: make text for `wakeonlan` option a bit more descriptive
Lukas Wagner
l.wagner at proxmox.com
Mon Jan 23 14:59:58 CET 2023
If one is not familiar with the underlying configuration option,
one might think that one can enable Wake-On-Lan for a node with this
option. It was not really clear (at least without RTFM ;) ) that a
MAC address is supposed to be entered here. The added text should
hopefully make this a bit more clear.
Also increased the label width a bit, so that a full MAC
address can be properly displayed.
Signed-off-by: Lukas Wagner <l.wagner at proxmox.com>
---
www/manager6/node/NodeOptionsView.js | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/www/manager6/node/NodeOptionsView.js b/www/manager6/node/NodeOptionsView.js
index b841b7b0..661c0e90 100644
--- a/www/manager6/node/NodeOptionsView.js
+++ b/www/manager6/node/NodeOptionsView.js
@@ -52,8 +52,9 @@ Ext.define('Proxmox.node.NodeOptionsView', {
{
xtype: 'text',
name: 'wakeonlan',
- text: gettext('Wake on LAN'),
+ text: gettext('MAC address for Wake on LAN'),
vtype: 'MacAddress',
+ labelWidth: 150,
deleteEmpty: true,
renderer: function(value) {
if (value === undefined) {
--
2.30.2
More information about the pve-devel
mailing list