[Kimchi-devel] [PATCH V7 1/2] Remove the first column of debug report grid

Wen Wang wenwang at linux.vnet.ibm.com
Thu Jun 12 04:32:38 UTC 2014


From: Wang Wen <wenwang at linux.vnet.ibm.com>

V1 -> V2:
Added a 10px margin to the left of the grid

Have the first column of debug report grid which indicate numbers removed
---
 ui/css/theme-default/host.css |    8 ++++----
 ui/js/src/kimchi.host.js      |    6 +-----
 2 files changed, 5 insertions(+), 9 deletions(-)

diff --git a/ui/css/theme-default/host.css b/ui/css/theme-default/host.css
index edebdb9..5c9a119 100644
--- a/ui/css/theme-default/host.css
+++ b/ui/css/theme-default/host.css
@@ -196,6 +196,10 @@
 }
 
 /* Debug Report */
+.cell-text-wrapper {
+    margin-left: 10px;
+}
+
 .host-panel #available-reports-grid {
     border-color: #ddd;
     height: 400px;
@@ -210,10 +214,6 @@
     margin: .2em 1em;
 }
 
-.debug-report-id {
-    width: 30px;
-}
-
 .debug-report-name,
 .debug-report-time {
     width: 200px;
diff --git a/ui/js/src/kimchi.host.js b/ui/js/src/kimchi.host.js
index c7e8f8d..f3de831 100644
--- a/ui/js/src/kimchi.host.js
+++ b/ui/js/src/kimchi.host.js
@@ -357,11 +357,7 @@ kimchi.host_main = function() {
                 $('#' + reportGridID + '-download-button')
                     .prop('disabled', false);
             },
-            frozenFields: [{
-                name: 'id',
-                label: ' ',
-                'class': 'debug-report-id'
-            }],
+            frozenFields: [],
             fields: [{
                 name: 'name',
                 label: i18n['KCHDR6003M'],
-- 
1.7.1




More information about the Kimchi-devel mailing list