Files
modoboa/templates/common/tables.html
T
Antoine Nguyen 6c7a64e947 !! VERY UNSTABLE CHANGESET !!
Many updates in this commit:
 * first work on the webmail plugin, for now only emails listing and folders browsing is supported...
 * New login form,
 * New graphical layout (still needing improvments)
 * code factoring between webmail and quarantine plugins
 * etc.
2010-01-15 12:15:15 +01:00

19 lines
392 B
HTML

<table>
<tr>
{% for c in table.columns %}
<th>{{ c|safe }}</th>
{% endfor %}
</tr>
{% for row in table.rows %}
<tr id="{{ row.id }}" class="{% cycle 'odd' 'even' %}">
{% for cell in row.cols %}
{% if cell.safe %}
<td>{{ cell.value|safe }}</td>
{% else %}
<td>{{ cell.value }}</td>
{% endif %}
{% endfor %}
</tr>
{% endfor %}
</table>