diff options
Diffstat (limited to 'bitbake')
-rw-r--r-- | bitbake/lib/toaster/toastergui/static/css/default.css | 4 | ||||
-rw-r--r-- | bitbake/lib/toaster/toastergui/templates/mrb_section.html | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/bitbake/lib/toaster/toastergui/static/css/default.css b/bitbake/lib/toaster/toastergui/static/css/default.css index dcb8e34ac3..199c7531dc 100644 --- a/bitbake/lib/toaster/toastergui/static/css/default.css +++ b/bitbake/lib/toaster/toastergui/static/css/default.css | |||
@@ -136,6 +136,10 @@ select { width: auto; } | |||
136 | .new-build .alert { margin-top: 10px; } | 136 | .new-build .alert { margin-top: 10px; } |
137 | .new-build .alert p { margin-top: 10px; } | 137 | .new-build .alert p { margin-top: 10px; } |
138 | 138 | ||
139 | /* styles for showing the project name in build mode */ | ||
140 | .project-name { padding-top: 0; } | ||
141 | .project-name .label { font-weight: normal; margin-bottom: 5px; margin-left: -15px; padding: 5px; } | ||
142 | |||
139 | /* Remove bottom margin for forms inside modal dialogs */ | 143 | /* Remove bottom margin for forms inside modal dialogs */ |
140 | #dependencies_modal_form { margin-bottom: 0px; } | 144 | #dependencies_modal_form { margin-bottom: 0px; } |
141 | 145 | ||
diff --git a/bitbake/lib/toaster/toastergui/templates/mrb_section.html b/bitbake/lib/toaster/toastergui/templates/mrb_section.html index 33afb7ba18..73031e2d1f 100644 --- a/bitbake/lib/toaster/toastergui/templates/mrb_section.html +++ b/bitbake/lib/toaster/toastergui/templates/mrb_section.html | |||
@@ -12,9 +12,9 @@ | |||
12 | </div> | 12 | </div> |
13 | <div id="latest-builds"> | 13 | <div id="latest-builds"> |
14 | {% for build in mru %} | 14 | {% for build in mru %} |
15 | <div class="alert {%if build.outcome == build.SUCCEEDED%}alert-success{%elif build.outcome == build.FAILED%}alert-error{%else%}alert-info{%endif%}" style="padding-top: 0;"> | 15 | <div class="alert {%if build.outcome == build.SUCCEEDED%}alert-success{%elif build.outcome == build.FAILED%}alert-error{%else%}alert-info{%endif%} {% if MANAGED and build.project %}project-name{% endif %} "> |
16 | {% if MANAGED and build.project %} | 16 | {% if MANAGED and build.project %} |
17 | <span class="label {%if build.outcome == build.SUCCEEDED%}label-success{%elif build.outcome == build.FAILED%}label-danger{%else%}label-info{%endif%}" style="font-weight: normal; margin-bottom: 5px; margin-left:-15px; padding-top:5px;"> {{build.project.name}} </span> | 17 | <span class="label {%if build.outcome == build.SUCCEEDED%}label-success{%elif build.outcome == build.FAILED%}label-danger{%else%}label-info{%endif%}"> {{build.project.name}} </span> |
18 | {% endif %} | 18 | {% endif %} |
19 | 19 | ||
20 | <div class="row-fluid"> | 20 | <div class="row-fluid"> |