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

Today

Senders Receivers Takeoffs Landings Sender Positions Sender Positions Total
{{ senders_today }} {{ receivers_today }} {{ takeoffs_today }} {{ landings_today }} {{ sender_positions_today }} {{ sender_positions_total }}

Logbook

{% set ns = namespace(mydate=none) %} {% for entry in logbook %} {% endfor %}
Aircraft Airport Time UTC
# Date Registration Type Takeoff Landing Takeoff Landing Duration AGL
{{ loop.index }} {% if ns.mydate != entry.reference_timestamp.strftime('%Y-%m-%d') %}{% set ns.mydate = entry.reference_timestamp.strftime('%Y-%m-%d') %}{{ ns.mydate }}{% endif %} {{ entry.sender|to_html_flag|safe }}{{ entry.sender|to_html_link|safe }} {% if entry.sender.infos|length > 0 and entry.sender.infos[0].aircraft|length %}{{ entry.sender.infos[0].aircraft }}{% else %}-{% endif %} {% if entry.takeoff_airport is not none %}{{ entry.takeoff_airport.name }}{% endif %} {% if entry.landing_airport is not none %}{{ entry.landing_airport.name }}{% endif %} {% if entry.takeoff_timestamp is not none %} {{ entry.takeoff_timestamp.strftime('%H:%M') }} {% endif %} {% if entry.landing_timestamp is not none %} {{ entry.landing_timestamp.strftime('%H:%M') }} {% endif %} {% if entry.duration is not none %}{{ entry.duration }}{% endif %} {% if entry.max_altitude is not none %}{{ '%0.1f'|format(entry.max_altitude - entry.takeoff_airport.altitude) }} m{% endif %}
{% endblock %}