X-Git-Url: https://git.realraum.at/?a=blobdiff_plain;f=powersensordaemon%2Fymhremote.html;h=085d11160b49fd5a64ab2803beb755422675769f;hb=3d9f800ee0d70494066035af472fcef381a7496c;hp=954025a2fd074ee71031fbc86497b78d8f9c6828;hpb=80032eb297f006d43491a29f96bc4a003ca45fce;p=svn42.git diff --git a/powersensordaemon/ymhremote.html b/powersensordaemon/ymhremote.html index 954025a..085d111 100755 --- a/powersensordaemon/ymhremote.html +++ b/powersensordaemon/ymhremote.html @@ -6,10 +6,16 @@ function sendButton( btn ) { //alert(btn); + document.getElementById('indicator').style.backgroundColor="red"; var req = new XMLHttpRequest(); - url = "http://slug.realraum.at/www/cgi-bin/switch.cgi?power=send&id="+btn; + url = "http://slug.realraum.at/cgi-bin/switch.cgi?power=send&id="+btn; req.open("GET", url ,false); + //google chrome workaround + req.setRequestHeader("googlechromefix",""); req.send(null); + //response = req.responseText; + //document.getElementById('output').innerHTML = response; + document.getElementById('indicator').style.backgroundColor="white"; } function remoteKeyboard( e ) @@ -56,44 +62,46 @@ document.onkeydown = remoteKeyboard; - + + + +
- + -ymhcd -ymhtuner -ymhtape -ymhwdtv - -ymhvcr - -ymhaux -ymhextdec -ymhtest -ymhtunabcde -ymheffect +ymhcd +ymhtuner +ymhtape +ymhwdtv + +ymhvcr + +ymhaux +ymhextdec +ymhtest +ymhtunabcde +ymheffect - - -ymhvolup -ymhvoldown -ymhmute + + +ymhvoldown +ymhvolup +ymhmute -ymhsleep - +ymhsleep + - - + + -ymhprgup -ymhprgdown -ymhminus -ymhplus +ymhprgup +ymhprgdown +ymhminus +ymhplus -ymhtimelevel -ymhmenu +ymhtimelevel +ymhmenu - - \ No newline at end of file +