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

Device Details

Name:{{ device.name }}
Address:{{ device.address }}
Real Address:{{ device.real_address }}
Stealth:{{ device.stealth }}
Aircraft Type:{{ device.aircraft_type }}
Software Version:{{ device.software_version }}
Hardware Version:{{ device.hardware_version }}
First seen:{{ device.firstseen }}
Last seen:{{ device.lastseen }}

Device Info

{% for info in device.get_infos() %} {% endfor %}
Aircraft Registration Competition Sign Aircraft Type Source
{{ info.aircraft }} {{ info.registration }} {{ info.competition }} {{ info.aircraft_type }} {{ info.address_origin }}

Logbook

{% set date = none %} {% for entry in device.logbook %} {% endfor %}
Nr. Date Airport Time UTC Duration AGL
Takeoff Landing Takeoff Landing
{{ loop.index }} {% if date != entry.takeoff_timestamp.strftime('%Y-%m-%d') %}{{ entry.takeoff_timestamp.strftime('%Y-%m-%d') }}{% 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 %}