{% extends "base.html" %}
{% block content %}
Receiver Details
Name: | {{ receiver.name }} |
Airport: |
{% if receiver.airport is not none %}
{{ receiver.airport.name }}
{% else %}-{% endif %}
|
Altitude: | {{ receiver.altitude|int }}m |
AGL: | {{ receiver.agl|int }}m |
Version: | {{ receiver.version if receiver.version else '-' }} |
Platform: | {{ receiver.platform if receiver.platform else '-' }} |
First seen: | {{ receiver.firstseen }} |
Last seen: | {{ receiver.lastseen }} |
Airport nearby
# |
Name |
Distance [km] |
{% for (airport,distance,azimuth) in receiver.airports_nearby() %}
{{ loop.index }} |
{% if airport.takeoff_landings|length > 0 %}{{ airport|to_html_link|safe }}{% else %}{{ airport.name }}{% endif %} |
{{ '%0.1f' | format(distance/1000.0) }} ({{ azimuth|to_ordinal }}) |
{% endfor %}
{% endblock %}