mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-10-18 05:51:26 +02:00
At last something that works pretty well under firefox and with multiple selection possible (using Mootools HtmlTable.Select). There are some problems with IE and Chrome (the position: relative on td elements is not well supported). Mootools update (1.3) close #109 Checking limit when creating/updating a mailbox.
29 lines
726 B
HTML
29 lines
726 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 %}
|
|
<div style="position:relative">
|
|
<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>
|
|
</div>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|