unfinished, untested
This commit is contained in:
@@ -29,6 +29,10 @@
|
||||
|
||||
{% if workouts %}
|
||||
<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/nkimport/?selectallnew=true">Select All New</a>
|
||||
<table width="70%" class="listtable">
|
||||
<thead>
|
||||
<tr>
|
||||
@@ -44,7 +48,12 @@
|
||||
{% for workout in workouts %}
|
||||
<tr>
|
||||
<td>
|
||||
<a href="/rowers/workout/nkimport/{{ workout|lookup:'id' }}/async/">Import</a></td>
|
||||
{% if workout|lookup:'new' == 'NEW' and checknew == 'true' %}
|
||||
<input checked type="checkbox" value={{ workout|lookup:'id' }} name="workoutid">
|
||||
{% else %}
|
||||
<input type="checkbox" value={{ workout|lookup:'id' }} name="workoutid">
|
||||
{% endif %}
|
||||
</td>
|
||||
<td>{{ workout|lookuplong:'name' }}</td>
|
||||
<td class="block" style="width:auto">{{ workout|lookuplong:'starttime' }}</td>
|
||||
<td>{{ workout|lookup:'duration' }} </td>
|
||||
@@ -55,6 +64,7 @@
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
</form>
|
||||
</li>
|
||||
{% else %}
|
||||
<li class="grid_4">
|
||||
|
||||
Reference in New Issue
Block a user