From 1aaba242fb61a572bcefebbfcea1cfcd902295e4 Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Thu, 30 Jan 2020 17:36:43 +0100 Subject: [PATCH] net/node: add some "hint" for VLAN add window The three naming schemes are not ideal, but well here we are for now. Add some hint to explain what one can do with which version - try to keep it rather short. It's not ideal but hopefully better than nothing :) Signed-off-by: Thomas Lamprecht --- node/NetworkEdit.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/node/NetworkEdit.js b/node/NetworkEdit.js index b2cb2e4..8d32820 100644 --- a/node/NetworkEdit.js +++ b/node/NetworkEdit.js @@ -42,6 +42,7 @@ Ext.define('Proxmox.node.NetworkEdit', { let column1 = [], column2 = [], + columnB = [], advancedColumn1 = [], advancedColumn2 = []; @@ -138,7 +139,12 @@ Ext.define('Proxmox.node.NetworkEdit', { name: 'vlan-id', value: me.vlanidvalue, disabled: me.disablevlanid + }); + columnB.push({ + xtype: 'label', + userCls: 'pmx-hint', + text: 'Either add the VLAN number to an existing interface name, or choose your own name and set the VLAN raw device (for the latter ifupdown1 supports vlanXY naming only)', }); } else if (me.iftype === 'bond') { @@ -333,6 +339,7 @@ Ext.define('Proxmox.node.NetworkEdit', { xtype: 'inputpanel', column1: column1, column2: column2, + columnB: columnB, advancedColumn1: advancedColumn1, advancedColumn2: advancedColumn2, }