From: Bernhard Tittelbach Date: Tue, 5 Oct 2010 23:09:06 +0000 (+0000) Subject: better for smaller screens X-Git-Url: https://git.realraum.at/?a=commitdiff_plain;h=4b17f039958f827f06678e1c58bbb413b0a2ea26;p=svn42.git better for smaller screens --- diff --git a/powersensordaemon/ymhremote.html b/powersensordaemon/ymhremote.html index 5a37b8a..8bfac5f 100755 --- a/powersensordaemon/ymhremote.html +++ b/powersensordaemon/ymhremote.html @@ -7,6 +7,7 @@ function sendButton( btn ) { //alert(btn); document.getElementById('indicator').style.backgroundColor="red"; + document.getElementById('commandlabel').innerHTML=btn; var req = new XMLHttpRequest(); url = "http://slug.realraum.at/cgi-bin/switch.cgi?power=send&id="+btn; req.open("GET", url ,false); @@ -16,6 +17,7 @@ function sendButton( btn ) //response = req.responseText; //document.getElementById('output').innerHTML = response; document.getElementById('indicator').style.backgroundColor="white"; + document.getElementById('commandlabel').innerHTML=' '; } function remoteKeyboard( e ) @@ -107,4 +109,5 @@ document.onkeydown = remoteKeyboard; ymhmenu +