From ccef2ce14d14da2ccfcfa74778b8ec1e2a3839f3 Mon Sep 17 00:00:00 2001 From: Frederick Yin Date: Sun, 6 Feb 2022 16:44:45 +0800 Subject: Adapt frontend to new AdminLog --- jimbrella/templates/admin/admin_logs.html | 52 +++++++++++++++++++++++++++++++ jimbrella/templates/admin/logs.html | 34 -------------------- 2 files changed, 52 insertions(+), 34 deletions(-) create mode 100644 jimbrella/templates/admin/admin_logs.html delete mode 100644 jimbrella/templates/admin/logs.html (limited to 'jimbrella/templates') diff --git a/jimbrella/templates/admin/admin_logs.html b/jimbrella/templates/admin/admin_logs.html new file mode 100644 index 0000000..8d31e88 --- /dev/null +++ b/jimbrella/templates/admin/admin_logs.html @@ -0,0 +1,52 @@ + + + + JI Umbrella + + + + +

JI Umbrella Logs

+
+ {% include "admin/tabs.html" %} +
+ + + + + + + + + + + + + + + {% for log in logs %} + + + + + + + + + + + + + + + + + + + {% endfor %} + +
DateAdminUmbrella #StatusTenantIDPhoneLent atNote
{{ log.date }}{{ log.actor }}{{ log.id }}{{ log.status_a }}{{ log.tenant_name_a }}{{ log.tenant_id_a }}{{ log.tenant_phone_a }}{{ log.lent_at_a }}{{ log.note }}
{{ log.status_b }}{{ log.tenant_name_b }}{{ log.tenant_id_b }}{{ log.tenant_phone_b }}{{ log.lent_at_b }}
+
+
+ + diff --git a/jimbrella/templates/admin/logs.html b/jimbrella/templates/admin/logs.html deleted file mode 100644 index f4f57c0..0000000 --- a/jimbrella/templates/admin/logs.html +++ /dev/null @@ -1,34 +0,0 @@ - - - - JI Umbrella - - - - -

JI Umbrella Logs

-
- {% include "admin/tabs.html" %} -
- - - - - - - - - - {% for log in logs|reverse %} - - - - - - {% endfor %} - -
DateEventNote
{{ log.date_str }}{{ log.description }}{{ log.note }}
-
-
- - -- cgit v1.2.3