summaryrefslogtreecommitdiffstats
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:29 +0100
commit37e267095166d4aa8c77b34e32dd265af33c70dd (patch)
tree26dcdb44f2b2b27e2d47a7c0b4a1304455e7e19f
parent7322dddeed0d394e3b2602933bb51f03a19fbe61 (diff)
downloadpoky-37e267095166d4aa8c77b34e32dd265af33c70dd.tar.gz
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>
-rw-r--r--bitbake/lib/toaster/toastergui/static/css/default.css3
-rw-r--r--bitbake/lib/toaster/toastergui/views.py4
2 files changed, 4 insertions, 3 deletions
diff --git a/bitbake/lib/toaster/toastergui/static/css/default.css b/bitbake/lib/toaster/toastergui/static/css/default.css
index b4345da3d7..baf70fb234 100644
--- a/bitbake/lib/toaster/toastergui/static/css/default.css
+++ b/bitbake/lib/toaster/toastergui/static/css/default.css
@@ -109,6 +109,9 @@ select { width: auto; }
109.hero-unit > .close { font-size:40px; } 109.hero-unit > .close { font-size:40px; }
110.hero-actions { margin-top: 30px; } 110.hero-actions { margin-top: 30px; }
111 111
112/* make tables Chrome-happy (me, not so much) */
113#otable { table-layout: fixed; word-wrap: break-word; }
114
112 115
113 116
114 117
diff --git a/bitbake/lib/toaster/toastergui/views.py b/bitbake/lib/toaster/toastergui/views.py
index ba69dd8b5d..e346ac4cf1 100644
--- a/bitbake/lib/toaster/toastergui/views.py
+++ b/bitbake/lib/toaster/toastergui/views.py
@@ -1142,7 +1142,6 @@ def configvars(request, build_id):
1142 'tablecols' : [ 1142 'tablecols' : [
1143 {'name': 'Variable', 1143 {'name': 'Variable',
1144 '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", 1144 '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",
1145 'dclass' : "span3",
1146 'orderfield': _get_toggle_order(request, "variable_name"), 1145 'orderfield': _get_toggle_order(request, "variable_name"),
1147 'ordericon':_get_toggle_order_icon(request, "variable_name"), 1146 'ordericon':_get_toggle_order_icon(request, "variable_name"),
1148 }, 1147 },
@@ -1153,7 +1152,6 @@ def configvars(request, build_id):
1153 {'name': 'Set in file', 1152 {'name': 'Set in file',
1154 'qhelp': "The last configuration file that touched the variable value", 1153 'qhelp': "The last configuration file that touched the variable value",
1155 'clclass': 'file', 'hidden' : 0, 1154 'clclass': 'file', 'hidden' : 0,
1156 'dclass': "span6",
1157 'filter' : { 1155 'filter' : {
1158 'class' : 'vhistory__file_name', 1156 'class' : 'vhistory__file_name',
1159 'label': 'Show:', 1157 'label': 'Show:',
@@ -1169,7 +1167,7 @@ def configvars(request, build_id):
1169 {'name': 'Description', 1167 {'name': 'Description',
1170 'qhelp': "A brief explanation of the variable", 1168 'qhelp': "A brief explanation of the variable",
1171 'clclass': 'description', 'hidden' : 0, 1169 'clclass': 'description', 'hidden' : 0,
1172 'dclass': "span5", 1170 'dclass': "span4",
1173 'filter' : { 1171 'filter' : {
1174 'class' : 'description', 1172 'class' : 'description',
1175 'label': 'Show:', 1173 'label': 'Show:',