-
Notifications
You must be signed in to change notification settings - Fork 1
/
history.html
20 lines (18 loc) · 799 Bytes
/
history.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<!DOCTYPE html>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>Census: history for area {{.Area}}</title>
<link rel="preload" href="static/style.css" as="style">
<h1>Census: history for area {{.Area}}</h1>
{{range .Records}}
<form action="/history" method="post">
<input type="hidden" name="area" value="{{$.Area}}">
<input type="hidden" name="id" value="{{.Key.ID}}">
<input type="hidden" name="ts" value="{{.TimeStamp.Unix}}">
{{.TimeStamp.Format "2006-01-02 @ 3:04pm"}}:
<label for="people">People:</label>
<input type="number" name="people" min="0" max="125" value="{{.People}}" required>
<button type="submit">Update</button>
</form><br clear="all">
{{end}}
<link rel="stylesheet" property="stylesheet" href="static/style.css">