adding more links to courses and selecting which users to see
This commit is contained in:
@@ -28,6 +28,22 @@
|
||||
|
||||
{{ mapscript|safe }}
|
||||
</li>
|
||||
{% if courses %}
|
||||
<li class="grid_2">
|
||||
{% for course in courses %}
|
||||
Timed Course: <a href="/rowers/courses/{{ course.id }}" target="_"/>{{ course }}</a><br />
|
||||
{% endfor %}
|
||||
</li>
|
||||
{% endif %}
|
||||
{% if suggested_courses %}
|
||||
<li class="grid_2">
|
||||
{% for course in suggested_courses %}
|
||||
Suggested Course: {{ course }}<br />
|
||||
<a href="/rowers/courses/{{ course.id }}/workout/{{ workout.id|encode }}" target="_"/>See course</a><br />
|
||||
<a href="/rowers/workout/{{ workout.id|encode }}/submit/{{ course.id }}" target="_"/>Measure time on course</a><br />
|
||||
{% endfor %}
|
||||
</li>
|
||||
{% endif %}
|
||||
</ul>
|
||||
|
||||
|
||||
|
||||
@@ -19,6 +19,18 @@
|
||||
|
||||
<h1>Course Map Comparison</h1>
|
||||
|
||||
<p>
|
||||
<form method="GET">
|
||||
{% for competitor in competitors %}
|
||||
{% if competitor in selected_users %}
|
||||
<input type="checkbox" name="users" value="{{ competitor.id|encode }}" checked>{{ competitor }}<br>
|
||||
{% else %}
|
||||
<input type="checkbox" name="users" value="{{ competitor.id|encode }}">{{ competitor }}<br>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
<input type="submit" value="Submit">
|
||||
</form>
|
||||
</p>
|
||||
<p>Click on a line to see the label. Double click on a line to remove it. Reload to get back all lines.</p>
|
||||
<p>We show your original GPS coordinates on the course. For course time, we use a finer interpolation, to get
|
||||
the exact time when you crossed the line.</p>
|
||||
|
||||
Reference in New Issue
Block a user