diff --git a/styles/components/_audit_log.scss b/styles/components/_audit_log.scss index 212ebb83..2cea4260 100644 --- a/styles/components/_audit_log.scss +++ b/styles/components/_audit_log.scss @@ -20,3 +20,15 @@ margin-bottom: $gap; } } + +.pagination { + width: 800px; + display: flex; + flex-direction: row; + align-content: space-between; + margin: auto; +} + +.page { + margin: auto; +} diff --git a/templates/audit_log.html b/templates/audit_log.html index b5c8fc1d..76afa6e3 100644 --- a/templates/audit_log.html +++ b/templates/audit_log.html @@ -40,13 +40,18 @@ - {% for i in range(1, audit_events.pages + 1) %} - {% if i == audit_events.page %} - {{ i }} - {% else %} - {{ i }} - {% endif %} - {% endfor %} - + {% set page_route = 'atst.activity_history' %} + {% set pagination = audit_events %} + {% endblock %}