added points summary

This commit is contained in:
Jakub Senderák
2020-04-22 18:18:48 +02:00
parent aa7b3c1a02
commit f4fd27a5c1
5 changed files with 28 additions and 3 deletions
+1 -1
View File
@@ -2,7 +2,7 @@
{{ form.hidden_tag() }}
<p>
{{ form.guess.label }}:
{{ form.guess(size=15) }}
{{ form.guess(size=15, autocomplete="off") }}
{% for error in form.guess.errors %}
<span style="color: red;">[{{ error }}]</span>
{% endfor %}
+6 -1
View File
@@ -126,13 +126,13 @@
<div id="standings">
<h1>Výsledky</h1>
<table style="width: auto;">
{% for series in status['standings'] %}
<tr>
<th>{{ players[0] }}</th>
<th>{{ players[1] }}</th>
<th>{{ players[2] }}</th>
<th>{{ players[3] }}</th>
</tr>
{% for series in status['standings'] %}
{% if series %}
{% for round in series %}
{% if round %}
@@ -145,6 +145,11 @@
{% endfor %}
{% endif %}
{% endfor %}
<tr id="points_summary_row">
{% for player in points_sums %}
<td class="points">{{ player }}</td>
{% endfor %}
</tr>
</table>
</div>
</div>