initial incomplete version
This commit is contained in:
@@ -14,6 +14,7 @@
|
||||
<h1>{{ race.name }}</h1>
|
||||
|
||||
<ul class="main-content">
|
||||
{% if race.sessiontype == 'race' %}
|
||||
<li class="grid_2">
|
||||
<p>
|
||||
<h2>Course</h2>
|
||||
@@ -24,6 +25,7 @@
|
||||
{{ coursescript|safe }}
|
||||
</div>
|
||||
</li>
|
||||
{% endif %}
|
||||
<li class="grid_2">
|
||||
<div id="raceinfo">
|
||||
<p>
|
||||
@@ -32,11 +34,23 @@
|
||||
<p>
|
||||
<table class="listtable shortpadded" width="100%">
|
||||
<tbody>
|
||||
{% if race.sessiontype == 'race' %}
|
||||
<tr>
|
||||
<th>Course</th><td>{{ race.course }}</td>
|
||||
</tr>
|
||||
{% else %}
|
||||
<tr>
|
||||
<th>Distance</th><td>{{ race.sessionvalue }} m</td>
|
||||
<th>Indoor Race</th><td>To be rowed on a Concept2 ergometer</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Time Zone</th><td>{{ race.timezone }}</td>
|
||||
</tr>
|
||||
{% endif %}
|
||||
<tr>
|
||||
<th>
|
||||
{{ race.sessionmode }} challenge
|
||||
</th><td>{{ race.sessionvalue }} {{ race.sessionunit }}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Registration closure</th>
|
||||
@@ -81,38 +95,42 @@
|
||||
{% for button in buttons %}
|
||||
{% if button == 'registerbutton' %}
|
||||
<p>
|
||||
<a href="/rowers/virtualevent/{{ race.id }}/register"
|
||||
class="blue button">Register</a>
|
||||
{% if race.sessiontype == 'race' %}
|
||||
<a href="/rowers/virtualevent/{{ race.id }}/register">Register</a>
|
||||
{% else %}
|
||||
<a href="/rowers/virtualevent/{{ race.id }}/registerindoor">Register</a>
|
||||
{% endif %}
|
||||
</p>
|
||||
{% endif %}
|
||||
{% if button == 'submitbutton' %}
|
||||
<a href="/rowers/virtualevent/{{ race.id }}/submit" class="blue button">Submit Result</a>
|
||||
<a href="/rowers/virtualevent/{{ race.id }}/submit">Submit Result</a>
|
||||
{% endif %}
|
||||
{% if button == 'resubmitbutton' %}
|
||||
<p>
|
||||
<a href="/rowers/virtualevent/{{ race.id }}/submit"
|
||||
class="blue button">Submit New Result</a>
|
||||
<a href="/rowers/virtualevent/{{ race.id }}/submit">Submit New Result</a>
|
||||
</p>
|
||||
{% endif %}
|
||||
{% if button == 'withdrawbutton' %}
|
||||
<p>
|
||||
<a href="/rowers/virtualevent/{{ race.id }}/withdraw"
|
||||
class="blue button">Withdraw</a>
|
||||
<a href="/rowers/virtualevent/{{ race.id }}/withdraw">Withdraw</a>
|
||||
</p>
|
||||
{% endif %}
|
||||
{% if button == 'adddisciplinebutton' %}
|
||||
<p>
|
||||
<a href="/rowers/virtualevent/{{ race.id }}/adddiscipline"
|
||||
class="blue button">
|
||||
<a href="/rowers/virtualevent/{{ race.id }}/adddiscipline">
|
||||
Register New Boat
|
||||
</a>
|
||||
</p>
|
||||
{% endif %}
|
||||
{% if button == 'editbutton' %}
|
||||
<p>
|
||||
<a href="/rowers/virtualevent/{{ race.id }}/edit"
|
||||
class="blue button">Edit Race
|
||||
{% if race.sessiontype == 'race' %}
|
||||
<a href="/rowers/virtualevent/{{ race.id }}/edit">Edit Race
|
||||
</a>
|
||||
{% else %}
|
||||
<a href="/rowers/virtualevent/{{ race.id }}/editindoor">Edit Race
|
||||
</a>
|
||||
{% endif %}
|
||||
</p>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
@@ -135,8 +153,10 @@
|
||||
<th> </th>
|
||||
<th> </th>
|
||||
<th> </th>
|
||||
{% if race.sessiontype == 'race' %}
|
||||
<th>Class</th>
|
||||
<th>Boat</th>
|
||||
{% endif %}
|
||||
<th>Time</th>
|
||||
<th>Distance</th>
|
||||
<th>Details</th>
|
||||
@@ -153,8 +173,10 @@
|
||||
<td>{{ result.age }}</td>
|
||||
<td>{{ result.sex }}</td>
|
||||
<td>{{ result.weightcategory }}</td>
|
||||
{% if race.sessiontype == 'race' %}
|
||||
<td>{{ result.boatclass }}</td>
|
||||
<td>{{ result.boattype }}</td>
|
||||
{% endif %}
|
||||
<td>{{ result.duration |durationprint:"%H:%M:%S.%f" }}</td>
|
||||
<td>{{ result.distance }} m</td>
|
||||
<td>
|
||||
@@ -170,8 +192,10 @@
|
||||
<td>{{ result.age }}</td>
|
||||
<td>{{ result.sex }}</td>
|
||||
<td>{{ result.weightcategory }}</td>
|
||||
{% if race.sessiontype == 'race' %}
|
||||
<td>{{ result.boatclass }}</td>
|
||||
<td>{{ result.boattype }}</td>
|
||||
{% endif %}
|
||||
<td>DNS</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
@@ -210,8 +234,10 @@
|
||||
<tr>
|
||||
<th>Name</th>
|
||||
<th>Team Name</th>
|
||||
{% if race.sessiontype == 'race' %}
|
||||
<th>Class</th>
|
||||
<th>Boat</th>
|
||||
{% endif %}
|
||||
<th>Age</th>
|
||||
<th>Gender</th>
|
||||
<th>Weight Category</th>
|
||||
@@ -221,8 +247,10 @@
|
||||
<tr>
|
||||
<td>{{ record.username }}
|
||||
<td>{{ record.teamname }}</td>
|
||||
{% if race.sessiontype == 'race' %}
|
||||
<td>{{ record.boatclass }}</td>
|
||||
<td>{{ record.boattype }}</td>
|
||||
{% endif %}
|
||||
<td>{{ record.age }}</td>
|
||||
<td>{{ record.sex }}</td>
|
||||
<td>{{ record.weightcategory }}</td>
|
||||
@@ -247,6 +275,14 @@
|
||||
Virtual races are intended as an informal way to add a
|
||||
competitive element to training and as a quick way to set
|
||||
up and manage small regattas.
|
||||
</p>
|
||||
<p>
|
||||
On the water races are rowed on the course shown. You cannot submit results rowed
|
||||
on other bodies of water.
|
||||
</p>
|
||||
<p>
|
||||
Indoor races are open for all, wherever you live. However, be aware of the
|
||||
time zone for the race window.
|
||||
</p>
|
||||
<p>
|
||||
As a rowsandall.com user, you can
|
||||
@@ -271,6 +307,10 @@
|
||||
you delete the respective workout or remove your account.
|
||||
By registering, you agree with this and the race rules.
|
||||
</p>
|
||||
<p>
|
||||
If you use a manually added workout for your indoor race result,
|
||||
please attach a screenshot of the ergometer display for verification.
|
||||
</p>
|
||||
<p>
|
||||
Virtual Racing on rowsandall.com is honors based. Please be a good
|
||||
sport, submit real results rowed by you, and make sure you set the
|
||||
|
||||
Reference in New Issue
Block a user