nekrochan/templates/staff/logs.html

30 řádky
733 B
HTML
Spustitelný soubor

{% import "../macros/pagination.html" as pagination %}
{% import "../macros/staff-nav.html" as staff_nav %}
{% extends "base.html" %}
{% block title %}Záznamy{% endblock %}
{% block content %}
<h1 class="title">Záznamy</h1>
{% call staff_nav::staff_nav() %}
<hr>
<h2>Záznamy</h2>
<div class="table-wrap">
<table class="data-table center">
<tr>
<th>Zpráva</th>
<th>Datum</th>
</tr>
{% for record in records %}
<tr>
<td>{{ record.message }}</td>
<td>{{ record.created|czech_datetime }}</td>
</tr>
{% endfor %}
</table>
</div>
<hr>
{% call pagination::pagination("/staff/logs", pages, page) %}
{% endblock %}