Private
Public Access
1
0

adding strava

This commit is contained in:
Sander Roosendaal
2023-02-11 17:20:02 +01:00
parent da9998eaf1
commit eaedf30369
20 changed files with 474 additions and 626 deletions

View File

@@ -9,11 +9,12 @@
<ul class="main-content">
{% if workouts %}
{% if integration == 'C2 Logbook' %}
<li class="grid_2">
<a href="/rowers/workout/c2import/all/{{ page }}">Import all NEW</a>
<p>This imports all workouts that have not been imported to rowsandall.com.
The action may take a longer time to process, so please be patient. Click on Import in the list below to import an individual workout.
</p>
</p>
</li>
<li class="grid_2">
<p>
@@ -29,11 +30,12 @@
</span>
</p>
</li>
{% endif %}
<li class="grid_4">
<form enctype="multipart/form-data" method="post">
{% csrf_token %}
<input name='workouts' type="submit" value="Import selected workouts">
<a href="/rowers/workout/c2list/?selectallnew=true">Select All New</a>
<a href="?selectallnew=true">Select All New</a>
<table width="70%" class="listtable">
<thead>
<tr>
@@ -43,7 +45,7 @@
<th> Total Distance</th>
<th> Type</th>
<th> Source</th>
<th> Comment</th>
<th> Name</th>
<th> New</th>
</tr>
</thead>
@@ -62,7 +64,7 @@
<td>{{ workout|lookup:'distance' }}</td>
<td>{{ workout|lookup:'rowtype' }}</td>
<td>{{ workout|lookup:'source' }}</td>
<td>{{ workout|lookup:'comment' }}</td>
<td>{{ workout|lookup:'name' }}</td>
<td>
{{ workout|lookup:'new' }}
</td>