django_coreprotect/templates/coreprotect/table/coreprotect.html

33 lines
1.0 KiB
HTML

<table class="table is-fullwidth is-striped is-bordered is-hoverable">
<thead>
<tr>
<th>Time</th>
<th>Player</th>
<th>Action</th>
<th>Data</th>
<th>X</th>
<th>Y</th>
<th>Z</th>
<th>World</th>
</tr>
</thead>
<tbody>
{% for result in results %}
<tr {% if result.x %}class="click-row" data-prompt="/tp {{ result.x }} {{ result.y }} {{ result.z }}"{% endif %}>
<td>{{ result.display_time }}</td>
<td>{{ result.player }}</td>
<td>{{ result.display_action }}</td>
<td>{{ result.display_data }}</td>
<td>{{ result.x }}</td>
<td>{{ result.y }}</td>
<td>{{ result.z }}</td>
<td>{{ result.world }}</td>
</tr>
{% endfor %}
</tbody>
</table>
<nav class="pagination is-rounded is-right" role="navigation">
<a class="pagination-previous" id="prev" {% if not prev %}disabled{% endif %}>Previous</a>
<a class="pagination-next" id="next" {% if not next %}disabled{% endif %}>Next</a>
<ul class="pagination-list"></ul>
</nav>