{% extends "base.html" %} {% macro tracker_status_icon(value) %} {% if value == 'K' %} OK {% elif value == 'N' %} Waiting {% else %} Error {% endif %} {% endmacro %} {% macro tracker_status_description(value) %} {% if value == 'K' %} {% elif value == 'N' %} {% elif value == 'T' %} (timed out) {% elif value == 'P' %} (protocol error) {% elif value == 'D' %} (DNS error) {% else %} (error) {% endif %} {% endmacro %} {% macro row_status(value) %} {% if value == 'K' %} OK {% elif value == 'S' %} Started {% else %} Error {% endif %} {% endmacro %} {% block content %}

System status

{% if log_rows %}

Library

Last {{max_log_rows}} update operations.

{% for row in log_rows %} {% endfor %}
{{row.timestamp|human_date_time}} UTC {{row_status(row.status)}}{{row.description}}
{% endif %}
{% if trackers %}

Trackers

Servers periodically queried for torrent swarm information. {% if max_last_scraped_on %} Last checked on {{max_last_scraped_on|human_date_time}} UTC{% endif %}

{% for tracker in trackers %} {% endfor %}
{{tracker_status_icon(tracker.status)}}{{tracker.url|nice_url}}{{tracker_status_description(tracker.status)}}

Torrents

New torrents fetched from server in the last {{max_chart_days}} days.

{% include '_chart.html' %}
{% endif %}
{% endblock %}