[tor-commits] [depictor/master] Add links to Atlas and Globe
tom at torproject.org
tom at torproject.org
Mon Mar 23 16:32:51 UTC 2015
commit 8dddb1dd4d645bc0a52c7d195f881571d7c3eea5
Author: Tom Ritter <tom at ritter.vg>
Date: Wed Mar 4 15:34:05 2015 +0100
Add links to Atlas and Globe
---
out/stylesheet-ltr.css | 4 ++++
website.py | 8 +++++++-
2 files changed, 11 insertions(+), 1 deletion(-)
diff --git a/out/stylesheet-ltr.css b/out/stylesheet-ltr.css
index 77bd55f..8ace3a9 100644
--- a/out/stylesheet-ltr.css
+++ b/out/stylesheet-ltr.css
@@ -98,6 +98,10 @@ td {
font-size: 3px;
}
+.agt {
+ font-size: .8em;
+}
+
/* the banner */
table.banner {
diff --git a/website.py b/website.py
index b5db508..baca4e7 100755
--- a/website.py
+++ b/website.py
@@ -868,7 +868,13 @@ class WebsiteWriter:
+ relay_fp
+ "</span></td>\n")
- self.site.write(" <td>" + relay_nickname + "</td>\n")
+ self.site.write(" <td>" \
+ + relay_nickname \
+ + " <br /><span class=\"agt\"><a href=\"https://atlas.torproject.org/#details/" \
+ + relay_fp + "\">Atlas</a> | " \
+ + "<a href=\"https://globe.torproject.org/#/relay/" + relay_fp \
+ + "\">Globe</a></span>" \
+ + "</td>\n")
relevantFlags = set()
for dirauth_nickname in self.votes:
More information about the tor-commits
mailing list