From 4b17f039958f827f06678e1c58bbb413b0a2ea26 Mon Sep 17 00:00:00 2001 From: Bernhard Tittelbach Date: Tue, 5 Oct 2010 23:09:06 +0000 Subject: [PATCH] better for smaller screens --- powersensordaemon/ymhremote.html | 3 +++ 1 file changed, 3 insertions(+) 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 +

 

-- 1.7.10.4