]> git.proxmox.com Git - pve-manager.git/commitdiff
GUI: move status into column layout
authorDietmar Maurer <dietmar@proxmox.com>
Thu, 2 Jun 2016 05:21:57 +0000 (07:21 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Thu, 2 Jun 2016 05:21:57 +0000 (07:21 +0200)
www/manager6/lxc/Summary.js
www/manager6/qemu/Summary.js

index 5ab14cd7fe7e9cce980dc67b6cf0a2fb3f76fe74..6a648cb1dd20933320c779c2da3cfafdf41ee456 100644 (file)
@@ -5,9 +5,6 @@ Ext.define('PVE.lxc.Summary', {
     tbar: [ '->' , { xtype: 'pveRRDTypeSelector' } ],
     scrollable: true,
     bodyStyle: 'padding:10px',
-    defaults: {
-       style: {'padding-top':'10px'}
-    },
 
     initComponent: function() {
         var me = this;
@@ -52,25 +49,25 @@ Ext.define('PVE.lxc.Summary', {
            plugins: {
                ptype: 'lazyitems',
                items: [
-                   {
-                       width: 800,
-                       padding: '0 5 0 0',
-                       layout: {
-                           type: 'hbox',
-                           align: 'stretchmax'
-                       },
-                       border: false,
-                       items: [ statusview, notesview ]
-                   },
                    {
                        xtype: 'container',
                        layout: {
                            type: 'column'
                        },
                        defaults: {
-                           padding: '0 5 10 0'
+                           padding: '0 10 10 0'
                        },
                        items: [
+                           {
+                               width: 800,
+                               height: 300,
+                               layout: {
+                                   type: 'hbox',
+                                   align: 'stretch'
+                               },
+                               border: false,
+                               items: [ statusview, notesview ]
+                           },
                            {
                                xtype: 'pveRRDChart',
                                title: gettext('CPU usage'),
index 26cba8bedd28c81ac36aeb978f427a504801c586..3b6307ebdddc7eefb02e29719779d51c25b17ef0 100644 (file)
@@ -5,9 +5,7 @@ Ext.define('PVE.qemu.Summary', {
     tbar: [ '->', { xtype: 'pveRRDTypeSelector' } ],
     scrollable: true,
     bodyPadding: 10,
-    defaults: {
-       style: {'padding-top':'10px'}
-    },
+
     initComponent: function() {
         var me = this;
 
@@ -51,25 +49,25 @@ Ext.define('PVE.qemu.Summary', {
            plugins: {
                ptype: 'lazyitems',
                items: [
-                   {
-                       width: 800,
-                       padding: '0 5 0 0',
-                       layout: {
-                           type: 'hbox',
-                           align: 'stretchmax'
-                       },
-                       border: false,
-                       items: [ statusview, notesview ]
-                   },
                    {
                        xtype: 'container',
                        layout: {
                            type: 'column'
                        },
                        defaults: {
-                           padding: '0 5 10 0'
+                           padding: '0 10 10 0'
                        },
                        items: [
+                           {
+                               width: 800,
+                               height: 300,
+                               layout: {
+                                   type: 'hbox',
+                                   align: 'stretch'
+                               },
+                               border: false,
+                               items: [ statusview, notesview ]
+                           },
                            {
                                xtype: 'pveRRDChart',
                                title: gettext('CPU usage'),