event.html 2.01 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
8
9
10
11
12
13
14
15
16
17
18
19
    </head>
    <body>
        <header>
            <h1>Manage Events</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="home.html">Home</a>
            <a href="log.html">Access Log</a>
            <a href="map.html">Map</a>
            <a href="index.html">Logout</a>
        </header>
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
        <form id="event">
            Event:<select name="event" v-model="select">
                <option value="">New Event</option>
                <option v-for="item in eventList" :value="item.id">{{ item.id }}</option>
            </select><br/>
            Name:<input type="text" name="nom" :value="select"><br/>
            Time(s): Still workin' on that.<br/>
            Reocurring <input type="checkbox" name="reocur" :checked="getRec()"><br/>
            Reocurrence Period: Still workin' on that.<br/>
            Normal <input type="radio" name="status" value="normal" :checked="getStat('0')"><br/>
            Open <input type="radio" name="status" value="open" :checked="getStat('1')"><br/>
            Locked <input type="radio" name="status" value="locked" :checked="getStat('2')"><br/>
            Doors:<select multiple name="doors">
                <option v-for="item in doorList" :value="item.id" :selected="getDoor(item.id)">{{ item.id }}</option>
            </select><br/>
            Door Groups:<select multiple name="dGroups">
                <option v-for="item in doorGList" :value="item.id" :selected="getDG(item.id)">{{ item.id }}</option>
            </select><br/>
            <input type="button" value="Delete" name="del"><br/>
            <input type="button" value="Update" name="up"><br/>
            <input type="button" value="New" name="new"><br/>
        </form>
        <script src="event.js"></script>
Jarod Owen's avatar
Jarod Owen committed
43
44
    </body>
</html>