-
Notifications
You must be signed in to change notification settings - Fork 50
/
shutdown.asp
38 lines (36 loc) · 1.1 KB
/
shutdown.asp
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
<!DOCTYPE html>
<!--
Tomato GUI
Copyright (C) 2006-2010 Jonathan Zarate
http://www.polarcloud.com/tomato/
For use with Tomato Firmware only.
No part of this file may be used without permission.
-->
<html lang="en">
<head>
<meta http-equiv="content-type" content="text/html;charset=utf-8">
<meta name="robots" content="noindex,nofollow">
<meta name="viewport" content="width=820">
<title>[<% ident(); %>] Shutting down...</title>
<script type="text/javascript">
var n = 16;
function tick()
{
if (--n > 0) {
document.getElementById('sptime').innerHTML = n;
setTimeout(tick, 1000);
}
else {
document.getElementById('msg').innerHTML = 'You can now unplug the router.';
}
}
</script>
</head>
<body style="background:#fff"><table style="width:100%;height:100%">
<tr><td style="text-align:center;vertical-align:middle;font:15px sans-serif">
<span id="msg">Please wait while the router shuts down... <span id="sptime" style="font-size:80%;background:#eee"></span></span>
</td></tr>
</table>
<script type="text/javascript">tick();</script>
</body>
</html>