diff --git a/views/node.html b/views/node.html index 1325b52..6403d62 100644 --- a/views/node.html +++ b/views/node.html @@ -11,6 +11,74 @@

Status

{{ node | status }} + +
+

Details

+
+ {% if node.nickname %} +
Nickname
+
{{ node.nickname }}
+ {% endif %} + {% if node.fingerprint %} +
Fingerprint
+
{{ node.fingerprint }}
+ {% endif %} + {% if node.flags.length %} +
Flags
+ {% for flag in node.flags %} +
{{ flag }}
+ {% endfor %} + {% endif %} + {% if node.country_name %} +
Country
+
{{ node.country_name }}
+ {% endif %} + {% if node.or_addresses.length %} +
Or Addresses
+ {% for address in node.or_addresses %} +
{{ address }}
+ {% endfor %} + {% endif %} + {% if node.dir_address %} +
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.host_name %} +
Hostname
+
{{ node.host_name }}
+ {% endif %} + {% if node.advertised_bandwidth %} +
Advertised Bandwidth
+
{{ node | bandwidth }}
+ {% endif %} + {% if node.contact %} +
Contact
+
{{ node.contact }}
+ {% endif %} + {% if node.platform %} +
Platform
+
{{ node.platform }}
+ {% endif %} + {% if node.type %} +
Type
+
{{ node.type | title }}
+ {% endif %} +
+
+ + {% endif %} {% endblock %}