]> git.decadent.org.uk Git - dak.git/commitdiff
queue_report.py: toggle headers too
authorLuca Falavigna <dktrkranz@debian.org>
Tue, 24 Aug 2010 20:36:25 +0000 (20:36 +0000)
committerLuca Falavigna <dktrkranz@debian.org>
Tue, 24 Aug 2010 20:36:25 +0000 (20:36 +0000)
Signed-off-by: Luca Falavigna <dktrkranz@debian.org>
dak/queue_report.py

index fc68cb0bf96e7a2fd4ece11cc4f609a9a7cfaca0..84f6a22f23946139349199b27afa46f3597a7f52 100755 (executable)
@@ -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 """