mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-07-27 09:25:58 +00:00
gui: move rate limit field to advanced section
The new MTU field and the rate limit field are now in the advanced section of the NetworkInputPanel to parallel the layout of the NetworkEdit for VMs. Signed-off-by: Daniel Tschlatscher <d.tschlatscher@proxmox.com> Reviewed-by: Stefan Hanreich <s.hanreich@proxmox.com> Tested-by: Stefan Hanreich <s.hanreich@proxmox.com>
This commit is contained in:
parent
4e192f9df8
commit
37985d657c
@ -122,16 +122,6 @@ Ext.define('PVE.lxc.NetworkInputPanel', {
|
||||
name: 'tag',
|
||||
value: cdata.tag,
|
||||
},
|
||||
{
|
||||
xtype: 'numberfield',
|
||||
name: 'rate',
|
||||
fieldLabel: gettext('Rate limit') + ' (MB/s)',
|
||||
minValue: 0,
|
||||
maxValue: 10*1024,
|
||||
value: cdata.rate,
|
||||
emptyText: 'unlimited',
|
||||
allowBlank: true,
|
||||
},
|
||||
{
|
||||
xtype: 'proxmoxcheckbox',
|
||||
fieldLabel: gettext('Firewall'),
|
||||
@ -294,6 +284,19 @@ Ext.define('PVE.lxc.NetworkInputPanel', {
|
||||
},
|
||||
];
|
||||
|
||||
me.advancedColumn2 = [
|
||||
{
|
||||
xtype: 'numberfield',
|
||||
name: 'rate',
|
||||
fieldLabel: gettext('Rate limit') + ' (MB/s)',
|
||||
minValue: 0,
|
||||
maxValue: 10*1024,
|
||||
value: cdata.rate,
|
||||
emptyText: 'unlimited',
|
||||
allowBlank: true,
|
||||
},
|
||||
];
|
||||
|
||||
me.callParent();
|
||||
},
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user