previous stash added to display
This commit is contained in:
1 parent
71c9e33b85
commit
40b18cbf41
1 file changed
+19
@@ -121,6 +121,25 @@
|
||||
</form>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
||||
{% if status['previous_stash'] %}
|
||||
<h1>Predchádzajúca kôpka:</h1>
|
||||
<table style="width: auto;">
|
||||
{% for player in range(status['previous_stash']['first_player'], status['previous_stash']['first_player'] + 4) %}
|
||||
<th>{{ players[player % 4] }}</th>
|
||||
{% endfor %}
|
||||
<tr>
|
||||
{% for player in range(status['previous_stash']['first_player'], status['previous_stash']['first_player'] + 4) %}
|
||||
<td class="card_display">
|
||||
{% if status['previous_stash']['cards'][player % 4] %}
|
||||
<img src="/static/cards/{{ status['previous_stash']['cards'][player % 4] }}.png" width="80" height="auto">
|
||||
{% endif %}
|
||||
</td>
|
||||
{% endfor %}
|
||||
</tr>
|
||||
</table>
|
||||
{% endif %}
|
||||
|
||||
</div>
|
||||
|
||||
<div id="standings">
|
||||
|
||||
Reference in new issue
Block a user