various design improvements
This commit is contained in:
@@ -2,6 +2,9 @@
|
||||
<head>
|
||||
<title>{% block title %}Wer bin ich{% endblock %}</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<style>
|
||||
.current_player_indicator { font-size: x-large; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
{% block content %}{% endblock %}
|
||||
|
||||
@@ -3,15 +3,18 @@
|
||||
{% block content %}
|
||||
|
||||
<h1>Choose a name</h1>
|
||||
<h2>You are: {{ current_player }}</h2>
|
||||
|
||||
<div class=current_player_indicator>You are: {{ current_player }}</div>
|
||||
|
||||
<p>
|
||||
Please name your player:
|
||||
<br/>
|
||||
<form method=post>
|
||||
<table>
|
||||
{% for player in other_players %}
|
||||
{{ player }}: <input type=text name={{ player }} /><br/>
|
||||
<tr><td>{{ player }}</td><td><input type=text name={{ player }} /></td></tr>
|
||||
{% endfor %}
|
||||
</table>
|
||||
<input type=submit />
|
||||
</form>
|
||||
</p>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
{% block content %}
|
||||
|
||||
<h1>Play!</h1>
|
||||
<h2>You are: {{ current_player }}</h2>
|
||||
<div class=current_player_indicator>You are: {{ current_player }}</div>
|
||||
|
||||
<p>
|
||||
<table>
|
||||
@@ -13,4 +13,8 @@
|
||||
</table>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<a href={{ edit_url }}>Edit name</a> <a href={{ url_for('create_game') }}>New game</a>
|
||||
</p>
|
||||
|
||||
{% endblock %}
|
||||
|
||||
@@ -7,9 +7,11 @@
|
||||
<p>
|
||||
Please select your player:
|
||||
<br/>
|
||||
<ul class=playerlist>
|
||||
{% for player in players %}
|
||||
<a href=./edit/{{ player }}>{{ player }}</a>
|
||||
<li><a href=./edit/{{ player }}>{{ player }}</a></li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
|
||||
Reference in New Issue
Block a user