summaryrefslogtreecommitdiffstats
path: root/templates/index.html
blob: b4f08047ed742f7a0afe0a483a0c35c33acfaadf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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>