blob: a492b7ad9d105b53e71c0da03b95405e54a6d52e (
plain)
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
50
51
52
53
54
55
56
57
|
<html>
<head>
<title>Noteman</title>
<style>
.box {
padding: 10px;
border: 1px solid black;
}
#name {
width: 300px;
}
td {
padding: 0 15px
}
</style>
</head>
<body>
<div class="box">
<table>
<tr>
<th>Location format</th>
</tr>
<tr>
<td>Page</td>
<td>P</td>
</tr>
<tr>
<td>Book</td>
<td>B[id]S[page]</td>
</tr>
<tr>
<td>Notes git repo</td>
<td>G</td>
</tr>
</table><br><br>
<form method="POST">
<label for="name">Name</label>
<input id="name" name="name" type="text">
<label for="location">Location</label>
<input id="location" name="location" type="text">
<input type="submit" value="go">
</form>
</div><br><br>
<table>
<tr>
<th>Ref</th>
<th>Name</th>
</tr>
{{ range .Notes }}
<tr>
<td>#{{ .Hash }}/{{ .Location }}</td>
<td>{{ .Name }}</td>
</tr>
{{ end }}
</table>
</body>
</html>
|