mirror of
https://github.com/jomjol/AI-on-the-edge-device.git
synced 2025-12-31 21:59:22 +03:00
Rolling 20220919
This commit is contained in:
11
sd-card/html/reboot_action.html
Normal file
11
sd-card/html/reboot_action.html
Normal file
@@ -0,0 +1,11 @@
|
||||
<body style='font-family: arial'>
|
||||
<h3 id=t></h3>
|
||||
</body>
|
||||
|
||||
<script>
|
||||
var h='Rebooting!<br>The page will automatically reload after around 25s.<br>';
|
||||
document.getElementById('t').innerHTML=h;
|
||||
setInterval(function (){h +='.';
|
||||
document.getElementById('t').innerHTML=h;
|
||||
fetch(window.location.hostname,{mode: 'no-cors'}).then(r=>{parent.location.href=('/index.html');})}, 1000);
|
||||
</script>
|
||||
Reference in New Issue
Block a user