diff options
author | Anton Luka Šijanec <anton@sijanec.eu> | 2023-02-22 23:42:59 +0100 |
---|---|---|
committer | Anton Luka Šijanec <anton@sijanec.eu> | 2023-02-22 23:42:59 +0100 |
commit | 2f07cea8b7410248f36a851310e8ee65f3ad6f2a (patch) | |
tree | 8941825eb0692b6a487e6a6e86ce369265331c3a /templates/index.html | |
parent | telefonsko popravilo py webappa (diff) | |
download | travnik-2f07cea8b7410248f36a851310e8ee65f3ad6f2a.tar travnik-2f07cea8b7410248f36a851310e8ee65f3ad6f2a.tar.gz travnik-2f07cea8b7410248f36a851310e8ee65f3ad6f2a.tar.bz2 travnik-2f07cea8b7410248f36a851310e8ee65f3ad6f2a.tar.lz travnik-2f07cea8b7410248f36a851310e8ee65f3ad6f2a.tar.xz travnik-2f07cea8b7410248f36a851310e8ee65f3ad6f2a.tar.zst travnik-2f07cea8b7410248f36a851310e8ee65f3ad6f2a.zip |
Diffstat (limited to '')
-rw-r--r-- | templates/index.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/index.html b/templates/index.html index 2547750..9c0a3f1 100644 --- a/templates/index.html +++ b/templates/index.html @@ -10,7 +10,7 @@ </head> <body> <h1> - travnik + <a href=/>travnik</a> </h1> <form> <label for=regex> @@ -43,7 +43,7 @@ {% endif %} {% for torrent in found_torrents %} <h2><a href={{ torrent.magnet }}>{{ torrent.name | e }}</a></h2> - <p>velikost: {{ (torrent.size/(1024**3)) | round(3) }} GiB | datum najdbe: {{ torrent.found.strftime("%c") }} | število datotek: {{ torrent.files }}</p> + <p>velikost: {{ (torrent.size/(1024**3)) | round(3) }} GiB | prejel v {{ torrent.found.strftime("%c") }} od {{ torrent.ip }} | število datotek: {{ torrent.files }}</p> <b><ul> {% macro direktorij(dir) %} {% for ime, element in dir.items() %} @@ -54,7 +54,7 @@ {{ direktorij(element) }} </ul> {% else %} - ({{ (element/(1024**3)) | round(3) }} MiB) + ({{ (element/(1024**2)) | round(3) }} MiB) {% endif %} </li> {% endfor %} |