From a6867343b65e8062b1c987aac9e533a33e581b40 Mon Sep 17 00:00:00 2001 From: Belen Barros Pena Date: Thu, 6 Feb 2014 18:57:56 +0000 Subject: 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 Signed-off-by: Richard Purdie --- bitbake/lib/toaster/toastergui/static/css/default.css | 1 + bitbake/lib/toaster/toastergui/templates/bpackage.html | 2 +- bitbake/lib/toaster/toastergui/templates/build.html | 4 ++-- bitbake/lib/toaster/toastergui/templates/recipes.html | 2 +- 4 files changed, 5 insertions(+), 4 deletions(-) (limited to 'bitbake') diff --git a/bitbake/lib/toaster/toastergui/static/css/default.css b/bitbake/lib/toaster/toastergui/static/css/default.css index f523d415f1..76d6cb9b8b 100644 --- a/bitbake/lib/toaster/toastergui/static/css/default.css +++ b/bitbake/lib/toaster/toastergui/static/css/default.css @@ -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; } diff --git a/bitbake/lib/toaster/toastergui/templates/bpackage.html b/bitbake/lib/toaster/toastergui/templates/bpackage.html index cc8ec90395..1eb1f8e5c3 100644 --- a/bitbake/lib/toaster/toastergui/templates/bpackage.html +++ b/bitbake/lib/toaster/toastergui/templates/bpackage.html @@ -8,7 +8,7 @@ {% block buildinfomain %}
-