14 lines
394 B
Text
14 lines
394 B
Text
{% for state in games %}
|
|
<div class="game_state">
|
|
<div class="info">
|
|
<p>{{state.name}}</p>
|
|
{% if state.finished %}<p>Finished</p> {% endif %}
|
|
{% if state.turns %}<p>Turns: {{ state.turns }} </p> {% endif %}
|
|
</div>
|
|
<div class="players">
|
|
{% for player in state.players %}
|
|
<p>{{ player }}</p>
|
|
{% endfor %}
|
|
</div>
|
|
</div>
|
|
{% endfor %}
|