From 7cebe5a1f466289dcaaba7bdd6de3e03508804c1 Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Mon, 25 May 2020 16:41:04 +0200 Subject: [PATCH] ui: system config: reorder big panel to bottom Gives a better look and feel if the flex'd big panel is at the bottom Signed-off-by: Thomas Lamprecht --- www/SystemConfiguration.js | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/www/SystemConfiguration.js b/www/SystemConfiguration.js index 3d9e0f67..7d3aa54f 100644 --- a/www/SystemConfiguration.js +++ b/www/SystemConfiguration.js @@ -18,7 +18,6 @@ Ext.define('PBS.SystemConfiguration', { align: 'stretch', multi: true }, - bodyPadding: '0 0 10 0', defaults: { collapsible: true, animCollapse: false, @@ -26,12 +25,8 @@ Ext.define('PBS.SystemConfiguration', { }, items: [ { - flex: 1, - minHeight: 200, - title: gettext('Interfaces'), - xtype: 'proxmoxNodeNetworkView', - showApplyBtn: true, - types: ['bond', 'bridge', 'vlan'], + title: gettext('Time'), + xtype: 'proxmoxNodeTimeView', nodename: 'localhost' }, { @@ -40,10 +35,14 @@ Ext.define('PBS.SystemConfiguration', { nodename: 'localhost' }, { - title: gettext('Time'), - xtype: 'proxmoxNodeTimeView', + flex: 1, + minHeight: 200, + title: gettext('Network Interfaces'), + xtype: 'proxmoxNodeNetworkView', + showApplyBtn: true, + types: ['bond', 'bridge', 'vlan'], nodename: 'localhost' - } + }, ] // }, // {