forked from viny1ic/relaytouille
-
Notifications
You must be signed in to change notification settings - Fork 0
/
console.html
30 lines (30 loc) · 1.03 KB
/
console.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Home</title>
</head>
<body>
<form action="/relay" method="GET">
<label for="switches">Select switch:</label>
<select name="switches" id="switches">
<option value=1>switch 1</option>
<option value="2">switch 2</option>
<option value="3">switch 3</option>
<option value="4">switch 4</option>
<option value="5">switch 5</option>
<option value="6">switch 6</option>
<option value="7">switch 7</option>
<option value="8">switch 8</option>
</select><br>
<label for="status">Select status: </label>
<select name="status" id="status">
<option value=1>ON</option>
<option value=0>OFF</option>
</select>
<br><input type="submit" value="submit">
</form>
</body>
</html>