[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [atlas/master] Move family and platform to the configuration column, make the boxes scroll



commit 5d14a78463fb640efbafeea3a99a68307fb4b19f
Author: Iain R. Learmonth <irl@xxxxxxxx>
Date:   Thu Sep 14 11:22:00 2017 +0100

    Move family and platform to the configuration column, make the boxes scroll
    
    Closes: #22146
---
 templates/details/router.html | 30 +++++++++++++++---------------
 1 file changed, 15 insertions(+), 15 deletions(-)

diff --git a/templates/details/router.html b/templates/details/router.html
index 9195f4c..467b606 100644
--- a/templates/details/router.html
+++ b/templates/details/router.html
@@ -59,6 +59,21 @@
       </dd>
     </dl>
 
+    <dt><span class="tip" title="Relays that are part of this relay's family and consider this relay to be part of their family.">Effective Family Members</span></dt>
+    <dd>
+        <pre class="pre-scrollable"><% if (relay.get('effective_family') !== null) { %><% _.each(relay.get('effective_family'), function(member) { %><% var valid = member.match(RegExp("^\$[A-F0-9]{40}$")); %>
+<% if (valid) { %><a href="#details/<%= member.replace('$', '') %>"><% } %><%= member %><% if (valid) { %></a><% }}); %>
+<% } else { %>none<% } %></pre>
+    </dd>
+    <dt><span class="tip" title="Relays that are part of this relay's family but don't consider this relay to be part of their family.">Alleged Family Members</span></dt>
+    <dd>
+        <pre class="pre-scrollable"><% if (relay.get('alleged_family') !== null) { %><% _.each(relay.get('alleged_family'), function(member) { %><% var valid = member.match(RegExp("^\$[A-F0-9]{40}$")); %>
+<% if (valid) { %><a href="#details/<%= member.replace('$', '') %>" class="alleged"><% } %><%= member %><% if (valid) { %></a><% }}); %>
+<% } else { %>none<% } %></pre>
+    </dd>
+
+    <dt><span class="tip" title="What OS and Tor version the relay is using">Platform</span></dt>
+    <dd><%= _.escape(relay.get('platform')) %></dd>
 
     </div>
     <div class="span6">
@@ -120,21 +135,6 @@
     <dt><span class="tip" title="Date and time when the relay was last (re-)started.">Last Restarted</span></dt>
     <dd><%= relay.get('last_restarted') %></dd>
 
-    <dt><span class="tip" title="Relays that are part of this relay's family and consider this relay to be part of their family.">Effective Family Members</span></dt>
-    <dd>
-        <pre><% if (relay.get('effective_family') !== null) { %><% _.each(relay.get('effective_family'), function(member) { %><% var valid = member.match(RegExp("^\$[A-F0-9]{40}$")); %>
-<% if (valid) { %><a href="#details/<%= member.replace('$', '') %>"><% } %><%= member %><% if (valid) { %></a><% }}); %>
-<% } else { %>none<% } %></pre>
-    </dd>
-    <dt><span class="tip" title="Relays that are part of this relay's family but don't consider this relay to be part of their family.">Alleged Family Members</span></dt>
-    <dd>
-        <pre><% if (relay.get('alleged_family') !== null) { %><% _.each(relay.get('alleged_family'), function(member) { %><% var valid = member.match(RegExp("^\$[A-F0-9]{40}$")); %>
-<% if (valid) { %><a href="#details/<%= member.replace('$', '') %>" class="alleged"><% } %><%= member %><% if (valid) { %></a><% }}); %>
-<% } else { %>none<% } %></pre>
-    </dd>
-
-    <dt><span class="tip" title="What OS and Tor version the relay is using">Platform</span></dt>
-    <dd><%= _.escape(relay.get('platform')) %></dd>
 
     <dt><span class="tip" title="Weight assigned to this relay by the directory authorities that clients use in their path selection algorithm. The unit is arbitrary; currently it's kilobytes per second, but that might change in the future.">Consensus Weight</span></dt>
     <dd><%= relay.get('consensus_weight') %></dd>

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits