Set the layout as per the Bootstrap 3 grid rules and apply new
definition list styles to this page as well.

Signed-off-by: Belen Barros Pena <[email protected]>
---
 bitbake/lib/toaster/toastergui/static/css/bootstrap3-transition.css | 4 ++--
 bitbake/lib/toaster/toastergui/templates/task.html                  | 6 ++++--
 2 files changed, 6 insertions(+), 4 deletions(-)

diff --git 
a/bitbake/lib/toaster/toastergui/static/css/bootstrap3-transition.css 
b/bitbake/lib/toaster/toastergui/static/css/bootstrap3-transition.css
index cbd9b75..26e468f 100644
--- a/bitbake/lib/toaster/toastergui/static/css/bootstrap3-transition.css
+++ b/bitbake/lib/toaster/toastergui/static/css/bootstrap3-transition.css
@@ -88,11 +88,11 @@ fieldset[disabled] .btn-primary:hover {
 
 /* Definition lists in the layer details page */
 
-#information .dl-horizontal dd {
+.dl-horizontal dd {
   margin-left: 220px;
 }
 
-#information .dl-horizontal dt {
+.dl-horizontal dt {
   width: 200px;
 }
 
diff --git a/bitbake/lib/toaster/toastergui/templates/task.html 
b/bitbake/lib/toaster/toastergui/templates/task.html
index 9250ff5..8773351 100644
--- a/bitbake/lib/toaster/toastergui/templates/task.html
+++ b/bitbake/lib/toaster/toastergui/templates/task.html
@@ -11,7 +11,8 @@
 
 {% block pagedetailinfomain %}
 
-<div class="row col-md-11">
+<div class="row">
+  <div class="col-md-12">
     <div class="page-header">
         <h1><a href="{%url 'recipe' build.pk task.recipe.pk 
%}">{{task.recipe.name}}_{{task.recipe.version}}</a> {{task.task_name}}</h1>
     </div>
@@ -153,8 +154,8 @@
     <dd>
         {{task.sstate_checksum}}
     </dd>
-</dl>
     {% if task.sstate_result != task.SSTATE_NA %}
+  </dl>
         <div class="alert alert-info">Attempting to restore output from sstate 
cache
             <i class="icon-question-sign get-help get-help-blue" title="The 
build system is searching for the task output in your <code>sstate-cache</code> 
directory and mirrors. If the build system finds the task output, it will reuse 
it instead of building it from scratch by running the real task. Reusing the 
task output makes the build faster"></i>
         </div>
@@ -273,5 +274,6 @@
     </dl>
 
 </div>
+
 {% endblock %}
 
-- 
1.9.1

-- 
_______________________________________________
toaster mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/toaster

Reply via email to