Files
TipPy/templates/charts.html
2016-01-20 16:56:31 +01:00

39 lines
1.1 KiB
HTML

{% extends "base.html" %}
{% block head %}
<title> TipPy Charts</title>
{% endblock %}
{% block nav %}
{% include "nav.html" with ls=ls season=season %}
{% endblock %}
{% block body %}
{% for mandant, users in mandant_dict.items %}
<div class="row">
<div class="col-md-6">
<h2>Bestenliste
{% if pos == 'rueck' %}
(Rückrunde)</h2>
<p><a href="/charts/{{ ls }}/{{ season }}/hin">Hinrunde anzeigen</a></p>
{% elif pos == 'hin' %}
(Hinrunde)</h3>
<p><a href="/charts/{{ ls }}/{{ season }}/rueck">Rückrunde anzeigen</a></p>
{% endif %}
<h4>Tippgemeinschaft: {{ mandant }}</h4>
<table class="table table-striped">
<tr>
<th>Spieler</th>
<th>Punkte</th>
</tr>
{% for user, score in users %}
<tr>
<td>{{ user }}</td>
<td>{{ score }}</td>
</tr>
{% endfor %}
</table>
</div>
</div>
{% endfor %}
{% endblock %}