From 7753167b3fd9ebbd672dce2bd327627d4f9c2ebd Mon Sep 17 00:00:00 2001 From: richard-dds Date: Tue, 13 Nov 2018 14:37:50 -0500 Subject: [PATCH] WIP styling --- styles/components/_audit_log.scss | 12 ++++++++++++ templates/audit_log.html | 21 +++++++++++++-------- 2 files changed, 25 insertions(+), 8 deletions(-) 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 %}