2013-10-22 17:11:54 +02:00
|
|
|
<h3>{{ data.title }}</h3>
|
|
|
|
|
2013-11-02 12:56:18 +01:00
|
|
|
{{ data.rows|length}} rows
|
2013-10-22 17:11:54 +02:00
|
|
|
<table class="table sortable table-striped table-bordered">
|
|
|
|
|
|
|
|
<thead class="activity_head">
|
|
|
|
<tr>
|
|
|
|
{% for col in data.cols %}
|
|
|
|
<th>{{ col }}</th>
|
|
|
|
{% endfor %}
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
{% for row in data.rows %}
|
2013-11-18 16:26:56 +01:00
|
|
|
<tr {% if row.row_class %}class="{{ row.row_class }}"{% endif %}>
|
|
|
|
{% for field in row.cells %}
|
2013-10-22 17:11:54 +02:00
|
|
|
<td sortable>{{ field }}</td>
|
|
|
|
{% endfor %}
|
|
|
|
</tr>
|
|
|
|
{% endfor %}
|
|
|
|
</tbody>
|
|
|
|
</table>
|