{% extends "template.html.j2" %} {% block content %}

docker

{% if docker == None %}

Couldn't access the docker API. Is sherpa running?

{% else %} {% for name, status in docker.items() %} {% if status == "running" %} {% else %} {% endif %} {% endfor %}
{{name}}{{status}}{{status}}
{% endif %}

transmission

{% if trans == None %}

Couldn't access the transmission API. Is docker container running?

{% else %}
downloaded {{trans["bytes_dl"]}}
uploaded {{trans["bytes_up"]}}
torrents {{trans["num"]}}
ratio {{trans["ratio"]}}
active for {{trans["active_for"]}}
{% endif %}
statistics of my two old torrent clients which were shut down recently ;_;

pihole

{% if pihole == None %}

Couldn't access the pihole API. Is docker container running?

{% else %} {% if pihole["status"] == "enabled" %} {% else %} {% endif %}
status{{pihole["status"]}}{{pihole["status"]}}
queries {{pihole["queries"]}}
clients {{pihole["clients"]}}
percentage blocked {{pihole["percentage"]}}%
blocked requests {{pihole["blocked"]}}
domains in blocklist {{pihole["domains"]}}
last updated {{pihole["last_updated"]}}
{% endif %}
{% endblock %}