summaryrefslogtreecommitdiffstats
path: root/templates/index.html
diff options
context:
space:
mode:
authorAnton Luka Šijanec <anton@sijanec.eu>2023-02-21 20:30:52 +0100
committerAnton Luka Šijanec <anton@sijanec.eu>2023-02-21 20:30:52 +0100
commit1e21a8bc7d39547e8e5cb8f9bd7322d7a6c22d86 (patch)
tree16bf83a61ce8dacd31a51fdbce9d8ef99cf97928 /templates/index.html
parentescaping html in filenames (diff)
downloadtravnik-1e21a8bc7d39547e8e5cb8f9bd7322d7a6c22d86.tar
travnik-1e21a8bc7d39547e8e5cb8f9bd7322d7a6c22d86.tar.gz
travnik-1e21a8bc7d39547e8e5cb8f9bd7322d7a6c22d86.tar.bz2
travnik-1e21a8bc7d39547e8e5cb8f9bd7322d7a6c22d86.tar.lz
travnik-1e21a8bc7d39547e8e5cb8f9bd7322d7a6c22d86.tar.xz
travnik-1e21a8bc7d39547e8e5cb8f9bd7322d7a6c22d86.tar.zst
travnik-1e21a8bc7d39547e8e5cb8f9bd7322d7a6c22d86.zip
Diffstat (limited to 'templates/index.html')
-rw-r--r--templates/index.html10
1 files changed, 9 insertions, 1 deletions
diff --git a/templates/index.html b/templates/index.html
index d83dfdf..2547750 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -31,7 +31,15 @@
</select>
<input type=submit value=išči />
{% if request.args.get("regex") %}
- <p>število zadetkov: {{ lentorrents }}</p>
+ {% if lentorrents < 100 %}
+ <p>
+ število zadetkov: {{ lentorrents }}
+ </p>
+ {% else %}
+ <p>
+ prikazujem le prvih sto zadetkov
+ </p>
+ {% endif %}
{% endif %}
{% for torrent in found_torrents %}
<h2><a href={{ torrent.magnet }}>{{ torrent.name | e }}</a></h2>