{% extends "base.html" %} {% block content %}

Airport Details

Name:{{ airport|to_html_flag|safe }}{{ airport.name }}
Code:{{ airport.code }}
Altitude:{{ airport.altitude|int }} m
Style:{{ airport.style }}
Description:{{ airport.description }}
Runway Direction:{{ airport.runway_direction }}
Runway Length:{{ airport.runway_length }} m
Frequency:{{ airport.frequency }} MHz

Receivers

{% for receiver in airport.receivers %} {% endfor %}
Name Status Version Platform
{{ receiver.name }} {{ receiver.state.name }} {{ receiver.version if receiver.version else '-' }} {{ receiver.platform if receiver.platform else '-' }}

Seen Senders

{% for sender in senders %} {% endfor %}
Name Last takeoff/landing Hardware version Software version
{{ sender|to_html_link|safe }} {% if sender.takeoff_landings %}{% set last_action = sender.takeoff_landings|last %}{% if last_action.is_takeoff %}↗{% else %}↘{% endif %} @ {{ last_action.timestamp.strftime('%Y-%m-%d %H:%M:%S') }}{% endif %} {% if sender.hardware_version is not none %}{{ sender.hardware_version }}{% else %}-{% endif %} {% if sender.software_version is not none %}{{ sender.software_version }}{% else %}-{% endif %}
{% endblock %}