summaryrefslogtreecommitdiff
path: root/jimbrella/templates/admin/logs.html
blob: 1081552bbea224a896009d17d7eabb5aab72def1 (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
<!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>