diff options
Diffstat (limited to 'templates/index.html')
-rw-r--r-- | templates/index.html | 37 |
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> |