diff --git a/views/node.html b/views/node.html index 6403059..161af7e 100644 --- a/views/node.html +++ b/views/node.html @@ -15,8 +15,8 @@ -
-

Details

+
+

Overview

{% if node.nickname %}
Nickname
@@ -30,16 +30,22 @@
Hashed Fingerprint
{{ node.hashed_fingerprint }}
{% endif %} + {% if node.advertised_bandwidth %} +
Advertised Bandwidth
+
{{ node | bandwidth }}
+ {% endif %} {% if node.flags.length %}
Flags
{% for flag in node.flags %}
{{ flag }}
{% endfor %} {% endif %} - {% if node.country_name %} -
Country
-
{{ node.country_name }}
- {% endif %} +
+
+ +
+

Config

+
{% if node.or_addresses.length %}
Or Addresses
{% for address in node.or_addresses %} @@ -50,49 +56,55 @@
Dir Address
{{ node.dir_address }}
{% endif %} - {% if node.as_number %} -
AS Number
-
{{ node.as_number }}
- {% endif %} - {% if node.as_name %} -
AS Name
-
{{ node.as_name }}
- {% endif %} {% if node.consensus_weight %}
Consensus Weight
{{ node.consensus_weight }}
{% endif %} + {% if node.transports.length %} +
Transport Protocols
+ {% for transportProtocol in node.transports %} +
{{ transportProtocol }}
+ {% endfor %} + {% endif %} + {% if node.exit_policy.length %} +
Exit Policy
+ {% for rule in node.exit_policy %} +
{{ rule }}
+ {% endfor %} + {% endif %} {% if node.host_name %}
Hostname
{{ node.host_name }}
{% endif %} - {% if node.advertised_bandwidth %} -
Advertised Bandwidth
-
{{ node | bandwidth }}
+ {% if node.as_number %} +
AS Number
+
{{ node.as_number }}
{% endif %} - {% if node.contact %} -
Contact
-
{{ node.contact }}
+ {% if node.as_name %} +
AS Name
+
{{ node.as_name }}
{% endif %} {% if node.platform %}
Platform
{{ node.platform }}
{% endif %} - {% if node.transports.length %} -
Transport Protocols
- {% for transportProtocol in node.transports %} -
{{ transportProtocol }}
- {% endfor %} - {% endif %} {% if node.type %}
Type
{{ node.type | title }}
{% endif %} - {% if node.exit_policy.length %} -
Exit Policy
- {% for rule in node.exit_policy %} -
{{ rule }}
- {% endfor %} +
+
+ +
+

Meta

+
+ {% if node.contact %} +
Contact
+
{{ node.contact }}
+ {% endif %} + {% if node.country_name %} +
Country
+
{{ node.country_name }}
{% endif %}