Private
Public Access
1
0
This commit is contained in:
2023-09-20 22:34:41 +02:00
parent f03a62da9a
commit e994fd1bf3
2 changed files with 97 additions and 0 deletions

View File

@@ -0,0 +1,81 @@
{% extends "boatmovers_base.html" %}
{% block main %}
<form action="" method="post">{% csrf_token %}
{{ form.as_table }}
<input type="submit" value="Compare" />
</form>
<table width="100%" class="listtable shortpadded">
<thead>
<tr>
<th>
#
</th>
<th>
Name
</th>
<th>
Club
</th>
<th>
Gender
</th>
<th>
Rank 1
</th>
<th>
Rank 2
</th>
<th>
Positions Climbed
</th>
<th>
Score 1
</th>
<th>
Score 2
</th>
<th>
Score Increase
</th>
</tr>
</thead>
<tbody>
{% for index, row in df.iterrows %}
<tr>
<td>
{{ forloop.counter }}
</td>
<td>
{{ row.Name }}
</td>
<td>
{{ row.club }}
</td>
<td>
{{ row.gender }}
</td>
<td>
{{ row.Rank1 }}
</td>
<td>
{{ row.Rank2 }}
</td>
<td>
{{ row.PositionsClimbed }}
</td>
<td>
{{ row.Score1|floatformat:2 }}
</td>
<td>
{{ row.Score2|floatformat:2 }}
</td>
<td>
{{ row.ScoreIncrease|floatformat:2 }}
</td>
</tr>
{% endfor %}
</tbody>
</table>
{% endblock %}