Initial commit
This commit is contained in:
17
templates/admin/event_logs.html
Normal file
17
templates/admin/event_logs.html
Normal file
@@ -0,0 +1,17 @@
|
||||
{% extends 'admin/base.html' %}
|
||||
{% block content %}
|
||||
<h4>Event Logs</h4>
|
||||
<table class="table table-sm table-striped mt-3">
|
||||
<thead><tr><th>When</th><th>Event</th><th>Source</th><th>IP</th></tr></thead>
|
||||
<tbody>
|
||||
{% for l in logs %}
|
||||
<tr>
|
||||
<td>{{ l.triggered_at }}</td>
|
||||
<td>{{ l.event.name }} (#{{ l.event_id }})</td>
|
||||
<td>{{ l.trigger_source }}</td>
|
||||
<td>{{ l.source_ip or '' }}</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user