Initial commit
This commit is contained in:
84
src/support/errors/404.html.ejs
Normal file
84
src/support/errors/404.html.ejs
Normal file
@@ -0,0 +1,84 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>It's Eric Woodward! (dotcom) | Page Not Found</title>
|
||||
<style>
|
||||
*, *:before, *:after {
|
||||
box-sizing: inherit;
|
||||
}
|
||||
|
||||
html {
|
||||
box-sizing: border-box;
|
||||
font-size: 16px;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
a,
|
||||
a:link {
|
||||
color: #c9bb69;
|
||||
}
|
||||
|
||||
a:visited {
|
||||
color: #c57f5d;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
color: #efb88f;
|
||||
}
|
||||
|
||||
a:active {
|
||||
background-color: #8c272d;
|
||||
color: #efb88f;
|
||||
}
|
||||
|
||||
body {
|
||||
background: url("/images/404-opte-1000x800.jpg") no-repeat center center fixed;
|
||||
background-size: cover;
|
||||
color: #fff;
|
||||
line-height: 1.3em;
|
||||
vertical-align: middle;
|
||||
}
|
||||
.container {
|
||||
margin: 0 auto;
|
||||
background-color: #333333;
|
||||
background-color: rgba(33,33,33,.7);
|
||||
border-radius: 1em;
|
||||
max-width: 30em;
|
||||
width: 100%;
|
||||
padding: 2em;
|
||||
margin: 2em auto;
|
||||
}
|
||||
|
||||
input::-moz-focus-inner {
|
||||
padding: 0;
|
||||
border: 0;
|
||||
}
|
||||
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<h1>Page Not Found</h1>
|
||||
<p>Sorry, but the page you were trying to view does not exist.</p>
|
||||
<p>It looks like this was the result of either:</p>
|
||||
<ul>
|
||||
<li>a mistyped address,</li>
|
||||
<li>an out-of-date link, or</li>
|
||||
<li>a side effect of <a href="https://en.wikipedia.org/wiki/Hackers_(film)">some n00b trying to hack "The Gibson"</a>.</li>
|
||||
</ul>
|
||||
<p>You can <a href="javascript:history.go(-1);" title="Go back and hack!">go back and try again</a>, or just start over at <a href="/" title="Give up and go to 127.0.0.1!">It's Eric Woodward's front page</a>.</p>
|
||||
<form name="404SearchForm" id="404SearchForm" action="https://duckduckgo.com/" method="GET">
|
||||
<input type="text" name="q" maxlength="255" />
|
||||
<input type="hidden" name="kl" value="us-en" /><!-- language -->
|
||||
<input type="hidden" name="kh" value="1" /><!-- force https -->
|
||||
<input type="hidden" name="kae" value="r" /><!-- theme = retro -->
|
||||
<input type="hidden" name="k1" value="1" /><!-- tracker-less ads -->
|
||||
<input type="hidden" name="sites" value="www.itsericwoodward.com"/>
|
||||
<input type="submit" value="Search" />
|
||||
<input type="reset" value="Clear" />
|
||||
<p>Powered by DuckDuckGo</p>
|
||||
</form>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
9
src/support/errors/offline.ejs.off
Normal file
9
src/support/errors/offline.ejs.off
Normal file
@@ -0,0 +1,9 @@
|
||||
<%
|
||||
var
|
||||
title = "Offline",
|
||||
text = [
|
||||
' <p>Sorry, but you are currently offline, and don't have that page in your cache.</p>',
|
||||
' <p>You should still be able to go to any page you've already visited (just not this one, apparently).</p>'
|
||||
].join('\n');
|
||||
-%>
|
||||
<%- partial("_error_page", {title: title, text: text, show_search: false}) %>
|
Reference in New Issue
Block a user