51 lines
1.3 KiB
HTML
51 lines
1.3 KiB
HTML
{% extends "base.html" %}
|
|
{% load staticfiles %}
|
|
|
|
{% 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 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>
|
|
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>A FIT file with location data (experimental)</li>
|
|
</ul>
|
|
</p>
|
|
</div>
|
|
|
|
|
|
|
|
</form>
|
|
{% endblock %}
|