]> git.proxmox.com Git - pve-manager.git/commitdiff
gui: move rate limit field to advanced section
authorDaniel Tschlatscher <d.tschlatscher@proxmox.com>
Thu, 3 Nov 2022 15:38:09 +0000 (16:38 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 16 Nov 2022 19:07:29 +0000 (20:07 +0100)
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>
www/manager6/lxc/Network.js

index c6c4093474a85a1335e693c30d7efd5c479d26e3..85033bd86b82651812c095dec80e8a1631f90665 100644 (file)
@@ -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();
     },
 });