mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-08-16 07:30:40 +00:00
ui: QinQ: indentation and stricter limits
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
3f0b3e3aa2
commit
069a28ebac
@ -4,7 +4,7 @@ Ext.define('PVE.sdn.zones.QinQInputPanel', {
|
||||
onlineHelp: 'pvesdn_zone_plugin_qinq',
|
||||
|
||||
onGetValues: function(values) {
|
||||
var me = this;
|
||||
let me = this;
|
||||
|
||||
if (me.isCreate) {
|
||||
values.type = me.type;
|
||||
@ -16,7 +16,7 @@ Ext.define('PVE.sdn.zones.QinQInputPanel', {
|
||||
},
|
||||
|
||||
initComponent : function() {
|
||||
var me = this;
|
||||
let me = this;
|
||||
|
||||
me.items = [
|
||||
{
|
||||
@ -36,16 +36,21 @@ Ext.define('PVE.sdn.zones.QinQInputPanel', {
|
||||
{
|
||||
xtype: 'proxmoxintegerfield',
|
||||
name: 'tag',
|
||||
fieldLabel: gettext('Service vlan'),
|
||||
minValue: 0,
|
||||
maxValue: 4096,
|
||||
fieldLabel: gettext('Service VLAN'),
|
||||
allowBlank: false
|
||||
},
|
||||
{
|
||||
xtype: 'proxmoxKVComboBox',
|
||||
name: 'vlan-protocol',
|
||||
fieldLabel: gettext('Service vlan protocol'),
|
||||
fieldLabel: gettext('Service-VLAN Protocol'),
|
||||
allowBlank: true,
|
||||
value: '802.1q',
|
||||
comboItems: [['802.1q', '802.1q'], ['802.1ad', '802.1ad']]
|
||||
comboItems: [
|
||||
['802.1q', '802.1q'],
|
||||
['802.1ad', '802.1ad'],
|
||||
],
|
||||
},
|
||||
{
|
||||
xtype: 'proxmoxintegerfield',
|
||||
@ -65,7 +70,6 @@ Ext.define('PVE.sdn.zones.QinQInputPanel', {
|
||||
multiSelect: true,
|
||||
autoSelect: false
|
||||
},
|
||||
|
||||
];
|
||||
|
||||
me.callParent();
|
||||
|
Loading…
Reference in New Issue
Block a user