X-Git-Url: https://git.realraum.at/?a=blobdiff_plain;f=powersensordaemon%2Fymhremote.html;h=3a43e59173d43e9f56e7b76a80bcf8030c988a98;hb=204ca2fe92c8bedf87ab5ae4d1c1bc0660b1a3dd;hp=5a37b8ad1e73516d2574823963679e8e616d0346;hpb=75d3e955b7445b15c9c25a425e888ae76af6c3db;p=svn42.git diff --git a/powersensordaemon/ymhremote.html b/powersensordaemon/ymhremote.html index 5a37b8a..3a43e59 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 ) @@ -50,9 +52,9 @@ function remoteKeyboard( e ) case 50: sendButton( 'ymhtuner' ); break; // 2 case 51: sendButton( 'ymhtape' ); break; // 3 case 52: sendButton( 'ymhwdtv' ); break; // 4 - //case 53: sendButton( 'ymhsat' ); break; // 5 + case 53: sendButton( 'ymhsattv' ); break; // 5 case 54: sendButton( 'ymhvcr' ); break; // 6 - //case 55: sendButton( '' ); break; // 7 + case 55: sendButton( 'ymh7' ); break; // 7 case 56: sendButton( 'ymhaux' ); break; // 8 case 57: sendButton( 'ymhextdec' ); break; // 9 } @@ -62,14 +64,6 @@ document.onkeydown = remoteKeyboard; - - - - - - -
- @@ -77,9 +71,9 @@ document.onkeydown = remoteKeyboard; ymhtuner ymhtape ymhwdtv - +ymhsattv ymhvcr - +ymh7 ymhaux ymhextdec ymhtest @@ -93,7 +87,7 @@ document.onkeydown = remoteKeyboard; ymhmute ymhsleep - +ymhp5 @@ -107,4 +101,14 @@ document.onkeydown = remoteKeyboard; ymhmenu + + +
+ + + +
+

 

+
+