]> git.decadent.org.uk Git - dak.git/commitdiff
that should also shutup the html validation foo
authorJoerg Jaspert <joerg@debian.org>
Sun, 11 Mar 2012 15:06:45 +0000 (16:06 +0100)
committerJoerg Jaspert <joerg@debian.org>
Sun, 11 Mar 2012 15:06:45 +0000 (16:06 +0100)
Signed-off-by: Joerg Jaspert <joerg@debian.org>
dak/queue_report.py

index bc68b261612eb23a865989305e92aa20992309fe..862a6d20ebb8a431ebc4bfc8288c721f852cde65 100755 (executable)
@@ -179,6 +179,7 @@ def header():
       Debian NEW and BYHAND Packages
     </title>
     <script type="text/javascript">
+    //<![CDATA[
     function togglePkg() {
         var children = document.getElementsByTagName("*");
         for (var i = 0; i < children.length; i++) {
@@ -194,6 +195,7 @@ def header():
             }
         }
     }
+    //]]>
     </script>
   </head>
   <body id="NEW">
@@ -246,8 +248,8 @@ def table_header(type, source_count, total_count):
     print "<h1 class='binNEW'>Summary for: %s</h1>" % (type)
     print "<h1 class='binNEW' style='display: none'>Summary for: binary-%s only</h1>" % (type)
     print """
+    <p class="togglepkg" onclick="togglePkg()">Click to toggle all/binary-NEW packages</p>
     <table class="NEW">
-      <p class="togglepkg" onclick="togglePkg()">Click to toggle all/binary-NEW packages</p>
       <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)