From dc4d4f8aa99a8f12e0b47d6dffcb4d1c36689a08 Mon Sep 17 00:00:00 2001 From: Mariano Lopez Date: Thu, 9 Apr 2015 17:04:35 -0500 Subject: [PATCH] templates/rrs/maintainers.html: Added links to recipe page. rrs/static/css/rrs-additional.css: Added formating to the table footer. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Added links to recipe page using the update status filter in the header. Changed the tags in the footer to . Added color to the footer format instead of bold. Signed-off-by: Mariano Lopez Signed-off-by: Aníbal Limón --- rrs/static/css/rrs-additional.css | 4 ++++ templates/rrs/maintainers.html | 38 +++++++++++++++++++++---------- 2 files changed, 30 insertions(+), 12 deletions(-) diff --git a/rrs/static/css/rrs-additional.css b/rrs/static/css/rrs-additional.css index d052540..15a2059 100644 --- a/rrs/static/css/rrs-additional.css +++ b/rrs/static/css/rrs-additional.css @@ -90,6 +90,10 @@ th > a, th.muted { color: #c09853; } +.totalRow { + background-color: #fcf8e3; +} + /* status styles */ .well{ diff --git a/templates/rrs/maintainers.html b/templates/rrs/maintainers.html index b4ef50b..c64f734 100644 --- a/templates/rrs/maintainers.html +++ b/templates/rrs/maintainers.html @@ -105,21 +105,36 @@ - Total - - - - - - + Total + + + + + + + + + + + + + + + + + + + + + {% for i in intervals %} {% if current_interval == forloop.counter0 %} - + {% else %} - + {% endif %} {{ i }} - + {% endfor %} @@ -160,7 +175,7 @@ $(document).ready(function() { $('#statistics-table').show() $('#no_maintainers_alert').hide() - count = 0 + count = -1 $('tr:visible').each(function() { count++ }); @@ -223,7 +238,6 @@ $(document).ready(function() { tempInt2 = parseInt($("#totalAssigned").html()) tempInt1 = ((tempInt1/tempInt2).toFixed(2))*100 $("#totalPercentage").html(tempInt1 +'%') - } {% if maintainer_count > 0 %}