{% extends "base.html" %} {% macro torrent_entry(torrent) %} {% set state_label,badge_type = status_map[torrent.state] or (torrent.state,'light') %}
  • {{torrent.name|truncate(75)}} (DL: {{torrent.dlspeed|filesizeformat(binary=true)}}/s, UL: {{torrent.upspeed|filesizeformat(binary=true)}}/s) {{state_label}} {% if torrent.category %} {{torrent.category}} {% endif %}
    {{(torrent.progress*100)|round(2)}} % (ETA: {{[torrent.eta,torrent.eta_act]|min|round(0)|timedelta(clamp=true)}})
  • {% endmacro %} {% block app_content %}

    QBittorrent {{qbt.version}} (DL: {{qbt.server_state.dl_info_speed|filesizeformat(binary=True)}}/s, UL: {{qbt.server_state.up_info_speed|filesizeformat(binary=True)}}/s)

    Total Uploaded
    {{qbt.server_state.alltime_ul|filesizeformat(binary=True)}}
    Total Downloaded
    {{qbt.server_state.alltime_dl|filesizeformat(binary=True)}}
    Session Uploaded
    {{qbt.server_state.up_info_data|filesizeformat(binary=True)}}
    Session Downloaded
    {{qbt.server_state.dl_info_data|filesizeformat(binary=True)}}
    Torrents
    {{qbt.torrents|length}}
    Total Queue Size
    {{qbt.torrents.values()|map(attribute='size')|sum|filesizeformat(binary=true)}}

    {% for state,torrents in qbt.torrents.values()|sort(attribute='state')|groupby('state') %} {% set state_label,badge_type = status_map[state] or (state,'light') %}
    {{state_label}}
    {{torrents|length}}
    {% endfor %} {% if state_filter %}
    [Clear filter]
    {% endif %}
    {% endblock %}