ui: sdn: move anycast addresses to advanced items

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2020-05-10 21:02:31 +02:00
parent f3c1eac7f0
commit 6d3dbf0ef5

View File

@ -55,6 +55,17 @@ Ext.define('PVE.sdn.VnetInputPanel', {
fieldLabel: gettext('Tag'),
allowBlank: false,
},
{
xtype: 'textfield',
name: 'mac',
fieldLabel: gettext('MAC Address'),
vtype: 'MacAddress',
skipEmptyText: true,
allowBlank: true,
emptyText: 'auto',
},
],
advancedItems: [
{
xtype: 'textfield',
name: 'ipv4',
@ -73,15 +84,6 @@ Ext.define('PVE.sdn.VnetInputPanel', {
skipEmptyText: true,
allowBlank: true,
},
{
xtype: 'textfield',
name: 'mac',
fieldLabel: gettext('MAC Address'),
vtype: 'MacAddress',
skipEmptyText: true,
allowBlank: true,
emptyText: 'auto',
},
],
});