{% extends 'index.html' %} {% block main %} {% if error %}

{{ 'Invalid node' if error.statusCode == 400 else error.statusMessage }}

{% else %}

{{ node.type | title }}: {{ node | name }}

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 %} {% if node.exit_policy.length %}
Exit Policy
{% for rule in node.exit_policy %}
{{ rule }}
{% endfor %} {% endif %}
{% endif %} {% endblock %}