From e791103cbbecbec2a87e9d1ab643ccb4fa36e311 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anton=20Luka=20=C5=A0ijanec?= Date: Tue, 21 Feb 2023 16:48:59 +0100 Subject: webui working --- templates/index.html | 28 ++++++++++++++++++++++++++-- 1 file changed, 26 insertions(+), 2 deletions(-) (limited to 'templates/index.html') diff --git a/templates/index.html b/templates/index.html index b4f0804..ea3c3fe 100644 --- a/templates/index.html +++ b/templates/index.html @@ -16,7 +16,7 @@ - + razvrsti + {% if request.args.get("regex") %} +

število zadetkov: {{ lentorrents }}

+ {% endif %} + {% for torrent in found_torrents %} +

{{ torrent.name | e }}

+

velikost: {{ (torrent.size/(1024**3)) | round(3) }} GiB | datum najdbe: {{ torrent.found.strftime("%c") }} | število datotek: {{ torrent.files }}

+ + {{ direktorij(torrent.tree) }} + {% endfor %}
-

travnik ima {{ torrentov }} {{ mno(torrentov, ["torrentov", "torrent", "torrenta", "torrente"]) }}. prižigal se je v {{ zagontekst }} v {{ roundstartuptime }} s in porablja {{ rammib }} MiB fizičnega pomnilnika. +

travnik ima {{ torrentov }} {{ mno(torrentov, ["torrentov", "torrent", "torrenta", "torrente"]) }}. prižgal se je v {{ zagontekst }} v {{ roundstartuptime }} s in porablja {{ rammib }} MiB fizičnega pomnilnika. -- cgit v1.2.3