{% 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 }}
{% if
node.nickname or
node.fingerprint or
node.hashed_fingerprint or
node.advertised_bandwidth or
node.flags.length
%}
Overview
{% if node.nickname %}
Nickname
{{ node.nickname }}
{% endif %}
{% if node.fingerprint %}
Fingerprint
{{ node.fingerprint }}
{% endif %}
{% if node.hashed_fingerprint %}
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 %}
{% endif %}
{% if bandwidth %}
Bandwidth (MB/s over the last month)
{{ bandwidth }}
{% endif %}
{% if
node.type or
node.platform or
node.or_addresses.length or
node.dir_address or
node.transports.length or
node.exit_policy.length
%}
Config
{% if node.type %}
Type
{{ node.type | title }}
{% endif %}
{% if node.platform %}
Platform
{{ node.platform }}
{% 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.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 %}
{% endif %}
{% if
node.host_name or
node.contact or
node.country_name or
node.region_name or
node.city_name or
node.as_number or
node.as_name or
node.consensus_weight
%}