blob: 8d31e882cce959079a766eb39ebdfdf7efde9c72 (
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
|
<!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>
<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>
<tbody>
{% for log in logs %}
<tr>
<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>
|