Language and Info buttons in web interface.

This commit is contained in:
Pecusx
2017-02-18 22:16:23 +01:00
committed by GitHub
parent f813c9ab7c
commit 808b19d2cb
2 changed files with 13 additions and 0 deletions
+10
View File
@@ -28,6 +28,10 @@
<button id="OKbutton">OK</button>
<button id="RIGHTbutton">&gt;</button><br>
<button id="DOWNbutton">v</button>
<div id="speak">
<button id="LGbutton">LANGUAGE</button><br>
<button id="INFObutton">INFO</button>
</div>
</div>
<div id="lewebuttony">
<button id="SLEEPbutton">&nbsp;&nbsp;SLEEP&nbsp;&nbsp;</button>
@@ -87,6 +91,12 @@
$("#VDOWNbutton").click(function() {
$.post("button.php?key=KEY_VOLUMEDOWN");
});
$("#LGbutton").click(function() {
$.post("button.php?key=KEY_LANGUAGE");
});
$("#INFObutton").click(function() {
$.post("button.php?key=KEY_INFO");
});
$("#MUTEbutton").click(function() {
$.post("button.php?key=KEY_MUTE");
});
+3
View File
@@ -32,6 +32,9 @@ body {
width: 150;
height: 125;
}
#LGbutton {
visibility: hidden;
}
#config {
float: right;
text-align: center;