list of intervals
This commit is contained in:
47
rowers/templates/intervals_list_import.html
Normal file
47
rowers/templates/intervals_list_import.html
Normal file
@@ -0,0 +1,47 @@
|
||||
{% extends "newbase.html" %}
|
||||
{% load static %}
|
||||
{% load rowerfilters %}
|
||||
|
||||
{% block title %}Sessions on intervals.icu{% endblock %}
|
||||
|
||||
{% block main %}
|
||||
<h1>Sessions on Intervals.icu</h1>
|
||||
{% if folders %}
|
||||
<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>Plan</th>
|
||||
<th>Date</th>
|
||||
<th>Description</th>
|
||||
<th>Type</th>
|
||||
<th>Training Load</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for folder in folders %}
|
||||
{% for session in folder.children %}
|
||||
<tr>
|
||||
<td>
|
||||
<input type="checkbox" name="session" value="{{ session.id }}">
|
||||
</td>
|
||||
<td>{{ folder.name }}</td>
|
||||
<td>{{ session.date }}</td>
|
||||
<td>{{ session.description }}</td>
|
||||
<td>{{ session.type }}</td>
|
||||
<td>{{ session.icu_training_load }}</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
</form>
|
||||
</li>
|
||||
</ul>
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user