Private
Public Access
1
0

first version erase column

This commit is contained in:
Sander Roosendaal
2021-02-09 17:32:55 +01:00
parent 7295e0e70d
commit d0ecd7ceea
5 changed files with 195 additions and 2 deletions

View File

@@ -17,8 +17,24 @@
</form>
</p>
</li>
<li class="grid_4">
{{ htmltable|safe }}
<li class="maxheight grid_4">
<table width=100% class="listtable shortpadded">
<th>
{% for i in cols %}
<td><strong>{{i}}</strong> <a href="/rowers/workout/{{ workout.id|encode }}/{{i}}/erase/">erase</a></td>
{% endfor %}
</th>
{% for row in data.values.tolist %}
<tr>
<td>
{{ forloop.counter0 }}
</td>
{% for value in row %}
<td>{{ value }}</td>
{% endfor %}
</tr>
{% endfor %}
</table>
</li>
</ul>