mirror of
https://github.com/ae-utbm/sith.git
synced 2025-12-16 21:03:23 +00:00
introduce djhtml as jinja+scss formater
This commit is contained in:
committed by
Bartuccio Antoine
parent
13d0d2a300
commit
b25805e0a1
@@ -2,31 +2,31 @@
|
||||
{% from 'core/macros.jinja' import paginate %}
|
||||
|
||||
{% block title %}
|
||||
{% trans %}Operation logs{% endtrans %}
|
||||
{% trans %}Operation logs{% endtrans %}
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>{% trans %}Date{% endtrans %}</th>
|
||||
<th>{% trans %}Operation type{% endtrans %}</th>
|
||||
<th>{% trans %}Label{% endtrans %}</th>
|
||||
<th>{% trans %}Operator{% endtrans %}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for log in object_list %}
|
||||
<tr>
|
||||
<td>{{ log.date }} </td>
|
||||
<td>{{ log.get_operation_type_display() }}</td>
|
||||
<td>{{ log.label }}</td>
|
||||
<td>{{ log.operator }}</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>{% trans %}Date{% endtrans %}</th>
|
||||
<th>{% trans %}Operation type{% endtrans %}</th>
|
||||
<th>{% trans %}Label{% endtrans %}</th>
|
||||
<th>{% trans %}Operator{% endtrans %}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for log in object_list %}
|
||||
<tr>
|
||||
<td>{{ log.date }} </td>
|
||||
<td>{{ log.get_operation_type_display() }}</td>
|
||||
<td>{{ log.label }}</td>
|
||||
<td>{{ log.operator }}</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<br>
|
||||
{{ paginate(page_obj, paginator) }}
|
||||
<br>
|
||||
{{ paginate(page_obj, paginator) }}
|
||||
{% endblock content %}
|
||||
Reference in New Issue
Block a user