blob: f2f201aef5a11515cf6318002c2777f9b73e4ceb (
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>
<td class="yellow" rowspan=2>{{ log.date }}</td>
<td class="yellow" rowspan=2>{{ log.actor }}</td>
<td class="yellow" rowspan=2>{{ log.id }}</td>
<td class="red grey"><s>{{ log.status_a }}</s></td>
<td class="red"><s>{{ log.tenant_name_a }}</s></td>
<td class="red"><s>{{ log.tenant_id_a }}</s></td>
<td class="red"><s>{{ log.tenant_phone_a }}</s></td>
<td class="red"><s>{{ log.lent_at_a }}</s></td>
<td class="yellow" rowspan=2>{{ log.note }}</td>
</tr>
<tr>
<td class="green"><b>{{ log.status_b }}</b></td>
<td class="green"><b>{{ log.tenant_name_b }}</b></td>
<td class="green"><b>{{ log.tenant_id_b }}</b></td>
<td class="green"><b>{{ log.tenant_phone_b }}</b></td>
<td class="green"><b>{{ log.lent_at_b }}</b></td>
</tr>
{% endfor %}
</tbody>
</table>
</div>
</div>
</body>
</html>
|