summaryrefslogtreecommitdiffstats
path: root/templates/index.html
diff options
context:
space:
mode:
authorAnton Luka Šijanec <anton@sijanec.eu>2023-02-22 23:42:59 +0100
committerAnton Luka Šijanec <anton@sijanec.eu>2023-02-22 23:42:59 +0100
commit2f07cea8b7410248f36a851310e8ee65f3ad6f2a (patch)
tree8941825eb0692b6a487e6a6e86ce369265331c3a /templates/index.html
parenttelefonsko popravilo py webappa (diff)
downloadtravnik-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.html6
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 %}