diff options
Diffstat (limited to 'kvmd/web/index.html')
-rw-r--r-- | kvmd/web/index.html | 34 |
1 files changed, 23 insertions, 11 deletions
diff --git a/kvmd/web/index.html b/kvmd/web/index.html index 609d5021..d5538943 100644 --- a/kvmd/web/index.html +++ b/kvmd/web/index.html @@ -7,22 +7,34 @@ </head> <script src="js/kvmd.js"></script> -<script> window.onload = runKvmdSession; </script> +<script> + window.onload = function() { + runKvmdSession(); + pollStreamer(); + } +</script> <body> <div class="stream-box"> <img src="/streamer/?action=stream" id="stream-image" class="stream-image" alt="" /> </div> - <table><tr> - <td><div id="power-led" class="power-led-off"></div></td> - <td><div id="hdd-led" class="hdd-led-off"></div></td> - <td> </td> - <td><button id="power-button" type="button" title="Click hardware power button" onclick="clickPowerButton();">Power</button></td> - <td><button id="power-button-long" type="button" title="Click hardware power button (long press)" onclick="clickPowerButtonLong();">Power (long)</button></td> - <td><button id="reset-button" type="button" title="Click to force reset" onclick="clickResetButton();">Reset</button></td> - <td> </td> - <td><div id="session-status">Not connected yet...</div></td> - </tr></table> + <table> + <tr> + <td><div id="power-led" class="power-led-off"></div></td> + <td><div id="hdd-led" class="hdd-led-off"></div></td> + <td> </td> + <td><button id="power-button" type="button" title="Click hardware power button" onclick="clickPowerButton();">Power</button></td> + <td><button id="power-button-long" type="button" title="Click hardware power button (long press)" onclick="clickPowerButtonLong();">Power (long)</button></td> + <td><button id="reset-button" type="button" title="Click to force reset" onclick="clickResetButton();">Reset</button></td> + </tr> + </table> + <table> + <tr> + <td><button id="restart-stream-button" type="button" title="Click here if your video looks like a crap" onclick="resetStreamer();">Restart video</button></td> + <td> </td> + <td><div id="session-status">Not connected yet...</div></td> + </tr> + </table> </body> </html> |