From a8fd0531d4f795374373e13e63245ec4c58075e7 Mon Sep 17 00:00:00 2001 From: Frederick Yin Date: Wed, 23 Feb 2022 21:32:29 +0800 Subject: Template for /admin/logs --- jimbrella/static/jimbrella.css | 4 ++-- jimbrella/templates/admin/logs.html | 40 +++++++++++++++++++++++++++++++++++++ 2 files changed, 42 insertions(+), 2 deletions(-) create mode 100644 jimbrella/templates/admin/logs.html diff --git a/jimbrella/static/jimbrella.css b/jimbrella/static/jimbrella.css index 57d7c80..9a06502 100644 --- a/jimbrella/static/jimbrella.css +++ b/jimbrella/static/jimbrella.css @@ -72,11 +72,11 @@ input.db-edit { background-color: #e99fd3; } -.lent, .takeaway, .blue { +.lent, .takeaway, .borrow, .blue { background-color: #9fd3e9; } -.available, .giveback, .green { +.available, .giveback, .return, .green { background-color: #d3e99f; } diff --git a/jimbrella/templates/admin/logs.html b/jimbrella/templates/admin/logs.html new file mode 100644 index 0000000..1081552 --- /dev/null +++ b/jimbrella/templates/admin/logs.html @@ -0,0 +1,40 @@ + + + + Logs - JI Umbrella + + + + +

Logs

+
+ {% include "admin/tabs.html" %} +
+ + + + + + + + + + + + + {% for log in logs %} + + + + + + + + + {% endfor %} + +
DateUmbrella #ActionTenantIDPhone
{{ log.date }}{{ log.id }}{{ log.action }}{{ log.tenant_name }}{{ log.tenant_id }}{{ log.tenant_phone }}
+
+
+ + -- cgit v1.2.3