]> git.decadent.org.uk Git - dak.git/commitdiff
Link to the graphs instead of including them in deferred.html
authorPaul Wise <pabs@debian.org>
Sun, 20 Feb 2011 11:20:13 +0000 (19:20 +0800)
committerJoerg Jaspert <joerg@debian.org>
Thu, 3 Mar 2011 21:18:43 +0000 (22:18 +0100)
dak/show_deferred.py

index afa12b4b2b5658d601d38bbb7c84f1e8902cb4c3..dd1a748f7b1946c72f4f6322426eeee062820b00 100755 (executable)
@@ -88,15 +88,8 @@ def header():
         """
 
 def footer():
-    res = """
-<p><img src="deferred-day.png" alt="deferred, last day"></p>
-<p><img src="deferred-week.png" alt="deferred, last week"></p>
-<p><img src="deferred-month.png" alt="deferred, last month"></p>
-<p><img src="deferred-year.png" alt="deferred, last year"></p>
-<p><img src="deferred-5years.png" alt="deferred, last 5 years"></p>
-<p><img src="deferred-10years.png" alt="deferred, last 10 years"></p>
-"""
-    res += "<p class=\"validate\">Timestamp: %s (UTC)</p>" % (time.strftime("%d.%m.%Y / %H:%M:%S", time.gmtime()))
+    res = "<p class=\"validate\">Timestamp: %s (UTC)</p>" % (time.strftime("%d.%m.%Y / %H:%M:%S", time.gmtime()))
+    res += "<p class=\"timestamp\">There are <a href=\"/stat.html\">graphs about the queues</a> available.</p>"
     res += """<a href="http://validator.w3.org/check?uri=referer">
     <img border="0" src="http://www.w3.org/Icons/valid-html401" alt="Valid HTML 4.01!" height="31" width="88"></a>
         <a href="http://jigsaw.w3.org/css-validator/check/referer">