add audit logs
parent
143d08f2f7
commit
3094205362
@ -0,0 +1,29 @@
|
||||
{% extends 'base.html' %}
|
||||
|
||||
{% block content %}
|
||||
|
||||
<div class="container" style="text-align:center;">
|
||||
<h1 class="title">Manage Mods</h1>
|
||||
<nav class="breadcrumb is-centered" aria-label="breadcrumbs">
|
||||
<ul>
|
||||
<li><a href="/">Home</a></li>
|
||||
<li><a href="{{ url_for('mod.main') }}">Mods</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
<section class="section">
|
||||
{% for log in logs %}
|
||||
<article class="message" style="width: 40%; margin: 1em auto;">
|
||||
<div class="message-header">
|
||||
<p>{{ log.user.username }} - {{ log.timestamp | humanize }} </p>
|
||||
</div>
|
||||
<div class="message-body">
|
||||
{{ log.action }}
|
||||
</div>
|
||||
</article>
|
||||
{% endfor %}
|
||||
</section>
|
||||
</div>
|
||||
|
||||
{% endblock %}
|
||||
|
||||
{% block footer %}{% endblock %}
|
Loading…
Reference in New Issue