-
Notifications
You must be signed in to change notification settings - Fork 25
/
Copy pathblackScreen.html
55 lines (55 loc) · 1.68 KB
/
blackScreen.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
<!DOCTYPE html>
<html>
<head>
<title>Device has shut down</title>
<style>
html, body{
margin: 0;
width: 100%;
height: 100%;
padding: 0;
background-color:#000;
color:#FFF;
font-family:monospace;
text-align:center;
}
#hiddendiv{
opacity: 0;
transition: 1s;
}
button{
border:none;
font-family:monospace;
background:#000;
color:#FFF;
outline:none;
}
button:hover, button:focus{
color:#000;
background:#FFF;
}
</style>
<script>
var aosSuffix = '';
if(String(window.location).indexOf('#restart-beta') > -1){
window.location = 'aosBeta.php';
}else if(String(window.location).indexOf('#restart') > -1){
window.location = 'aos.php';
}else if(String(window.location).indexOf('#beta') > -1){
aosSuffix = 'Beta';
}
setTimeout(function(){
document.getElementById('hiddendiv').style.opacity = "1";
}, 1000);
requestAnimationFrame(function(){
document.getElementById('reboot').focus();
})
</script>
</head>
<body>
<div id="hiddendiv">
<br>
Device has shut down.<br><br><button id="reboot" onclick="window.location = 'aos' + aosSuffix + '.php'">Reboot</button>
</div>
</body>
</html>