-
Notifications
You must be signed in to change notification settings - Fork 2
/
404.html
44 lines (32 loc) · 1.1 KB
/
404.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
<!DOCTYPE html>
<html>
<head>
<title>Mimicr 404</title>
<meta charset="UTF-8">
<meta name="description" content="Text generation using recurrent neural networks.">
<meta name="author" content="by Joshua Gruenstein and Michael Truell">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="lib/normalize.css" />
<link rel="stylesheet" href="lib/skeleton.css" />
<script>
var a = ['zero','one','two','three','four', 'five'];
function startTimer(time) {
document.getElementById("timeLeft").innerHTML = "in "+a[time]+((time==1)?" second":" seconds")
if (time > 0) {
setTimeout(function() {
startTimer(time-1);
},1000)
} else window.location.href = "/";
}
</script>
</head>
<body onload="startTimer(5)">
<div class="container">
<div style="margin-top:15%;">
<h1>Four-oh-four.</h1>
<p>You seem lost. You will be automatically redirected to the main page <span id="timeLeft">in five seconds</span>. Alternatively, click the button below.</p>
<a class="button button-primary" href="/">GO HOME</a>
</div>
</div>
</body>
</html>