2020-02-27 13:59:34 +00:00
|
|
|
{% extends "base/page.html" %}
|
2018-12-14 09:28:37 +00:00
|
|
|
|
|
|
|
{% load i18n %}
|
2020-05-15 08:54:31 +00:00
|
|
|
{% load passbook_utils %}
|
2018-12-14 09:28:37 +00:00
|
|
|
|
2020-02-27 13:59:34 +00:00
|
|
|
{% block page_content %}
|
|
|
|
<main role="main" class="pf-c-page__main" tabindex="-1" id="main-content">
|
|
|
|
<section class="pf-c-page__main-section pf-m-light">
|
|
|
|
<div class="pf-c-content">
|
|
|
|
<h1>
|
|
|
|
<i class="pf-icon pf-icon-catalog"></i>
|
|
|
|
{% trans 'Audit Log' %}
|
|
|
|
</h1>
|
2020-02-21 13:20:16 +00:00
|
|
|
</div>
|
2020-02-27 13:59:34 +00:00
|
|
|
</section>
|
|
|
|
<section class="pf-c-page__main-section pf-m-no-padding-mobile">
|
|
|
|
<div class="pf-c-card">
|
2020-06-09 11:40:03 +00:00
|
|
|
<div class="pf-c-toolbar">
|
|
|
|
<div class="pf-c-toolbar__content">
|
|
|
|
{% include 'partials/pagination.html' %}
|
|
|
|
</div>
|
2020-02-27 13:59:34 +00:00
|
|
|
</div>
|
|
|
|
<table class="pf-c-table pf-m-compact pf-m-grid-xl" role="grid">
|
|
|
|
<thead>
|
|
|
|
<tr role="row">
|
|
|
|
<th role="columnheader" scope="col">{% trans 'Action' %}</th>
|
|
|
|
<th role="columnheader" scope="col">{% trans 'Context' %}</th>
|
|
|
|
<th role="columnheader" scope="col">{% trans 'User' %}</th>
|
|
|
|
<th role="columnheader" scope="col">{% trans 'Creation Date' %}</th>
|
|
|
|
<th role="columnheader" scope="col">{% trans 'Client IP' %}</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody role="rowgroup">
|
|
|
|
{% for entry in object_list %}
|
|
|
|
<tr role="row">
|
|
|
|
<th role="columnheader">
|
|
|
|
<div>
|
|
|
|
<div>{{ entry.action }}</div>
|
|
|
|
<small>{{ entry.app|default:'-' }}</small>
|
|
|
|
</div>
|
|
|
|
</th>
|
|
|
|
<td role="cell">
|
|
|
|
<code>{{ entry.context }}</code>
|
|
|
|
</td>
|
|
|
|
<td role="cell">
|
|
|
|
<span>
|
|
|
|
{{ entry.user }}
|
|
|
|
</span>
|
|
|
|
</td>
|
|
|
|
<td role="cell">
|
|
|
|
<span>
|
|
|
|
{{ entry.created }}
|
|
|
|
</span>
|
|
|
|
</td>
|
|
|
|
<td role="cell">
|
|
|
|
<span>
|
|
|
|
{{ entry.client_ip }}
|
|
|
|
</span>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
{% endfor %}
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
<div class="pf-c-toolbar" id="page-layout-table-simple-toolbar-bottom">
|
|
|
|
{% include 'partials/pagination.html' %}
|
|
|
|
</div>
|
2018-12-14 09:28:37 +00:00
|
|
|
</div>
|
2020-02-27 13:59:34 +00:00
|
|
|
</section>
|
|
|
|
</main>
|
2018-12-14 09:28:37 +00:00
|
|
|
{% endblock %}
|