summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/toastergui/templates/build.html
diff options
context:
space:
mode:
authorBelen Barros Pena <belen.barros.pena@intel.com>2014-02-06 18:57:56 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-03-09 12:23:59 -0700
commita6867343b65e8062b1c987aac9e533a33e581b40 (patch)
tree8a4fb036fb56add47558e853d39b8973405d126a /bitbake/lib/toaster/toastergui/templates/build.html
parent438578e2997f718f4ab2f50f309364edb6e3b4f8 (diff)
downloadpoky-a6867343b65e8062b1c987aac9e533a33e581b40.tar.gz
bitbake: toaster: Remove inline styles in h1
The templates bpackage.html, recipes.html and build.html included an inline style declaration in the div containing the h1 tag to add a top margin of 40px. The extra top margin is unnecessary in bpackage.html and recipes.html, but nicely separates the Recent builds and All builds sections in build.html. The changes remove the inline style declaration and create a .top-air class in default.css to include the extra top margin when needed, i.e. in the build.html template. (Bitbake rev: 2841f0740024a8351606452a5f803b9b7f70c783) Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/toaster/toastergui/templates/build.html')
-rw-r--r--bitbake/lib/toaster/toastergui/templates/build.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/build.html b/bitbake/lib/toaster/toastergui/templates/build.html
index 5867cbb7da..bdfa5c20e3 100644
--- a/bitbake/lib/toaster/toastergui/templates/build.html
+++ b/bitbake/lib/toaster/toastergui/templates/build.html
@@ -8,7 +8,7 @@
8<div class="row-fluid"> 8<div class="row-fluid">
9 9
10 {%if mru.count > 0%} 10 {%if mru.count > 0%}
11 <div class="page-header" style="margin-top:40px;"> 11 <div class="page-header top-air">
12 <h1> 12 <h1>
13 Recent Builds 13 Recent Builds
14 </h1> 14 </h1>
@@ -53,7 +53,7 @@
53 53
54 {% endfor %}{%endif%} 54 {% endfor %}{%endif%}
55 55
56 <div class="page-header" style="margin-top:40px;"> 56 <div class="page-header top-air">
57 <h1> 57 <h1>
58 {% if request.GET.filter or request.GET.search and objects.count > 0 %} 58 {% if request.GET.filter or request.GET.search and objects.count > 0 %}
59 {{objects.paginator.count}} build{{objects.paginator.count|pluralize}} found 59 {{objects.paginator.count}} build{{objects.paginator.count|pluralize}} found