summaryrefslogtreecommitdiffstats
path: root/lib/toaster
diff options
context:
space:
mode:
authorBelen Barros Pena <belen.barros.pena@intel.com>2014-04-01 01:56:44 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-04-05 14:55:19 +0100
commita7fee015b1cc34351d5ad8b854fc6bf368416400 (patch)
treedd7e562777c029986b3fa6b4cff977e25d2c5265 /lib/toaster
parent1ca139ca157d62cee9c48b22063e77614fa34325 (diff)
downloadbitbake-contrib-a7fee015b1cc34351d5ad8b854fc6bf368416400.tar.gz
toaster: Make tables happy in Chrome
There is a known layout issue with Bootstrap tables in Chrome. This change applies a css fix for it, and changes the span classes in the variables table to improve formatting. Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com>
Diffstat (limited to 'lib/toaster')
-rw-r--r--lib/toaster/toastergui/static/css/default.css3
-rw-r--r--lib/toaster/toastergui/views.py4
2 files changed, 4 insertions, 3 deletions
diff --git a/lib/toaster/toastergui/static/css/default.css b/lib/toaster/toastergui/static/css/default.css
index b4345da3d..baf70fb23 100644
--- a/lib/toaster/toastergui/static/css/default.css
+++ b/lib/toaster/toastergui/static/css/default.css
@@ -109,6 +109,9 @@ select { width: auto; }
.hero-unit > .close { font-size:40px; }
.hero-actions { margin-top: 30px; }
+/* make tables Chrome-happy (me, not so much) */
+#otable { table-layout: fixed; word-wrap: break-word; }
+
diff --git a/lib/toaster/toastergui/views.py b/lib/toaster/toastergui/views.py
index ba69dd8b5..e346ac4cf 100644
--- a/lib/toaster/toastergui/views.py
+++ b/lib/toaster/toastergui/views.py
@@ -1142,7 +1142,6 @@ def configvars(request, build_id):
'tablecols' : [
{'name': 'Variable',
'qhelp': "BitBake is a generic task executor that considers a list of tasks with dependencies and handles metadata that consists of variables in a certain format that get passed to the tasks",
- 'dclass' : "span3",
'orderfield': _get_toggle_order(request, "variable_name"),
'ordericon':_get_toggle_order_icon(request, "variable_name"),
},
@@ -1153,7 +1152,6 @@ def configvars(request, build_id):
{'name': 'Set in file',
'qhelp': "The last configuration file that touched the variable value",
'clclass': 'file', 'hidden' : 0,
- 'dclass': "span6",
'filter' : {
'class' : 'vhistory__file_name',
'label': 'Show:',
@@ -1169,7 +1167,7 @@ def configvars(request, build_id):
{'name': 'Description',
'qhelp': "A brief explanation of the variable",
'clclass': 'description', 'hidden' : 0,
- 'dclass': "span5",
+ 'dclass': "span4",
'filter' : {
'class' : 'description',
'label': 'Show:',