Private
Public Access
1
0

list of intervals

This commit is contained in:
2024-12-11 23:10:14 +01:00
parent 9834b83f4b
commit 34b11f86c2
4 changed files with 137 additions and 2 deletions

View 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 %}