public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: Christoph Heiss <c.heiss@proxmox.com>
To: pve-devel@lists.proxmox.com
Subject: [pve-devel] [PATCH widget-toolkit] networkedit: Add tooltip to bridge ports inputs
Date: Mon,  6 Feb 2023 11:58:13 +0100	[thread overview]
Message-ID: <20230206105811.108550-1-c.heiss@proxmox.com> (raw)

.. as the exact format it takes might not be immediately obvious to
users.

Signed-off-by: Christoph Heiss <c.heiss@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





             reply	other threads:[~2023-02-06 10:59 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-06 10:58 Christoph Heiss [this message]
2023-03-21 12:34 ` [pve-devel] applied: " Thomas Lamprecht

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230206105811.108550-1-c.heiss@proxmox.com \
    --to=c.heiss@proxmox.com \
    --cc=pve-devel@lists.proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal