1
0
mirror of https://github.com/DigitalDevices/octonet.git synced 2023-10-10 13:36:52 +02:00
octonet/octoserve/var/www/wait.html

65 lines
1.4 KiB
HTML
Raw Normal View History

2016-06-28 20:34:36 +02:00
<!DOCTYPE HTML>
2015-08-05 22:22:06 +02:00
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
2015-08-05 22:22:06 +02:00
<title>OctopusNet</title>
<link rel="stylesheet" type="text/css" href="/style.css">
<!-- Add page scripts here -->
<script type="text/javascript">
function Wait()
{
if( WaitCounter == 0 )
{
location.replace('/index.html');
}
else
{
WaitCounter = WaitCounter - 1;
document.getElementById("waitcounter").firstChild.nodeValue = WaitCounter;
window.setTimeout(Wait,1000);
}
}
function OnLoad()
{
var param = document.URL.match(/\d+$/);
2015-08-05 22:22:06 +02:00
WaitCounter = 5;
if( param ) WaitCounter = parseInt(param);
2015-08-05 22:22:06 +02:00
document.getElementById("waitcounter").firstChild.nodeValue = WaitCounter;
window.setTimeout(Wait,1000);
}
</script>
</head>
<body onload="OnLoad()">
<table class="maintable" align="center">
<colgroup>
<col width="182px"/>
<col width="728px"/>
</colgroup>
<tr><td class="maintd" colspan="2">
<img src="/BannerDD.jpg" alt="DD" width="910" height="130" />
</td></tr>
<tr><td class="maintd" colspan="2">&nbsp;</td></tr>
<tr>
<td class="maintd"></td>
2015-08-05 22:22:06 +02:00
<td class="content">
<div>
<!-- Begin Content -->
<h1 id="waitcounter" align="center">&nbsp;</h1>
<!-- End Content -->
</div>
</td>
</tr>
<tr><td colspan="2">&nbsp;</td></tr>
</table>
</body>
</html>