previous stash added to display
This commit is contained in:
@@ -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