{% extends "base.html" %} {% set active = "history" %} {% block title %} — history{% endblock %} {% block content %}

Download History

Clear
{% if data %}
Showing {{ data.rows|length }} of {{ data.total }} downloads — page {{ data.page }} of {{ data.pages }}
{% endif %}
{% if data and data.rows %} {% for row in data.rows %} {% endfor %} {% else %} {% endif %}
Timestamp User URL Platform Format Quality Size (MB) Status Duration
{{ row.started_at[:19] if row.started_at else '—' }} {{ row.username or row.user_id or '—' }} {% if row.url %} {{ row.url[:50] }}{% if row.url|length > 50 %}…{% endif %} {% else %}—{% endif %} {% if row.platform %} {{ row.platform }} {% else %}—{% endif %} {{ row.format or '—' }} {{ row.quality or '—' }} {% if row.file_size_bytes %} {{ "%.1f"|format(row.file_size_bytes / 1048576) }} {% else %}—{% endif %} {% if row.status == 'done' %} done {% elif row.status == 'error' %} error {% elif row.status == 'started' %} started {% else %} {{ row.status }} {% endif %} {% if row.download_duration_sec %} {{ "%.1f"|format(row.download_duration_sec) }}s {% else %}—{% endif %}
No downloads recorded yet.
{% if data and data.pages > 1 %} {% endif %} {% endblock %}