-
Notifications
You must be signed in to change notification settings - Fork 0
/
led.html
57 lines (49 loc) · 2.89 KB
/
led.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
<html>
<link rel='stylesheet' href='style.css' type='text/css'>
<head>
<title>Monitor Tools</title>
<script src="js/ajaxsbmt.js" type="text/javascript"></script>
<script language="javascript" src="dinamic.js" type=text/javascript></script>
</head>
<body>
<!-- onload="setInterval(mostraOra, 1000);"> -->
<div id='header'><img src="image/dronixlogo2.png">
<table border="0"><tr>
<td class="headitem"><a href="index.html">home</a></td>
<td class="headitem"><a href="versionNote.html">versionNote</a></td>
<td class="headitem"><a href="modules.html">modules</a></td>
<td class="headitem"><a href="sdcard">SD-Card</a></td>
<td class="headitem"><a href="https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=ZCZJMRK7UGHH6&lc=GB&item_name=DroniX%20Development¤cy_code=EUR&bn=PP%2dDonationsBF%3abtn_donate_LG%2egif%3aNonHosted">donate</a></td></tr></table>
</div>
<div id='content'>
<br>
<script>
var reload;
function dinam(cgi, label){
reload=setInterval(cgiRequest, 1500,cgi, label);
}
function stop(){
clearInterval(reload);
}
</script>
<br>
<table border="0"><tr>
<tr><td><u>LED GREEN</u></td><td></td>
<td><input type="button" name="memory" value="ON" OnClick="javascript:stop(); cgiRequest('cgi-bin/led-green-on.cgi', 'result')"></td>
<td><input type="button" name="memory" value="OFF" OnClick="javascript:stop(); cgiRequest('cgi-bin/led-green-off.cgi', 'result')"></td>
</tr>
<tr><td><u>LED BLUE</u></td><td></td>
<td><input type="button" name="memory" value="ON" OnClick="javascript:stop(); cgiRequest('cgi-bin/led-blue-on.cgi', 'result')"></td>
<td><input type="button" name="memory" value="OFF" OnClick="javascript:stop(); cgiRequest('cgi-bin/led-blue-off.cgi', 'result')"></td>
</tr>
<tr><td><u>LED RED</u></td><td></td>
<td><input type="button" name="memory" value="ON" OnClick="javascript:stop(); cgiRequest('cgi-bin/led-red-on.cgi', 'result')"></td>
<td><input type="button" name="memory" value="OFF" OnClick="javascript:stop(); cgiRequest('cgi-bin/led-red-off.cgi', 'result')"></td>
</tr>
</table>
<br><br>
<span id="result"</span>
</div>
<div id='footer'><font color=red>DroniX Web Manager</font> by <font color=yellow><a href='http://esteban.homelinux.org'>Stefano Viola (EstebanSannin)</a></font></div>
</body>
</html>