[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [depictor/master] Add the full fingerprint (in tiny text) to the big table.
commit 5dc8eba37cbebe3787094fa8b272a48eb8939f8b
Author: Tom Ritter <tom@xxxxxxxxx>
Date: Wed Mar 4 15:20:52 2015 +0100
Add the full fingerprint (in tiny text) to the big table.
---
out/stylesheet-ltr.css | 4 ++++
website.py | 15 ++++++++++++---
2 files changed, 16 insertions(+), 3 deletions(-)
diff --git a/out/stylesheet-ltr.css b/out/stylesheet-ltr.css
index ce0c54e..77bd55f 100644
--- a/out/stylesheet-ltr.css
+++ b/out/stylesheet-ltr.css
@@ -94,6 +94,10 @@ td {
vertical-align: top;
}
+.tiny {
+ font-size: 3px;
+}
+
/* the banner */
table.banner {
diff --git a/website.py b/website.py
index 4279651..b5db508 100755
--- a/website.py
+++ b/website.py
@@ -854,10 +854,19 @@ class WebsiteWriter:
if relay_fp in self.consensus.routers and \
"Named" in self.consensus.routers[relay_fp].flags and \
relay_nickname[0].isdigit():
- self.site.write(" <td id=\"" + relay_nickname + "\">"
- + relay_fp.substring(0, 8) + "</td>\n")
+ self.site.write(" <td id=\"" \
+ + relay_nickname \
+ + "\">" \
+ + relay_fp.substring(0, 8) \
+ + "<br /><span style=\"tiny\">" \
+ + relay_fp \
+ + "</span></td>\n")
else:
- self.site.write(" <td>" + relay_fp[0:8] + "</td>\n")
+ self.site.write(" <td>" \
+ + relay_fp[0:8]
+ + "<br /><span class=\"tiny\">" \
+ + relay_fp
+ + "</span></td>\n")
self.site.write(" <td>" + relay_nickname + "</td>\n")
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits