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

[dak/master] Remove links to HTML and CSS validators.



This also gets rid of external (non-debian.org) and unencrypted resources.
---
 dak/queue_report.py  |    8 --------
 dak/show_deferred.py |    6 ------
 dak/show_new.py      |   11 +----------
 3 files changed, 1 insertion(+), 24 deletions(-)

diff --git a/dak/queue_report.py b/dak/queue_report.py
index 5e16428..a7086d8 100755
--- a/dak/queue_report.py
+++ b/dak/queue_report.py
@@ -242,14 +242,6 @@ def footer():
     one version.<br />
     You may want to look at <a href="https://ftp-master.debian.org/REJECT-FAQ.html";>the REJECT-FAQ</a>
       for possible reasons why one of the above packages may get rejected.</p>
-      <p>
-      <a href="http://validator.w3.org/check?uri=referer";><img src="http://www.w3.org/Icons/valid-xhtml10";
-        alt="Valid XHTML 1.0 Strict" height="31" width="88" /></a>
-      <a href="http://jigsaw.w3.org/css-validator/";>
-        <img style="border:0;width:88px;height:31px" src="http://jigsaw.w3.org/css-validator/images/vcss";
-        alt="Valid CSS!" />
-      </a>
-      </p>
     </div> </body> </html>
     """
 
diff --git a/dak/show_deferred.py b/dak/show_deferred.py
index a76fd38..13ce3de 100755
--- a/dak/show_deferred.py
+++ b/dak/show_deferred.py
@@ -87,12 +87,6 @@ def header():
 def footer():
     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";>
-    <img border="0" src="http://jigsaw.w3.org/css-validator/images/vcss"; alt="Valid CSS!"
-     height="31" width="88"></a>
-    """
     res += "</body></html>"
     return res.encode('utf-8')
 
diff --git a/dak/show_new.py b/dak/show_new.py
index eff1116..64ea228 100755
--- a/dak/show_new.py
+++ b/dak/show_new.py
@@ -137,16 +137,7 @@ def html_header(name, missing):
 def html_footer():
     result = """    <p class="validate">Timestamp: %s (UTC)</p>
 """% (time.strftime("%d.%m.%Y / %H:%M:%S", time.gmtime()))
-    result += """    <p><a href="http://validator.w3.org/check?uri=referer";>
-      <img src="http://www.w3.org/Icons/valid-html401"; alt="Valid HTML 4.01!"
-      style="border: none; height: 31px; width: 88px" /></a>
-    <a href="http://jigsaw.w3.org/css-validator/check/referer";>
-      <img src="http://jigsaw.w3.org/css-validator/images/vcss";
-      alt="Valid CSS!" style="border: none; height: 31px; width: 88px" /></a>
-    </p>
-  </body>
-</html>
-"""
+    result += "</body></html>"
     return result
 
 ################################################################################
-- 
1.7.10.4


Reply to: