doorG.html 1.84 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 Door Groups</h1>
            <a href="user.html">Users</a>
            <a href="userG.html">User Groups</a>
            <a href="door.html">Doors</a>
            <a href="home.html">Home</a>
            <a href="event.html">Events</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
        <form id="doorG">
            Door Group:<select name="dGroup" v-model="select">
                <option value="" selected>New Door Group</option>
                <option v-for="item in doorGList" :value="item.id">{{ item.id }}</option>
            </select><br/>
            Name:<input type="text" name="nom" :value="select"><br/>
            Door:<select name="doors" multiple>
                <option v-for="item in doorList" :value="item.id" :selected="getDoor(item.id)">{{ item.id }}</option>
            </select><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/>
            Events:<select multiple name="events">
                <option v-for="item in eventList" v-bind:value="item.id" :selected="getEv(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="doorG.js"></script>
Jarod Owen's avatar
Jarod Owen committed
40
41
    </body>
</html>