mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-10-18 05:51:26 +02:00
27 lines
679 B
HTML
27 lines
679 B
HTML
<table id="{{ tableid }}">
|
|
<thead>
|
|
<tr>
|
|
{% for c in table.columns %}
|
|
<th id="{{ c.name }}" class="sortable" width="{{ c.width }}">
|
|
{{ c|safe }}
|
|
<span style="float: right"><img src="" /></span>
|
|
</th>
|
|
{% endfor %}
|
|
</tr>
|
|
</thead>
|
|
|
|
<tbody>
|
|
{% for row in table.rows %}
|
|
<tr id="{{ row.id }}" class="{% cycle 'odd' 'even' %}">
|
|
{% for cell in row.cols %}
|
|
{% if cell.safe %}
|
|
<td width="{{ c.width }}">{{ cell.value|safe }}</td>
|
|
{% else %}
|
|
<td width="{{ c.width }}" class="{{ cell.class }}">{{ cell.value }}</td>
|
|
{% endif %}
|
|
{% endfor %}
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|