[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[dak/master] queue_report.py: toggle headers too



Signed-off-by: Luca Falavigna <dktrkranz@debian.org>
---
 dak/queue_report.py |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/dak/queue_report.py b/dak/queue_report.py
index fc68cb0..84f6a22 100755
--- a/dak/queue_report.py
+++ b/dak/queue_report.py
@@ -236,11 +236,12 @@ def footer():
     """
 
 def table_header(type, source_count, total_count):
-    print "<h1>Summary for: %s</h1>" % (type)
+    print "<h1 class='binNEW'>Summary for: %s</h1>" % (type)
+    print "<h1 class='binNEW' style='display: none'>Summary for: binary-%s only</h1>" % (type)
     print """
     <table class="NEW">
       <p class="togglepkg" onclick="togglePkg()">Click to toggle all/binary-NEW packages</p>
-      <caption>
+      <caption class="binNEW">
     """
     print "Package count in <strong>%s</strong>: <em>%s</em>&nbsp;|&nbsp; Total Package count: <em>%s</em>" % (type, source_count, total_count)
     print """
-- 
1.5.6.5


Reply to: