-
Notifications
You must be signed in to change notification settings - Fork 0
/
visitor.html
45 lines (40 loc) · 1.51 KB
/
visitor.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
41
42
43
44
45
<!-- forms.html -->
{{if .Success}}
<h1>Submitted</h1>
<a href="/"><h2>MAIN PAGE<h2/></a>
<br>
<br>
<br>
<a href="/new_visitor/"><h2>ANOTHER!<h2/></a>
{{else}}
<h1>Leyburn Dump Tracker</h1>
<form method="POST">
<label>License Plate:</label><br />
<input type="text" name="plate"><br />
<br>
<label>Vehicle Type</label><br />
<input type="checkbox" name="vehicle_type" value="0">Car
<input type="checkbox" name="vehicle_type" value="1">Car + Trailer
<input type="checkbox" name="vehicle_type" value="2">Ute
<input type="checkbox" name="vehicle_type" value="3">Ute + Trailer
<input type="checkbox" name="vehicle_type" value="4">GVM
<input type="checkbox" name="vehicle_type" value="5">Van
<br>
<br>
<label>Waste Type</label><br />
<input type="checkbox" name="waste_type" value="General Waste">General Waste
<input type="checkbox" name="waste_type" value="General Waste + Recycling">General Waste + Recycling
<input type="checkbox" name="waste_type" value="Steel Waste">Steel Waste
<input type="checkbox" name="waste_type" value="General Waste + Steel Waste">General Waste + Steel Waste
<input type="checkbox" name="waste_type" value="Green Waste">Green Waste
<br>
<br>
<label>Domestic/Commercial</label><br />
<input type="checkbox" name="commercial" value="Domestic">Domestic Waste
<input type="checkbox" name="commercial" value="Commercial">Commercial Waste
<br>
<br>
<br>
<input type="submit">
</form>
{{end}}