{% extends "base.html" %} {% block content %}
Nr. | Aircraft | Type | Takeoff | Landing | Time | AGL | Remark | ||
---|---|---|---|---|---|---|---|---|---|
{{ loop.index }} | {% if entry.device.info is none %}{{ entry.device.address }}{% else %}{{ entry.device.info.registration }}{% endif %} | {% if entry.device.info is none %}(?){% else %}{{ entry.device.info.aircraft }}{% endif %} | {% if entry.takeoff_timestamp is not none and entry.takeoff_airport.id|string() == sel_airport %} {{ entry.takeoff_timestamp.strftime('%H:%M') }} {% endif %} | {% if entry.takeoff_track is not none and entry.takeoff_airport.id|string() == sel_airport %} {{ '%02d' | format(entry.takeoff_track/10) }} {% endif %} | {% if entry.landing_timestamp is not none and entry.landing_airport.id|string() == sel_airport %} {{ entry.landing_timestamp.strftime('%H:%M') }} {% endif %} | {% if entry.landing_track is not none and entry.landing_airport.id|string() == sel_airport %} {{ '%02d' | format(entry.landing_track/10) }} {% 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 %} | {% if entry.takeoff_airport is not none and entry.takeoff_airport.id|string() != sel_airport %}Take Off: {{ entry.takeoff_airport.name }} {% elif entry.landing_airport is not none and entry.landing_airport.id|string() != sel_airport %}Landing: {{ entry.landing_airport.name }} {% endif %} |