]> git.proxmox.com Git - pmg-gui.git/blobdiff - js/SystemConfiguration.js
quarantine: refactor spamquarantine controller
[pmg-gui.git] / js / SystemConfiguration.js
index db9c9de748b11d94bd5910320da902699d216b76..a2d1cef72c7c5f4a7dd7aac6a20f909f9e1c5b73 100644 (file)
@@ -1,4 +1,3 @@
-/*global Proxmox*/
 
 Ext.define('PMG.SystemConfiguration', {
     extend: 'Ext.tab.Panel',
@@ -12,6 +11,7 @@ Ext.define('PMG.SystemConfiguration', {
        {
            title: gettext('Network/Time'),
            itemId: 'network',
+           iconCls: 'fa fa-exchange',
            xtype: 'panel',
            layout: {
                type: 'vbox',
@@ -26,11 +26,8 @@ Ext.define('PMG.SystemConfiguration', {
            },
            items: [
                {
-                   flex: 1,
-                   minHeight: 200,
-                   title: gettext('Interfaces'),
-                   xtype: 'proxmoxNodeNetworkView',
-                   types: ['bond'],
+                   title: gettext('Time'),
+                   xtype: 'proxmoxNodeTimeView',
                    nodename: Proxmox.NodeName,
                },
                {
@@ -39,20 +36,21 @@ Ext.define('PMG.SystemConfiguration', {
                    nodename: Proxmox.NodeName,
                },
                {
-                   title: gettext('Time'),
-                   xtype: 'proxmoxNodeTimeView',
+                   flex: 1,
+                   minHeight: 200,
+                   title: gettext('Interfaces'),
+                   xtype: 'proxmoxNodeNetworkView',
+                   types: ['bond'],
                    nodename: Proxmox.NodeName,
+                   showApplyBtn: true,
                },
            ],
        },
        {
+           xtype: 'pmgSystemOptions',
            itemId: 'options',
             title: gettext('Options'),
-           xtype: 'pmgSystemOptions',
-       },
-       {
-           itemId: 'backup',
-           xtype: 'pmgBackupRestore',
+           iconCls: 'fa fa-cogs',
        },
     ],