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 <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2020-01-30 17:36:43 +01:00
parent 25f37cbf9f
commit 1aaba242fb

View File

@ -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,
}