diff options
author | Chris Xiong <chirs241097@gmail.com> | 2019-02-10 11:16:07 +0800 |
---|---|---|
committer | Chris Xiong <chirs241097@gmail.com> | 2019-02-10 11:16:07 +0800 |
commit | 9d3c8c0e6e1a7ba43bf3dc19350d1dca68b657a3 (patch) | |
tree | 339de0698c13e1763d3361d70fb1266621025c91 /err/404.html | |
download | web-9d3c8c0e6e1a7ba43bf3dc19350d1dca68b657a3.tar.xz |
Initial commit.
Diffstat (limited to 'err/404.html')
-rw-r--r-- | err/404.html | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/err/404.html b/err/404.html new file mode 100644 index 0000000..50b2474 --- /dev/null +++ b/err/404.html @@ -0,0 +1,43 @@ +<!DOCTYPE HTML> +<html> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> +<meta name="viewport" content="width=device-width"> +<title>Chrisoft::Error!</title> +<link rel="icon" href="/favicon.png"> +<link rel="stylesheet" type="text/css" href="/common.css"> +<script type="text/javascript"> +var link=document.createElement("link"); +var thm=document.cookie.replace(new RegExp("(?:(?:^|.*;\\s*)thm\\s*\\=\\s*([^;]*).*$)|^.*$"),"$1"); +switch(thm) +{ + case "day": + link.href="/colors-day.css"; + break; + case "night": + link.href="/colors-night.css"; + break; + case "auto": + default: + var c=new Date(); + if(c.getHours()>=6&&c.getHours()<18) + link.href = "/colors-day.css"; + else + link.href = "/colors-night.css"; + break; +} +link.type="text/css"; +link.rel="stylesheet"; +document.getElementsByTagName("head")[0].appendChild(link); +</script> +</head> +<body class="TText"> +<h1>404!!</h1> +<h2>Not Found</h2> +<p>You have reached the Void. There's nothing here and your health +just started decreasing.</p> +<p>Run away!</p> +<p>--chris</p> +<hr> +<em>Shitty Apache httpd on my shitty sever</em> +</body> |