mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2025-03-01 10:33:28 +00:00
webui: enhance led config (#224)
* split content and js tune leds config * implement connection lost page * split js/html in huebridge * add js action for connection lost
This commit is contained in:
16
assets/webconfig/content/connection_lost.html
Normal file
16
assets/webconfig/content/connection_lost.html
Normal file
@@ -0,0 +1,16 @@
|
||||
<div id="wrapper">
|
||||
<div class="container-fluid">
|
||||
connection lost: <a href="/">reconnect</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
function connectionLostAction()
|
||||
{
|
||||
// demo code to see if this works
|
||||
$("#wrapper").css("margin","auto");
|
||||
$("#wrapper").css("background-color","#BBBBBB");
|
||||
}
|
||||
</script>
|
||||
|
||||
|
Reference in New Issue
Block a user