mirror of
https://github.com/sb745/NyaaV3.git
synced 2025-03-12 22:06:55 +02:00
35 lines
873 B
HTML
35 lines
873 B
HTML
![]() |
{% extends "layout.html" %}
|
||
|
{% block title %}Admin Log :: {{ config.SITE_NAME }}{% endblock %}
|
||
|
{% block body %}
|
||
|
{% from "_formhelpers.html" import render_field %}
|
||
|
<div class="table-responsive">
|
||
|
<table class="table table-bordered table-hover table-striped">
|
||
|
<thead>
|
||
|
<tr>
|
||
|
<th>#</th>
|
||
|
<th>Moderator/Admin</th>
|
||
|
<th>Log</th>
|
||
|
<th>Date</th>
|
||
|
</tr>
|
||
|
</thead>
|
||
|
<tbody>
|
||
|
{% for log in adminlog.items %}
|
||
|
<tr>
|
||
|
<td>{{ log.id }}</td>
|
||
|
<td>
|
||
|
<a href="{{ url_for('view_user', user_name=log.admin.username) }}">{{ log.admin.username }}</a>
|
||
|
</td>
|
||
|
<td><div markdown-text>{{ log.log }}</div></td>
|
||
|
<td>{{ log.created_time }}</td>
|
||
|
</tr>
|
||
|
{% endfor %}
|
||
|
</tbody>
|
||
|
</table>
|
||
|
</div>
|
||
|
|
||
|
<div class=pagination>
|
||
|
{% from "bootstrap/pagination.html" import render_pagination %}
|
||
|
{{ render_pagination(adminlog) }}
|
||
|
</div>
|
||
|
{% endblock %}
|