-
Notifications
You must be signed in to change notification settings - Fork 0
/
confirm_result.html
26 lines (23 loc) · 1.17 KB
/
confirm_result.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
<html>
<head>
<title>TouchType Table Tennis Tracker</title>
<link rel="stylesheet" type="text/css" href="stylesheets/main.css"/>
</head>
<body>
<p>{{ challenger_name }} {{ challenger_score }} - {{ defender_score }} {{ defender_name }}</p>
<p>{{ challenger_name }} {% if challenge_success %} won {% else %} lost {% endif %} a {% if ladder_game %} ladder {% else %} friendly {% endif %} game against {{ defender_name }}. </p>
<p>Is this correct?</p>
<form action="/" method="post">
<input type='submit' value="Yes"/>
<input type='hidden' name='challenger' value='{{ challenger }}'/>
<input type='hidden' name='defender' value='{{ defender }}'/>
<input type='hidden' name='challenger_score' value='{{ challenger_score }}'/>
<input type='hidden' name='defender_score' value='{{ defender_score }}'/>
<input type='hidden' name='ladder_game' value='{{ ladder_game }}'/>
<input type='hidden' name='challenge_success' value='{{ challenge_success }}'/>
</form>
<form action="/" method="post">
<input type='submit' value="No, go back"/>
</form>
</body>
</html>