]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
bitbake: toaster: Remove inline styles in h1
authorBelen Barros Pena <belen.barros.pena@intel.com>
Thu, 6 Feb 2014 18:57:56 +0000 (18:57 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 9 Mar 2014 19:23:59 +0000 (12:23 -0700)
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>
bitbake/lib/toaster/toastergui/static/css/default.css
bitbake/lib/toaster/toastergui/templates/bpackage.html
bitbake/lib/toaster/toastergui/templates/build.html
bitbake/lib/toaster/toastergui/templates/recipes.html

index f523d415f157af6c373c5c91ae32a38eaa7513c3..76d6cb9b8b2c76641e9e8a04b35051532081e48c 100644 (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; }
index cc8ec90395f01981c0772b3cf3e590df8bcdeda3..1eb1f8e5c3c86d1699401346720f4fff1c7e6f85 100644 (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
index 5867cbb7dae3f0cbbe715dad5a6041131953ad6c..bdfa5c20e338ed256f04855e80fcad10f68415de 100644 (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
index aa0610434f3a9b89ccc2644c5cea460e2c0f63b2..37d9dcee0e8219ac424bca69f849bb900f4df643 100755 (executable)
@@ -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