[tor-commits] [doctor/java] Remove metrics-specific page header and footer.

karsten at torproject.org karsten at torproject.org
Sun Dec 1 08:20:41 UTC 2013


commit 13846f2c68ea2d37c968a55b7c5869109cfb0cb8
Author: Karsten Loesing <karsten.loesing at gmx.net>
Date:   Sun Dec 1 09:17:49 2013 +0100

    Remove metrics-specific page header and footer.
---
 .../torproject/doctor/MetricsWebsiteReport.java    |   41 +-------------------
 1 file changed, 2 insertions(+), 39 deletions(-)

diff --git a/src/org/torproject/doctor/MetricsWebsiteReport.java b/src/org/torproject/doctor/MetricsWebsiteReport.java
index f4a720e..019f71d 100644
--- a/src/org/torproject/doctor/MetricsWebsiteReport.java
+++ b/src/org/torproject/doctor/MetricsWebsiteReport.java
@@ -103,7 +103,7 @@ public class MetricsWebsiteReport {
           + "Transitional//EN\">\n"
         + "<html>\n"
         + "  <head>\n"
-        + "    <title>Tor Metrics Portal: Consensus health</title>\n"
+        + "    <title>Consensus health</title>\n"
         + "    <meta http-equiv=\"content-type\" content=\"text/html; "
           + "charset=ISO-8859-1\">\n"
         + "    <link href=\"/css/stylesheet-ltr.css\" type=\"text/css\" "
@@ -118,30 +118,8 @@ public class MetricsWebsiteReport {
         + "    }\n"
         + "  </style>\n"
         + "    <div class=\"center\">\n"
-        + "      <table class=\"banner\" border=\"0\" cellpadding=\"0\" "
-          + "cellspacing=\"0\" summary=\"\">\n"
-        + "        <tr>\n"
-        + "          <td class=\"banner-left\"><a "
-          + "href=\"/index.html\"><img src=\"/images/top-left.png\" "
-          + "alt=\"Click to go to home page\" width=\"193\" "
-          + "height=\"79\"></a></td>\n"
-        + "          <td class=\"banner-middle\">\n"
-        + "            <a href=\"/\">Home</a>\n"
-        + "            <a href=\"graphs.html\">Graphs</a>\n"
-        + "            <a href=\"research.html\">Research</a>\n"
-        + "            <a href=\"status.html\">Status</a>\n"
-        + "            <br>\n"
-        + "            <font size=\"2\">\n"
-        + "              <a href=\"exonerator.html\">ExoneraTor</a>\n"
-        + "              <a href=\"relay-search.html\">Relay Search</a>\n"
-        + "              <a class=\"current\">Consensus Health</a>\n"
-        + "            </font>\n"
-        + "          </td>\n"
-        + "          <td class=\"banner-right\"></td>\n"
-        + "        </tr>\n"
-        + "      </table>\n"
         + "      <div class=\"main-column\">\n"
-        + "        <h2>Tor Metrics Portal: Consensus Health</h2>\n"
+        + "        <h2>Consensus Health</h2>\n"
         + "        <br>\n"
         + "        <p>This page shows statistics about the current "
           + "consensus and votes to facilitate debugging of the "
@@ -938,26 +916,11 @@ public class MetricsWebsiteReport {
     this.bw.write("      </div>\n"
         + "    </div>\n"
         + "    <div class=\"bottom\" id=\"bottom\">\n"
-        + "      <p>This material is supported in part by the "
-          + "National Science Foundation under Grant No. "
-          + "CNS-0959138. Any opinions, finding, and conclusions "
-          + "or recommendations expressed in this material are "
-          + "those of the author(s) and do not necessarily reflect "
-          + "the views of the National Science Foundation.</p>\n"
         + "      <p>\"Tor\" and the \"Onion Logo\" are <a "
           + "href=\"https://www.torproject.org/docs/trademark-faq.html"
           + ".en\">"
         + "registered trademarks</a> of The Tor Project, "
           + "Inc.</p>\n"
-        + "      <p>Data on this site is freely available under a "
-          + "<a href=\"http://creativecommons.org/publicdomain/"
-          + "zero/1.0/\">CC0 no copyright declaration</a>: To the "
-          + "extent possible under law, the Tor Project has waived "
-          + "all copyright and related or neighboring rights in "
-          + "the data. Graphs are licensed under a <a "
-          + "href=\"http://creativecommons.org/licenses/by/3.0/"
-          + "us/\">Creative Commons Attribution 3.0 United States "
-          + "License</a>.</p>\n"
         + "    </div>\n"
         + "  </body>\n"
         + "</html>");



More information about the tor-commits mailing list