[pve-devel] [PATCH widget-toolkit] networkedit: Add tooltip to bridge ports inputs
Christoph Heiss
c.heiss at proxmox.com
Mon Feb 6 11:58:13 CET 2023
.. as the exact format it takes might not be immediately obvious to
users.
Signed-off-by: Christoph Heiss <c.heiss at proxmox.com>
---
Bumped into that myself recently, it just avoids having to seek out
documentation for that one thing.
src/node/NetworkEdit.js | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/src/node/NetworkEdit.js b/src/node/NetworkEdit.js
index 6b25463..bb9add3 100644
--- a/src/node/NetworkEdit.js
+++ b/src/node/NetworkEdit.js
@@ -67,12 +67,20 @@ Ext.define('Proxmox.node.NetworkEdit', {
xtype: 'textfield',
fieldLabel: gettext('Bridge ports'),
name: 'bridge_ports',
+ autoEl: {
+ tag: 'div',
+ 'data-qtip': gettext('Space-separated list of interfaces, for example: enp0s0 enp1s0'),
+ },
});
} else if (me.iftype === 'OVSBridge') {
column2.push({
xtype: 'textfield',
fieldLabel: gettext('Bridge ports'),
name: 'ovs_ports',
+ autoEl: {
+ tag: 'div',
+ 'data-qtip': gettext('Space-separated list of interfaces, for example: enp0s0 enp1s0'),
+ },
});
column2.push({
xtype: 'textfield',
--
2.39.1
More information about the pve-devel
mailing list