first version erase column
This commit is contained in:
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user