64 lines
1.8 KiB
HTML
64 lines
1.8 KiB
HTML
{% extends "base.html" %}
|
|
{% load staticfiles %}
|
|
{% load rowerfilters %}
|
|
|
|
{% block title %}File loading{% endblock %}
|
|
|
|
{% block content %}
|
|
<form enctype="multipart/form-data" action="{{ formloc }}" method="post">
|
|
<div id="left" class="grid_6 alpha">
|
|
<h1>Upload Workout File</h1>
|
|
{% if user.is_authenticated and user|is_manager %}
|
|
<p>Looking for <a href="/rowers/workout/upload/team/">Team Manager
|
|
Upload?</a></p>
|
|
{% endif %}
|
|
{% if form.errors %}
|
|
<p style="color: red;">
|
|
Please correct the error{{ form.errors|pluralize }} below.
|
|
</p>
|
|
{% endif %}
|
|
|
|
<table>
|
|
{{ form.as_table }}
|
|
</table>
|
|
{% csrf_token %}
|
|
<div id="formbutton" class="grid_1 prefix_4 suffix_1">
|
|
<input class="button green" type="submit" value="Submit">
|
|
</div>
|
|
</div>
|
|
<div id="right" class="grid_6 omega">
|
|
<h1>Optional extra actions</h1>
|
|
<p>
|
|
<table>
|
|
{{ optionsform.as_table }}
|
|
|
|
</table>
|
|
</p>
|
|
<p>
|
|
You can select one static plot to be generated immediately for
|
|
this workout. You can select to upload to major fitness
|
|
platforms automatically.
|
|
If you check "make private", this workout will not be visible to your followers and will not show up in your teams' workouts list.
|
|
</p>
|
|
|
|
<p>
|
|
Valid file types are:
|
|
<ul>
|
|
<li>Painsled iOS Stroke Export (CSV)</li>
|
|
<li>Painsled desktop version Stroke Export (CSV)</li>
|
|
<li>A TCX file with location data (lat,long) - with or without Heart Rate value, for example from RiM or CrewNerd</li>
|
|
<li>RowPro CSV export</li>
|
|
<li>SpeedCoach GPS and SpeedCoach GPS 2 CSV export</li>
|
|
<li>ErgData CSV export</li>
|
|
<li>ErgStick CSV export</li>
|
|
<li>BoatCoach CSV export</li>
|
|
<li>A FIT file with location data (experimental)</li>
|
|
</ul>
|
|
</p>
|
|
</div>
|
|
|
|
|
|
|
|
</form>
|
|
{% endblock %}
|