{% extends "base.html" %} {% set active = "history" %} {% block title %} — history{% endblock %} {% block content %}
| 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. | ||||||||