bitbake: 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.

(Bitbake rev: a7fee015b1cc34351d5ad8b854fc6bf368416400)

Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Belen Barros Pena
2014-04-01 01:56:44 +01:00
committed by Richard Purdie
parent 7322dddeed
commit 37e2670951
2 changed files with 4 additions and 3 deletions

View File

@@ -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; }

View File

@@ -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:',