summaryrefslogtreecommitdiffstats
path: root/src/hp.html
blob: 64da49dbc9294065fe078d23dc5eca288394dcc2 (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
38
39
40
41
42
43
44
45
46
47
48
49
<!DOCTYPE html>
<html lang=sl>
	<!-- this file is a printf format. be sure to escape percent signs with percent percent. -->
	<!-- this format requires the following types (in order): query string, query string, result info string, results html string --> 
	<head>
		<meta charset=UTF-8 />
		<title>
			%s :: sear.c
		</title>
		<link rel=stylesheet href=//sijanec.eu/assets/css/styles.css?ref=sear.c /> <!-- TODO: direktno vstavljanje v dokument -->
		<link rel="shortcut icon" href="data:image/x-icon;," type="image/x-icon"> <!-- prevents favicon lookups -->
		<link rel="icon" href="data:;base64,iVBORw0KGgo=">
		<style>
			input[type=password], input[type=text], input[type=submit], input[type=button] {
				width: 100%%;
				height: 1,5cm;
				font-size: 18;
			}
			input .125 {
				width: 125%%;
			}
			input .50 {
				width: 50%%;
			}
			.result:hover {
				background: var(--bgc2);
			}
		</style>
	</head>
	<body>
		<form>
			<input type=text name=q class=50 value="{{ query }}" placeholder="sear.c ..." />
			<input type=submit class=125 value=🔍 /> <!-- magnifying glass emoji -->
			<input type=submit class=125 name=f value=Ʊ /> <!-- horseshoe unicode character -->
			<input type=submit class=125 name=i value=🖼 /> <!-- framed picture emoji -->
			<input type=submit class=125 name=v value=🎬 /> <!-- that thing they use in movies to denote start of a scene emoji -->
		</form>
		<h3>
			%s
		</h3>
		%s
		<hr>
		<h4 align=center>
			<a href=//git.sijanec.eu/sijanec/sear.c >
				sear.c
			</a>
		</h4>
	</body>
</html>