summaryrefslogtreecommitdiff
path: root/jimbrella/templates/admin/logs.html
diff options
context:
space:
mode:
authorFrederick Yin <fkfd@fkfd.me>2022-02-06 16:44:45 +0800
committerFrederick Yin <fkfd@fkfd.me>2022-02-06 16:44:45 +0800
commitccef2ce14d14da2ccfcfa74778b8ec1e2a3839f3 (patch)
tree180215d19000c20300c34cfeec02d895b8905985 /jimbrella/templates/admin/logs.html
parent425edff4ff3d312a879258ca7387d53498ba94ef (diff)
Adapt frontend to new AdminLog
Diffstat (limited to 'jimbrella/templates/admin/logs.html')
-rw-r--r--jimbrella/templates/admin/logs.html34
1 files changed, 0 insertions, 34 deletions
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 @@
-<!DOCTYPE html>
-<html>
- <head>
- <title>JI Umbrella</title>
- <link rel="stylesheet" href="/static/jimbrella.css" />
- <meta name="viewport" content="width=device-width, initial-scale=1" />
- </head>
- <body>
- <h1>JI Umbrella Logs</h1>
- <div id="container">
- {% include "admin/tabs.html" %}
- <div class="data-table-container">
- <table class="data">
- <thead>
- <tr>
- <th>Date</th>
- <th>Event</th>
- <th>Note</th>
- </tr>
- </thead>
- <tbody>
- {% for log in logs|reverse %}
- <tr class="{{ log.event|lower }}">
- <td>{{ log.date_str }}</td>
- <td>{{ log.description }}</td>
- <td>{{ log.note }}</td>
- </tr>
- {% endfor %}
- </tbody>
- </table>
- </div>
- </div>
- </body>
-</html>