summaryrefslogtreecommitdiff
path: root/jimbrella/templates/admin/logs.html
diff options
context:
space:
mode:
Diffstat (limited to 'jimbrella/templates/admin/logs.html')
-rw-r--r--jimbrella/templates/admin/logs.html40
1 files changed, 40 insertions, 0 deletions
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 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <title>Logs - JI Umbrella</title>
+ <link rel="stylesheet" href="/static/jimbrella.css" />
+ <meta name="viewport" content="width=device-width, initial-scale=1" />
+ </head>
+ <body>
+ <h1>Logs</h1>
+ <div id="container">
+ {% include "admin/tabs.html" %}
+ <div class="data-table-container">
+ <table class="data">
+ <thead>
+ <tr>
+ <td>Date</td>
+ <td>Umbrella #</td>
+ <td>Action</td>
+ <td>Tenant</td>
+ <td>ID</td>
+ <td>Phone</td>
+ </tr>
+ </thead>
+ <tbody>
+ {% for log in logs %}
+ <tr class="{{ log.action }}">
+ <td>{{ log.date }}</td>
+ <td>{{ log.id }}</td>
+ <td>{{ log.action }}</td>
+ <td>{{ log.tenant_name }}</td>
+ <td>{{ log.tenant_id }}</td>
+ <td>{{ log.tenant_phone }}</td>
+ </tr>
+ {% endfor %}
+ </tbody>
+ </table>
+ </div>
+ </div>
+ </body>
+</html>