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>
This commit is contained in:
Belen Barros Pena 2014-02-06 18:57:56 +00:00 committed by Richard Purdie
parent 438578e299
commit a6867343b6
4 changed files with 5 additions and 4 deletions

View File

@ -98,6 +98,7 @@ th > a, th > span { font-weight: normal; }
.dropdown-menu { padding: 10px; }
select { width: auto; }
.page-header { color: #5A5A5A; }
.top-air { margin-top: 40px;}
.progress { margin-bottom: 0px; }
.lead .badge { font-size: 18px; font-weight: normal; border-radius: 15px; padding: 9px; }
.well > .lead, .alert .lead { margin-bottom: 0px; }

View File

@ -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

View File

@ -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

View File

@ -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