-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsettings.html
More file actions
34 lines (31 loc) · 1.02 KB
/
settings.html
File metadata and controls
34 lines (31 loc) · 1.02 KB
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
<!DOCTYPE html>
<html>
<head>
<meta content="text/html; charset=windows-1252" http-equiv="content-type">
<title></title>
<script type="text/javascript">
$( "#power_button" ).on("click",function() {
var msg = {
type: "click",
text: "power_button"
};
$.ts.webSocket.sendToMH(msg);
console.log("I just told mh to reload");
});
$( "#nav1_button" ).on("click", TestLoadPage);
function TestLoadPage(event) {
console.log("Loading page id: " + event.target.id);
}
</script>
</head>
<body>
<p>
Settings option not yet configured.<br/><br/>
Click the power icon to reload mh<br/>
<img id="power_button" alt="test reload mh code" src="images/icons/power_32.png"
valign="middle" height="50" width="50">
<img id="nav1_button" alt="test reload mh code" src="images/icons/lock_open_mode.png"
valign="middle" height="50" width="50">
</p>
</body>
</html>