diff options
author | Anton Luka Šijanec <anton@sijanec.eu> | 2023-02-21 20:30:52 +0100 |
---|---|---|
committer | Anton Luka Šijanec <anton@sijanec.eu> | 2023-02-21 20:30:52 +0100 |
commit | 1e21a8bc7d39547e8e5cb8f9bd7322d7a6c22d86 (patch) | |
tree | 16bf83a61ce8dacd31a51fdbce9d8ef99cf97928 /templates/index.html | |
parent | escaping html in filenames (diff) | |
download | travnik-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.html | 10 |
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> |