summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/toastergui/templates
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
parent438578e2997f718f4ab2f50f309364edb6e3b4f8 (diff)
downloadast2050-yocto-poky-a6867343b65e8062b1c987aac9e533a33e581b40.zip
ast2050-yocto-poky-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')
-rw-r--r--bitbake/lib/toaster/toastergui/templates/bpackage.html2
-rw-r--r--bitbake/lib/toaster/toastergui/templates/build.html4
-rwxr-xr-xbitbake/lib/toaster/toastergui/templates/recipes.html2
3 files changed, 4 insertions, 4 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/bpackage.html b/bitbake/lib/toaster/toastergui/templates/bpackage.html
index cc8ec90..1eb1f8e 100644
--- a/bitbake/lib/toaster/toastergui/templates/bpackage.html
+++ b/bitbake/lib/toaster/toastergui/templates/bpackage.html
@@ -8,7 +8,7 @@
{% block buildinfomain %}
<div class="span10">
-<div class="page-header" style="margin-top:40px;">
+<div class="page-header">
<h1>
{% if request.GET.filter or request.GET.search and objects.count > 0 %}
{{objects.paginator.count}} package{{objects.paginator.count|pluralize}} found
diff --git a/bitbake/lib/toaster/toastergui/templates/build.html b/bitbake/lib/toaster/toastergui/templates/build.html
index 5867cbb..bdfa5c2 100644
--- a/bitbake/lib/toaster/toastergui/templates/build.html
+++ b/bitbake/lib/toaster/toastergui/templates/build.html
@@ -8,7 +8,7 @@
<div class="row-fluid">
{%if mru.count > 0%}
- <div class="page-header" style="margin-top:40px;">
+ <div class="page-header top-air">
<h1>
Recent Builds
</h1>
@@ -53,7 +53,7 @@
{% endfor %}{%endif%}
- <div class="page-header" style="margin-top:40px;">
+ <div class="page-header top-air">
<h1>
{% if request.GET.filter or request.GET.search and objects.count > 0 %}
{{objects.paginator.count}} build{{objects.paginator.count|pluralize}} found
diff --git a/bitbake/lib/toaster/toastergui/templates/recipes.html b/bitbake/lib/toaster/toastergui/templates/recipes.html
index aa06104..37d9dce 100755
--- a/bitbake/lib/toaster/toastergui/templates/recipes.html
+++ b/bitbake/lib/toaster/toastergui/templates/recipes.html
@@ -8,7 +8,7 @@
{% block buildinfomain %}
<div class="span10">
-<div class="page-header" style="margin-top:40px;">
+<div class="page-header">
<h1>
{% if request.GET.filter or request.GET.search and objects.count > 0 %}
{{objects.paginator.count}} recipe{{objects.paginator.count|pluralize}} found
OpenPOWER on IntegriCloud