log.html 1.64 KB
Newer Older
Jarod Owen's avatar
Jarod Owen committed
1
<!DOCTYPE html>
2
<html lang = en-US>
Jarod Owen's avatar
Jarod Owen committed
3
4
5
    <head>
        <meta charset="utf-8">
        <title>Doorcode</title>
6
        <script src="vue.js"></script>
Jarod Owen's avatar
Jarod Owen committed
7
        <link rel="stylesheet" type="text/css" href="log.css">
Jarod Owen's avatar
Jarod Owen committed
8
9
10
11
12
13
14
15
16
17
18
19
20
    </head>
    <body>
        <header>
            <h1>Access Log</h1>
            <a href="user.html">Users</a>
            <a href="userG.html">User Groups</a>
            <a href="door.html">Doors</a>
            <a href="doorG.html">Door Groups</a>
            <a href="event.html">Events</a>
            <a href="home.html">Home</a>
            <a href="map.html">Map</a>
            <a href="index.html">Logout</a>
        </header>
Jarod Owen's avatar
Jarod Owen committed
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
        <table>
            <thead>
                <tr class="head">
                    <th>Code</th>
                    <th>Door</th>
                    <th>DGroup</th>
                    <th>OK?</th>
                    <th>Time</th>
                    <th>Date</th>
                    <th>User</th>
                    <th>UGroup</th>
                </tr>
            </thead>
            <tbody id="log">
                <tr is="log-entry"
                    class="body"
                    v-for="row in rows"
                    :key="row.id"
                    :code="row.code"
                    :door="row.door"
                    :ok="row.ok"
                    :time="row.time"
                    :day="row.day" 
                    :uid="row.uid"
                    :ug="row.ug"
                    :dg="row.dg"
                ></tr>
            </tbody id="log">
49
        </table>
50

Jarod Owen's avatar
Jarod Owen committed
51
    </body>
Jarod Owen's avatar
Jarod Owen committed
52
53
    <!-- <script type='module' src="log-entry.js"></script> -->
    <script src="log.js"></script>
Jarod Owen's avatar
Jarod Owen committed
54
</html>