blob: 98eb7fc16e7e0be8e3e4ef4445c62b3b73dbb841 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
<!DOCTYPE html>
<html>
<head>
<title>Admin Logs - JI Umbrella</title>
<link rel="stylesheet" href="/static/jimbrella.css" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
</head>
<body>
<h1>Admin Logs</h1>
<div id="container">
{% include "admin/tabs.html" %}
<div class="data-table-container">
<table class="data">
<thead>
<tr>
<td>Date</td>
<td>Admin</td>
<td>Umbrella #</td>
<td>Status</td>
<td>Tenant</td>
<td>ID</td>
<td>Phone</td>
<td>Lent at</td>
<td>Note</td>
</tr>
</thead>
<tbody>
{% for log in logs %}
<tr class="top-border">
<td rowspan=2>{{ log.date }}</td>
<td rowspan=2>{{ log.actor }}</td>
<td rowspan=2>{{ log.id }}</td>
<td class="red">{{ log.status_a }}</td>
<td class="red">{{ log.tenant_name_a }}</td>
<td class="red">{{ log.tenant_id_a }}</td>
<td class="red">{{ log.tenant_phone_a }}</td>
<td class="red">{{ log.lent_at_a }}</td>
<td rowspan=2>{{ log.note }}</td>
</tr>
<tr>
<td class="green">{{ log.status_b }}</td>
<td class="green">{{ log.tenant_name_b }}</td>
<td class="green">{{ log.tenant_id_b }}</td>
<td class="green">{{ log.tenant_phone_b }}</td>
<td class="green">{{ log.lent_at_b }}</td>
</tr>
{% endfor %}
</tbody>
</table>
</div>
</div>
</body>
</html>
|