The whole-ass thing
This commit is contained in:
15
templates/final.html
Normal file
15
templates/final.html
Normal file
@ -0,0 +1,15 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel="stylesheet" href="/static/css/stylesheet.css">
|
||||
</head>
|
||||
<body class="finalpage">
|
||||
<div class="finalscore">
|
||||
Final Score:
|
||||
{{ points }}/{{ game_length }}
|
||||
</div>
|
||||
<form action="/">
|
||||
<input type="submit" value="Try again" />
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
28
templates/fontgame.html
Normal file
28
templates/fontgame.html
Normal file
@ -0,0 +1,28 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel="stylesheet" href="/static/css/stylesheet.css">
|
||||
</head>
|
||||
<body class="mainpage">
|
||||
<img src="{{ url }}" >
|
||||
<div class="right">
|
||||
<div class="stats">
|
||||
<div class="rounds">
|
||||
Round {{ i }} of {{ game_length }}
|
||||
</div>
|
||||
<div class="points">
|
||||
{{ points }}/{{ round_n }} points.
|
||||
</div>
|
||||
</div>
|
||||
<form method="post" action="/fontgame?id={{ id }}">
|
||||
<select name="font">
|
||||
{% for font in fonts %}
|
||||
<option>{{ font }}</option>
|
||||
{% endfor %}
|
||||
</select>
|
||||
<input type="hidden" name="id" value="{{ id }}">
|
||||
<input type="submit" value="Submit">
|
||||
</form>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
14
templates/menu.html
Normal file
14
templates/menu.html
Normal file
@ -0,0 +1,14 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel="stylesheet" href="/static/css/stylesheet.css">
|
||||
</head>
|
||||
<body class="menupage">
|
||||
<h1>Font Game</h1>
|
||||
<form method="post" action="/startgame">
|
||||
<label for="game_length">Game rounds:</label>
|
||||
<input type="number" name="game_length" min=1 class="number" value=10>
|
||||
<input type="submit" value="Start">
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
Reference in New Issue
Block a user