nictemplate/templates/404.html

45 lines
1.7 KiB
HTML
Raw Permalink Normal View History

2023-02-06 18:19:53 +11:00
<!DOCTYPE html>
<html lang="en-au">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no">
2023-11-02 19:11:12 +11:00
<title>.{{tld}}/ domains</title>
2024-02-19 10:41:07 +11:00
<meta name="description" content=".{{tld}}/ domains">
2023-02-06 18:19:53 +11:00
<link rel="icon" type="image/png" sizes="1024x1024" href="assets/img/favicon.png">
<link rel="icon" type="image/png" sizes="1024x1024" href="assets/img/favicon.png">
<link rel="icon" type="image/png" sizes="1024x1024" href="assets/img/favicon.png">
<link rel="icon" type="image/png" sizes="1024x1024" href="assets/img/favicon.png">
<link rel="icon" type="image/png" sizes="1024x1024" href="assets/img/favicon.png">
<link rel="stylesheet" href="assets/bootstrap/css/bootstrap.min.css">
<link rel="stylesheet" href="assets/css/404.css">
</head>
<body><!-- partial:index.partial.html -->
<p>HTTP: <span>404</span></p>
<div style="text-align: center;">
<div style="display: inline-block;text-align: left;">
<code><span>this_page</span>.<em>not_found</em> = true;</code>
<code><span>if</span> (<b>you_spelt_it_wrong</b>){<br><span>autocorrect</span>.<em>enable</em>();<br>}</code>
2023-11-02 19:11:12 +11:00
<code><span>else if</span> (!<em>exists</em>(<b>location</b>)){<br><em>alert</em>(<i>"You're lost! I'll send you back home"</i>);<br><span>window</span>.<em>location</em> = home;<br>}</code>
2023-02-06 18:19:53 +11:00
</div>
</div>
<!-- partial -->
<script type="text/javascript">
function callback(){
return function(){
2023-11-02 19:11:12 +11:00
alert("You're lost! I'll send you back home");
2023-02-06 18:19:53 +11:00
window.location = '/';
}
}
var a = "world";
2023-11-02 19:11:12 +11:00
setTimeout(callback(), 5000);
2023-02-06 18:19:53 +11:00
</script>
<script src="assets/bootstrap/js/bootstrap.min.js"></script>
<script src="assets/js/404.js"></script>
</body>
</html>