121 lines
2.7 KiB
HTML
121 lines
2.7 KiB
HTML
{% extends "boatmovers_base.html" %}
|
|
{% block main %}
|
|
<style>
|
|
.row {
|
|
display: flex;
|
|
}
|
|
|
|
.column {
|
|
flex: 50%;
|
|
border-width: 10px;
|
|
padding: 10px;
|
|
margin: 10px;
|
|
}
|
|
</style>
|
|
|
|
|
|
<h1>
|
|
Boat Movers Ranking
|
|
</h1>
|
|
<div>
|
|
<a href="/boatmovers/?filter=f">Women</a>
|
|
<a href="/boatmovers/?filter=m">Men</a>
|
|
<a href="/boatmovers/">All</a>
|
|
</div>
|
|
<div class="row">
|
|
<div class="column">
|
|
<p>
|
|
<table>
|
|
<tr>
|
|
<th>Rank</th>
|
|
<th>Score</th>
|
|
<th>Name</th><th> </th>
|
|
<th>Club</th>
|
|
<th>Gender</th>
|
|
</tr>
|
|
{% for athlete in athletes %}
|
|
<tr>
|
|
<td>{{ forloop.counter }}</td>
|
|
<td>{{ athlete.trueskill_exposed|floatformat:2 }}</td>
|
|
<td>{{ athlete.first_name }}</td>
|
|
<td>{{ athlete.last_name }}</td>
|
|
<td>{{ athlete.club }}</td>
|
|
<td>{{ athlete.gender }}</td>
|
|
{% if user.is_authenticated and user.is_staff %}
|
|
<td><a href="/admin/boatmovers/athlete/{{ athlete.id }}/change/">edit</a></td>
|
|
{% endif %}
|
|
</tr>
|
|
{% endfor %}
|
|
</table>
|
|
</p>
|
|
</div>
|
|
<div class="column">
|
|
<p>
|
|
This page is an experimental ranking based on public race results,
|
|
mainly from Dutch Masters
|
|
rowing events. It is inspired by <a href="https://rowingstats.com/">Rowing Stats</a>.
|
|
</p>
|
|
<p>
|
|
The best way to climb the ranking is to win races against crews with people who are higher
|
|
in the ranking (unexpected win).
|
|
</p>
|
|
<p>
|
|
If your name shows up and you do not agree with that, contact us at info@rowsandall.com
|
|
and we'll remove your name.
|
|
</p>
|
|
<p>
|
|
If you'd like us to include a recent race result, use the "Add Race" link below. A race
|
|
is a single start (during a regatta).
|
|
</p>
|
|
<p>
|
|
You can also contact us at info@rowsandall.com.
|
|
</p>
|
|
<p>
|
|
This ranking was based on results from following races:
|
|
</p>
|
|
<p>
|
|
<table>
|
|
{% for race in races %}
|
|
<tr>
|
|
<td>{{ race.date }}</td><td>{{ race.name }}</td>
|
|
<td>
|
|
<a href="race/{{ race.id }}">View Race</a>
|
|
</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</table>
|
|
</p>
|
|
{% if user.is_authenticated and user.is_staff %}
|
|
<p>
|
|
Unprocessed races
|
|
</p>
|
|
<p>
|
|
<table>
|
|
{% for race in new_races %}
|
|
<tr>
|
|
<td>{{ race.date }}</td><td>{{ race.name }}</td>
|
|
<td>
|
|
<a href="race/{{ race.id }}">Manage Race</a>
|
|
</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</table>
|
|
</p>
|
|
<p>
|
|
<a href="athlete/add/">Add Athlete</a>
|
|
</p>
|
|
<p>
|
|
<a href="crew/add/">Add Crew</a>
|
|
</p>
|
|
{% endif %}
|
|
<p>
|
|
<a href="race/add/">Add Race</a>
|
|
</p>
|
|
{% if user.is_authenticated and user.is_staff %}
|
|
<p>
|
|
<a href="result/add/">Add Result</a>
|
|
</p>
|
|
{% endif %}
|
|
</div>
|
|
{% endblock %}
|