audit log markup

This commit is contained in:
Andrew Croce 2018-09-25 16:03:08 -04:00
parent 155ee1c21d
commit d87f2b17ed

View File

@ -3,20 +3,31 @@
{% block content %} {% block content %}
<div class="panel"> <section class="block-list">
<section class="block-list"> <header class="block-list__header">
<header class="block-list__header"> <h1 class="block-list__title">Activity History</h1>
<h1 class="block-list__title">Acitivity History</h1> </header>
</header>
<ul> <ul>
{% for event in audit_events %} {% for event in audit_events %}
<li class="block-list__item">{{ event }}</li> <li class="block-list__item">
{% endfor %} <article class='audit-log__item'>
</ul> <div class='audit-log__item__timestamp'>
<local-datetime timestamp='{{ event.time_created }}'></local-datetime>
</div>
</section> <div>
<h2 class='h4 audit-log__item__name'>
{{ event.user.full_name if event.user else "ATAT System" }}
</h2>
{{ event.activity_description }}
</div>
</article>
</li>
{% endfor %}
</ul>
</section>
</div>
{% endblock %} {% endblock %}