mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2023-10-10 13:36:59 +02:00
8d7137136b
* update * update * tabs test * update * test * ... * fix editor * update ui * fix visual glitch if help is off * fix fadecandy error and th [skip ci]
36 lines
848 B
HTML
36 lines
848 B
HTML
<div class="container" style="margin:20px auto;max-width:500px;">
|
|
<center>
|
|
<img src="img/hyperion/hyperionlogo.png" alt="Redefine ambient light!">
|
|
<div>
|
|
<h3 data-i18n="info_restart_title"></h3>
|
|
<h4 data-i18n="info_restart_rightback"></h4>
|
|
<p data-i18n="info_restart_contus"></p>
|
|
<a href="https://forum.hyperion-project.org?pk_campaign=WebUI&pk_kwd=failedrestart" data-i18n="info_restart_contusa"></a>
|
|
</div>
|
|
</center>
|
|
</div>
|
|
|
|
|
|
<!-- ************************************ -->
|
|
|
|
<script>
|
|
performTranslation();
|
|
var connectionLost = false;
|
|
var connectionTimer;
|
|
|
|
function tryReconnect()
|
|
{
|
|
$.ajax({ url: "/" }).done(function(data) {
|
|
window.clearInterval(connectionTimer);
|
|
window.location.href ="/";
|
|
});
|
|
}
|
|
|
|
function restartAction()
|
|
{
|
|
connectionLost = true;
|
|
connectionTimer = window.setInterval(tryReconnect, 1000);
|
|
}
|
|
|
|
</script>
|