added manual and upload links to race page
This commit is contained in:
@@ -155,7 +155,37 @@ data-text="@rowsandall #rowingdata Participate in Indoor Rowing virtual race '{{
|
||||
</p>
|
||||
{% endif %}
|
||||
{% if button == 'submitbutton' %}
|
||||
<a href="/rowers/virtualevent/{{ race.id }}/submit">Submit Result</a>
|
||||
<table width=100% class="shortpadded">
|
||||
<tr>
|
||||
<td>
|
||||
<a href="/rowers/virtualevent/{{ race.id }}/submit">Submit Workout</a>
|
||||
</td>
|
||||
<td>
|
||||
Submit a workout that is already on the site as your race result
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="/rowers/upload">Upload your race result</a>
|
||||
</td>
|
||||
<td>
|
||||
Upload a new workout to the site and submit it as a result. You
|
||||
need a workout data file.
|
||||
</td>
|
||||
</tr>
|
||||
{% if race.sessiontype == 'indoorrace' %}
|
||||
<tr>
|
||||
<td>
|
||||
<a href="/rowers/addmanual">Enter your race result manually</a>
|
||||
</td>
|
||||
<td>
|
||||
If you don't have a data file, enter the results
|
||||
manually. If you have a photo of the monitor with the
|
||||
result, it is recommended to add this to the workout.
|
||||
</td>
|
||||
</tr>
|
||||
{% endif %}
|
||||
</table>
|
||||
{% endif %}
|
||||
{% if button == 'resubmitbutton' %}
|
||||
<p>
|
||||
|
||||
@@ -118,6 +118,16 @@ $('#id_workouttype').change();
|
||||
</pre>
|
||||
</p>
|
||||
</li>
|
||||
{% if indoorraces %}
|
||||
<li>
|
||||
<h1>Racing</h1>
|
||||
{% for race in indoorraces %}
|
||||
<p>
|
||||
<a href="/rowers/virtualevent/{{ race.id }}/submit">Submit this to Indoor Race {{ race.name }}</a>
|
||||
</p>
|
||||
{% endfor %}
|
||||
</li>
|
||||
{% endif %}
|
||||
{% if mapdiv %}
|
||||
<li class="grid_2">
|
||||
<script type="text/javascript" src="/static/js/bokeh-0.12.3.min.js"></script>
|
||||
|
||||
Reference in New Issue
Block a user