summaryrefslogtreecommitdiffstats
path: root/templates/index.html
diff options
context:
space:
mode:
authorAnton Luka Šijanec <anton@sijanec.eu>2023-02-21 15:18:10 +0100
committerAnton Luka Šijanec <anton@sijanec.eu>2023-02-21 15:18:10 +0100
commitbc053a9b414722990e9d62cce9f32963cfe43096 (patch)
treefb9c76e79c518ab47bb5b399ab64c53fdcf0e8e9 /templates/index.html
parentpie -> barh (diff)
downloadtravnik-bc053a9b414722990e9d62cce9f32963cfe43096.tar
travnik-bc053a9b414722990e9d62cce9f32963cfe43096.tar.gz
travnik-bc053a9b414722990e9d62cce9f32963cfe43096.tar.bz2
travnik-bc053a9b414722990e9d62cce9f32963cfe43096.tar.lz
travnik-bc053a9b414722990e9d62cce9f32963cfe43096.tar.xz
travnik-bc053a9b414722990e9d62cce9f32963cfe43096.tar.zst
travnik-bc053a9b414722990e9d62cce9f32963cfe43096.zip
Diffstat (limited to 'templates/index.html')
-rw-r--r--templates/index.html37
1 files changed, 37 insertions, 0 deletions
diff --git a/templates/index.html b/templates/index.html
new file mode 100644
index 0000000..b4f0804
--- /dev/null
+++ b/templates/index.html
@@ -0,0 +1,37 @@
+<!DOCTYPE html>
+<html lang=sl>
+ <head>
+ <meta charset=UTF-8 />
+ <meta name=viewport content='width=device-width, initial-scale=1.0'>
+ <title>
+ travnik
+ </title>
+ <link rel=stylesheet href=//searc.šijanec.eu./css.css />
+ </head>
+ <body>
+ <h1>
+ travnik
+ </h1>
+ <form>
+ <label for=regex>
+ regex
+ </label>
+ <input name=regex id=regex placeholder=DVDRip value="{{ request.args.get("regex")|e }}" />
+ razvrsti
+ <select name=order>
+ <option {{ "selected" if request.args.get("order") == "naraščajoče" else "" }} value=naraščajoče>naraščajoče</option>
+ <option {{ "selected" if request.args.get("order") == "padajoče" else "" }} value=padajoče>padajoče</option>
+ </select>
+ po
+ <select name=sort>
+ <!-- <option {{ "selected" if request.args.get("sort") == "popularnosti" else "" }} value=popularnosti>popularnosti</option> --> <!-- N/I -->
+ <option {{ "selected" if request.args.get("sort") == "velikosti" else "" }} value=velikosti>velikosti</option>
+ <option {{ "selected" if request.args.get("sort") == "datumu" else "" }} value=datumu>datumu najdbe</option>
+ <option {{ "selected" if request.args.get("sort") == "datotekah" }} value=datotekah>številu datotek</option>
+ </select>
+ <input type=submit value=išči />
+ </form>
+ <hr>
+ <p><a href=//ni.šijanec.eu./sijanec/travnik>travnik</a> ima <b>{{ torrentov }}</b> {{ mno(torrentov, ["torrentov", "torrent", "torrenta", "torrente"]) }}. prižigal se je v <b>{{ zagontekst }}</b> v {{ roundstartuptime }} s in porablja {{ rammib }} MiB fizičnega pomnilnika.
+ </body>
+</html>