Private
Public Access
1
0
Files
rowsandall/cvkbrno/templates/cvkbrno_meterboard.html~
sanderroosendaal 3eed3cc3e7 Uploading files
2016-10-30 17:39:32 +01:00

50 lines
1.1 KiB
HTML

{% extends "cvkbrnobase.html" %}
{% load i18n %}
{% load staticfiles %}
{% load rowerfilters %}
{% block title %}{% trans "Meterboard" %}{% endblock %}
{% block content %}
<div id="workouts" class="grid_6 alpha">
{% if form.errors %}
<p style="color: red;">
Please correct the error{{ form.errors|pluralize }} below.
</p>
{% endif %}
<h1>{% trans "Meterboard" %}</h1>
{{ data|safe }}
{% csrf_token %}
</div>
<div id="outings" class="grid_6 omega">
<h1>{% trans "Recent Outings" %}</h1>
<table class="listtable" width=100%>
<thead>
<tr>
<th>{% trans "Date" %}</th>
<th>{% trans "Name" %}</th>
<th>{% trans "Rower" %}</th>
<th>{% trans "Status" %}</th>
</tr>
</thead>
<tbody>
{% for outing in theoutings %}
<tr>
<td>{{ outing.starttime }}</td>
<td>{{ outing.boat.boatname }}</td>
<td>{{ outing.rower.user.first_name }} {{ outing.rower.user.last_name }}</td>
<td><a href="/cvkbrno/outing/{{ outing.id }}">{% trans outing.status %}</a></td>
</tr>
{% endfor %}
<tbody>
</table>
</div>
{% endblock %}