-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
32 lines (29 loc) · 1013 Bytes
/
index.html
File metadata and controls
32 lines (29 loc) · 1013 Bytes
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
<html>
<head>
<script src="jquery-1.4.2.js" type="text/javascript"></script>
<script src="client.js" type="text/javascript"></script>
<script src="/socket.io/socket.io.js"></script>
</head>
<body>
<div id="app">
<div id="execute">
<form action="#">
<fieldset>
<p>This website allows you to control your remote relays.</p>
<p>Accepted commands are: ON/OFF [relay_id].</p>
<p>If you want to get the current temperature just write TEMP. </p>
<p>For Relay status just write STATUS. </p>
<label for="cmd">Command:</label>
<input id="cmdInput" class="text" type="text" name="cmd" value="" onfocus="clearField(this);"></input>
<input id="sendButton" class="button" type="submit" name="" value="Send" ></input>
</fieldset>
</form>
</div>
</div>
<div id="response">
<ul id="status">
<li><p id="resVal"></p></li>
</ul>
</div>
</body>
</html>