-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
40 lines (35 loc) · 849 Bytes
/
index.html
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
<!DOCTYPE html>
<html>
<head>
<title>Paperstore</title>
</head>
<body>
<form action="/" method="post" >
<fieldset>
<legend>Search</legend>
<input type="text" id="name" value="{{ term }}" name="term" />
<input type="submit" value="search" />
</fieldset>
</form>
<table>
<thead>
<th>Date</th>
<th>Tags</th>
<th>Preview</th>
</thead>
<tbody>
{% for result in results %}
<tr>
<td>{{ result.date }}</td>
<td>
<a href="file://{{ result['path'] }}">{{ result.tags }}</a>
</td>
<td>
<img src="http://localhost:4200/_blobs/docs/{{ result['preview'] }}" />
</td>
</tr>
{% endfor %}
</tbody>
</table>
</body>
</html>