145 lines
3.9 KiB
HTML
145 lines
3.9 KiB
HTML
{% extends "base.html" %}
|
|
{% load staticfiles %}
|
|
{% load rowerfilters %}
|
|
|
|
{% block title %}Rowsandall Courses List{% endblock %}
|
|
|
|
{% block scripts %}
|
|
|
|
{% endblock %}
|
|
|
|
{% block content %}
|
|
<style>
|
|
#mypointer {
|
|
cursor: pointer;
|
|
}
|
|
</style>
|
|
|
|
|
|
|
|
<div class="grid_12">
|
|
|
|
<div id="courses_table" class="grid_8 alpha">
|
|
<h1>Courses</h1>
|
|
|
|
{% if courses %}
|
|
<table width="100%" class="listtable shortpadded">
|
|
<thead>
|
|
<tr>
|
|
<th> Country</th>
|
|
<th> Name</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{% for course in courses %}
|
|
<tr>
|
|
<td> {{ course.country }} </td>
|
|
<td>
|
|
{% if course.manager.user == user %}
|
|
<a href="/rowers/courses/{{ course.id }}/edit">{{ course.name }}</a>
|
|
{% else %}
|
|
<a href="/rowers/courses/{{ course.id }}">{{ course.name }}</a>
|
|
{% endif %}
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
{% else %}
|
|
<p> No courses found </p>
|
|
{% endif %}
|
|
|
|
<div class="grid_6 alpha">
|
|
<div class="grid_2 prefix_1 alpha">
|
|
<a class="button small green" href="/rowers/courses/upload">Add Courses</a>
|
|
</div>
|
|
<p> </p>
|
|
<form id="searchform" action="/rowers/list-courses/"
|
|
method="get" accept-charset="utf-8">
|
|
<div class="grid_3 prefix_1 alpha">
|
|
<input class="searchfield" id="searchbox" name="q" type="text" placeholder="Search">
|
|
</div>
|
|
<div class="grid_1 omega">
|
|
<button class="button blue small" type="submit">
|
|
Search
|
|
</button>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
<div class="grid_2 omega">
|
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="grid_4 omega">
|
|
<div class="grid_4" id="announcements">
|
|
{% if announcements %}
|
|
<h3>What's New?</h3>
|
|
{% for a in announcements %}
|
|
<div class="site-announcement-box">
|
|
<div class="site-announcement">
|
|
<i>{{ a.created }}:</i>
|
|
{{ a.announcement|urlize }}
|
|
</div>
|
|
</div>
|
|
{% endfor %}
|
|
<p> </p>
|
|
{% endif %}
|
|
</div>
|
|
<div class="grid_4" id="about">
|
|
<h2>How-to</h2>
|
|
<p>
|
|
Courses allow you to mark the start & finish lines of your
|
|
test pieces and measure the time spent on the course (as opposed
|
|
to the total duration of a workout). This allows you to row and rank
|
|
marked courses.
|
|
|
|
To create a course, you use <a href="earth.google.com">Google Earth</a>
|
|
to mark the start and finish lines using polygons. The process is identical
|
|
to creating custom courses for the
|
|
<a href="http://performancephones.com/crewnerd/">CrewNerd</a>
|
|
app.
|
|
|
|
</p>
|
|
|
|
<p>CrewNerd has published a nice video tutorial of the process.
|
|
<a href="https://youtu.be/whhWFmMJbhM">Click here</a> to see the video. The part
|
|
we're interested in starts at 2:05.
|
|
</p>
|
|
|
|
<p>
|
|
In addition to start and finish areas, on rowsandall.com you can add additional
|
|
polygons to mark areas that you must pass (in that order). This allows for
|
|
courses with turns around buoys, respecting buoy lines, or respecting traffic
|
|
patterns on rivers and lakes.
|
|
</p>
|
|
|
|
<p>
|
|
<ul>
|
|
<li>Open Google Earth</li>
|
|
<li>Create Start polygon</li>
|
|
<li>Optional: Create First "must row through" polygon</li>
|
|
<li>Optional: Create subsequent "must row through" polygons</li>
|
|
<li>Create Finish polygon</li>
|
|
<li>Save Place as KML file</li>
|
|
<li>Upload the file to rowsandall.com using the "Add Courses" button</li>
|
|
</ul>
|
|
</p>
|
|
|
|
<p>You are allowed to have multiple courses in one KML file.
|
|
Your CrewNerd "courses.kml" file works out of the box</p>
|
|
|
|
<p>The site doesn't test for duplicate courses.</p>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
</div>
|
|
{% endblock %}
|