From 787a9421d1a61229b838dcbf17734c42172800f7 Mon Sep 17 00:00:00 2001 From: jwansek Date: Thu, 25 Aug 2022 14:19:10 +0000 Subject: Renamed template files, added active for torrents --- templates/services.jinja | 95 ------------------------------------------------ 1 file changed, 95 deletions(-) delete mode 100755 templates/services.jinja (limited to 'templates/services.jinja') diff --git a/templates/services.jinja b/templates/services.jinja deleted file mode 100755 index 310d148..0000000 --- a/templates/services.jinja +++ /dev/null @@ -1,95 +0,0 @@ -{% extends "template.jinja" %} -{% 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"]}}
- {% 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 %} \ No newline at end of file -- cgit v1.2.3