From 742128c517587b541748cee9cac8da45386984a1 Mon Sep 17 00:00:00 2001 From: Mariano Lopez Date: Mon, 17 Aug 2015 10:30:13 -0500 Subject: [PATCH] rrs/base_toplevel.html: Navbar redesign MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This provides changes in the front end for the navbar, now it shows the percentage of recipes up-to-date, not update, unknown and can't be updated along with the number of recipes. This also moves the update percentage to the end and adds clarity to what it means. This also moves the export list button the the top bar. [YOCTO #8020] Signed-off-by: Mariano Lopez Signed-off-by: Aníbal Limón --- rrs/static/css/rrs-additional.css | 13 ++++++--- templates/rrs/base_toplevel.html | 44 +++++++++++++++++++------------ 2 files changed, 36 insertions(+), 21 deletions(-) diff --git a/rrs/static/css/rrs-additional.css b/rrs/static/css/rrs-additional.css index bdfa151..0066945 100644 --- a/rrs/static/css/rrs-additional.css +++ b/rrs/static/css/rrs-additional.css @@ -43,6 +43,11 @@ margin-top: 40px; } +.nav > li.lead { + margin: 5px 25px 0 5px; +} + + /* Sorting styles */ th > a, th.muted { font-weight: normal; @@ -71,6 +76,10 @@ th > a, th.muted { margin-bottom: 0; } +.navbar .nav > li > .secondary-info { + font-size:70%; +} + .navbar .badge { margin-top: 10px; margin-right: 10px; @@ -104,10 +113,6 @@ th > a, th.muted { padding: 8px 14px 8px 14px; } -.nav > li.lead { - margin: 5px 0 0 5px; -} - /* about recipe styles */ diff --git a/templates/rrs/base_toplevel.html b/templates/rrs/base_toplevel.html index fd0c96c..9e00cef 100644 --- a/templates/rrs/base_toplevel.html +++ b/templates/rrs/base_toplevel.html @@ -51,6 +51,7 @@ {% endblock %} + Export recipe list {% endblock %} {% block content %} @@ -58,25 +59,34 @@