forked from OpenZWave/open-zwave-control-panel
-
Notifications
You must be signed in to change notification settings - Fork 1
/
ozwcp.html
142 lines (136 loc) · 4.64 KB
/
ozwcp.html
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html><head>
<meta content="text/html; charset=ISO-8859-1" http-equiv="content-type">
<title>OpenZWave Control Panel</title>
<style>
div.external {border-width: 2px; border: solid}
</style>
</head><body>
<div style="text-align: center;"><big><big><span style="font-family: Arial Bold;">OpenZWave Control Panel</span></big></big>
<hr style="width: 100%; height: 2px;"></div>
<div style="width: 100%;">
<div class="external" id="interface" style="width: 350px; height: 100px; float: left;">
<div style="text-align: center;"><span style="font-family: Arial;">Interface</span>
</div>
<br>
<div style="text-align: left;">
<label><span style="font-family: Arial;">Device name: </span></label>
<input name="devname"></div>
<br>
<div style="float: left;"> <button name="reset" type="submit" style="text-align: center;">Reset</button>
</div>
<div style="float: right;"> <button name="initialize" type="submit" style="text-align: center;">Initialize</button>
</div>
</div>
<div id="status" class="external" style="float: right; width: 290px; height: 100px;">
<div style="float: left; width: 50%;">
<div style="float: right;"><label><span style="font-family: Arial;">Home
Id: </span></label>
</div>
<br>
<br>
<div style="float: right;">
<label><span style="font-family: Arial;">Controller Mode: </span></label>
</div>
<br>
<br>
<div style="float: right;">
<label><span style="font-family: Arial;">Node Count: </span></label>
</div>
</div>
<div style="float: left; width: 50%;">
<div style="float: left;"><textarea style="font-family: Arial; height: 15px;" rows="1" cols="12" name="homeid"></textarea></div>
<br>
<br>
<div style="float: left;">
<textarea style="font-family: Arial; height: 15px;" rows="1" cols="12" name="cmode"></textarea></div>
<br>
<br>
<div style="float: left;">
<textarea style="font-family: Arial; height: 15px;" rows="1" cols="6" name="ncount"></textarea></div>
</div>
</div>
<div id="admin" style="float: left; width: 100%;">
<br>
<br>
<label><span style="font-family: Arial;">Admin</span></label>
<div class="external" style="width: 100%; margin-left: auto; margin-right: auto; text-align: center;"><button name="add" type="submit">Add Device</button>
<button name="delete" type="submit">Delete Device</button>
<button name="secondary" type="submit">Create Secondary</button>
<button name="receive" type="submit">Receive Devices</button>
<button name="transfer" type="submit">Transfer Primary</button>
<button name="remove" type="submit">Remove Node</button>
</div>
</div>
<div id="devices" style="float: left; width: 100%;">
<br>
<br>
<label><span style="font-family: Arial;">Devices</span></label>
<div class="external">
<table style="text-align: left; width: 100%;" border="0" cellpadding="1" cellspacing="1">
<thead> <tr>
<td style="vertical-align: top; text-decoration: underline;">Node Id</td>
<td style="vertical-align: top; text-decoration: underline;">Type</td>
<td style="vertical-align: top; text-decoration: underline;">Name</td>
<td style="vertical-align: top; text-decoration: underline;">Location</td>
</tr>
</thead> <tbody>
<tr>
<td style="vertical-align: top;"><br>
</td>
<td style="vertical-align: top;"><br>
</td>
<td style="vertical-align: top;"><br>
</td>
<td style="vertical-align: top;"><br>
</td>
</tr>
<tr>
<td style="vertical-align: top;"><br>
</td>
<td style="vertical-align: top;"><br>
</td>
<td style="vertical-align: top;"><br>
</td>
<td style="vertical-align: top;"><br>
</td>
</tr>
<tr>
<td style="vertical-align: top;"><br>
</td>
<td style="vertical-align: top;"><br>
</td>
<td style="vertical-align: top;"><br>
</td>
<td style="vertical-align: top;"><br>
</td>
</tr>
<tr>
<td style="vertical-align: top;"><br>
</td>
<td style="vertical-align: top;"><br>
</td>
<td style="vertical-align: top;"><br>
</td>
<td style="vertical-align: top;"><br>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div id="controls" style="float: left; width: 80%;">
<br>
<button name="getname" type="submit">Get Name and Location</button>
<button name="setname" type="submit">Set Name and Location</button>
<button name="devon" type="submit">On</button>
<button name="devoff" type="submit">Off</button>
</div>
<div id="log" style="float: left; width: 100%;">
<br>
<br>
<label><span style="font-family: Arial;">Log output</span></label>
<br>
<textarea style="font-family: Arial;" rows="10" cols="120" name="log"></textarea></div>
</div>
</body></html>