-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtwiddle_template.html
More file actions
42 lines (41 loc) · 1.46 KB
/
twiddle_template.html
File metadata and controls
42 lines (41 loc) · 1.46 KB
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
<html>
<head>
<title>TouchType Table Tennis Tracker Twiddler</title>
<link rel="stylesheet" type="text/css" href="stylesheets/main.css"/>
</head>
<body>
<p>{{ message }}</p>
<form action="" method="post">
<input type="hidden" name="twiddle" value="true"/>
<table>
<tr>
<td>
Challenger:
{% for person in ordered_people %}
<p><input type="radio" name="challenger" value="{{ person.name }}">{{ person.name }}</input></p>
{% endfor %}
Score:
<input type="text" name="challenger_score"/>
</td>
<td>
Defender:
{% for person in ordered_people %}
<p><input type="radio" name="defender" value="{{ person.name }}">{{ person.name }}</input></p>
{% endfor %}
Score:
<input type="text" name="defender_score"/>
</td>
<td>
<p><input type="radio" name="ladder_game" value="True" checked>Ladder game</input></p>
<p><input type="radio" name="ladder_game" value="False">Not a ladder game</input></p>
</td>
<td>
<p><input type="radio" name="challenge_success" value="True" checked>Challenge Success</input></p>
<p><input type="radio" name="challenge_success" value="False">Challenge Fail</input></p>
</td>
</tr>
</table>
<input type="submit">
</form>
</body>
</html>