Private
Public Access
1
0
Files
rowsandall/rowers/templates/intervals_list_import.html

44 lines
983 B
HTML

{% extends "newbase.html" %}
{% load static %}
{% load rowerfilters %}
{% block title %}Sessions on intervals.icu{% endblock %}
{% block main %}
<h1>Sessions on Intervals.icu</h1>
{% if sessions %}
<ul class="main-content">
<li class="grid_4">
<form enctype="multipart/form-data" method="post">
{% csrf_token %}
<input type="submit" name="action" value="Import selected sessions">
<table width="70%" class="listtable">
<thead>
<tr>
<th>Import</th>
<th>Date</th>
<th>Description</th>
<th>Type</th>
<th>Training Load</th>
</tr>
</thead>
<tbody>
{% for session in sessions %}
<tr>
<td>
<input type="checkbox" name="session" value="{{ session.id }}">
</td>
<td>{{ session.start_date_local }}</td>
<td>{{ session.description }}</td>
<td>{{ session.type }}</td>
<td>{{ session.icu_training_load }}</td>
</tr>
{% endfor %}
</tbody>
</table>
</form>
</li>
</ul>
{% endif %}
{% endblock %}