add pages for common errors

This commit is contained in:
Arthur Lu 2023-05-01 20:32:50 -07:00
commit e85f7dcf77
8 changed files with 536 additions and 0 deletions

67
HTTP400.html Normal file
View File

@ -0,0 +1,67 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" href="https://tronnet.net/images/favicon.svg" sizes="any" type="image/svg+xml">
<title>400 - Bad Request</title>
<style type="text/css">
html {
font-family: monospace;
line-height: 1.15;
-ms-text-size-adjust: 100%;
-webkit-text-size-adjust: 100%;
box-sizing: border-box;
}
html, body {
width: 100%;
height: 100%;
background-color: #000;
}
body {
color: #fff;
text-align: center;
padding: 0px;
display: table;
margin: 0px;
}
main {
display: table-cell;
vertical-align: middle;
}
h1 {
font-weight: 500;
line-height: 1.1;
font-size: 36px;
margin: .67em 0;
}
h1 small {
font-size: 68%;
font-weight: 400;
line-height: 1;
color: #777;
}
p {
font-size: 21px;
line-height: 1.4;
}
a {
text-decoration: none;
color: inherit;
font-size: 18px;
border-bottom: dotted 1px #fff;
}
a:active, a:hover {
outline-width: 0;
}
</style>
</head>
<body>
<main>
<h1>Bad Request <small>400</small></h1>
<p>The server cannot process the request due to something that is perceived to be a client error.</p>
<script>document.write('<a href="' + document.location.origin + '">Back To Homepage</a>');</script>
</main>
</body>
</html>

67
HTTP401.html Normal file
View File

@ -0,0 +1,67 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" href="https://tronnet.net/images/favicon.svg" sizes="any" type="image/svg+xml">
<title>401 - Unauthorized</title>
<style type="text/css">
html {
font-family: monospace;
line-height: 1.15;
-ms-text-size-adjust: 100%;
-webkit-text-size-adjust: 100%;
box-sizing: border-box;
}
html, body {
width: 100%;
height: 100%;
background-color: #000;
}
body {
color: #fff;
text-align: center;
padding: 0px;
display: table;
margin: 0px;
}
main {
display: table-cell;
vertical-align: middle;
}
h1 {
font-weight: 500;
line-height: 1.1;
font-size: 36px;
margin: .67em 0;
}
h1 small {
font-size: 68%;
font-weight: 400;
line-height: 1;
color: #777;
}
p {
font-size: 21px;
line-height: 1.4;
}
a {
text-decoration: none;
color: inherit;
font-size: 18px;
border-bottom: dotted 1px #fff;
}
a:active, a:hover {
outline-width: 0;
}
</style>
</head>
<body>
<main>
<h1>Unauthorized <small>401</small></h1>
<p>The requested resource requires authentication.</p>
<script>document.write('<a href="' + document.location.origin + '">Back To Homepage</a>');</script>
</main>
</body>
</html>

67
HTTP403.html Normal file
View File

@ -0,0 +1,67 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" href="https://tronnet.net/images/favicon.svg" sizes="any" type="image/svg+xml">
<title>403 - Forbidden</title>
<style type="text/css">
html {
font-family: monospace;
line-height: 1.15;
-ms-text-size-adjust: 100%;
-webkit-text-size-adjust: 100%;
box-sizing: border-box;
}
html, body {
width: 100%;
height: 100%;
background-color: #000;
}
body {
color: #fff;
text-align: center;
padding: 0px;
display: table;
margin: 0px;
}
main {
display: table-cell;
vertical-align: middle;
}
h1 {
font-weight: 500;
line-height: 1.1;
font-size: 36px;
margin: .67em 0;
}
h1 small {
font-size: 68%;
font-weight: 400;
line-height: 1;
color: #777;
}
p {
font-size: 21px;
line-height: 1.4;
}
a {
text-decoration: none;
color: inherit;
font-size: 18px;
border-bottom: dotted 1px #fff;
}
a:active, a:hover {
outline-width: 0;
}
</style>
</head>
<body>
<main>
<h1>Forbidden <small>403</small></h1>
<p>The requested resource requires higher permissions.</p>
<script>document.write('<a href="' + document.location.origin + '">Back To Homepage</a>');</script>
</main>
</body>
</html>

67
HTTP404.html Normal file
View File

@ -0,0 +1,67 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" href="https://tronnet.net/images/favicon.svg" sizes="any" type="image/svg+xml">
<title>404 - Not Found</title>
<style type="text/css">
html {
font-family: monospace;
line-height: 1.15;
-ms-text-size-adjust: 100%;
-webkit-text-size-adjust: 100%;
box-sizing: border-box;
}
html, body {
width: 100%;
height: 100%;
background-color: #000;
}
body {
color: #fff;
text-align: center;
padding: 0px;
display: table;
margin: 0px;
}
main {
display: table-cell;
vertical-align: middle;
}
h1 {
font-weight: 500;
line-height: 1.1;
font-size: 36px;
margin: .67em 0;
}
h1 small {
font-size: 68%;
font-weight: 400;
line-height: 1;
color: #777;
}
p {
font-size: 21px;
line-height: 1.4;
}
a {
text-decoration: none;
color: inherit;
font-size: 18px;
border-bottom: dotted 1px #fff;
}
a:active, a:hover {
outline-width: 0;
}
</style>
</head>
<body>
<main>
<h1>Not Found <small>404</small></h1>
<p>The requested resource could not be found.</p>
<script>document.write('<a href="' + document.location.origin + '">Back To Homepage</a>');</script>
</main>
</body>
</html>

67
HTTP500.html Normal file
View File

@ -0,0 +1,67 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" href="https://tronnet.net/images/favicon.svg" sizes="any" type="image/svg+xml">
<title>500 - Internal Error</title>
<style type="text/css">
html {
font-family: monospace;
line-height: 1.15;
-ms-text-size-adjust: 100%;
-webkit-text-size-adjust: 100%;
box-sizing: border-box;
}
html, body {
width: 100%;
height: 100%;
background-color: #000;
}
body {
color: #fff;
text-align: center;
padding: 0px;
display: table;
margin: 0px;
}
main {
display: table-cell;
vertical-align: middle;
}
h1 {
font-weight: 500;
line-height: 1.1;
font-size: 36px;
margin: .67em 0;
}
h1 small {
font-size: 68%;
font-weight: 400;
line-height: 1;
color: #777;
}
p {
font-size: 21px;
line-height: 1.4;
}
a {
text-decoration: none;
color: inherit;
font-size: 18px;
border-bottom: dotted 1px #fff;
}
a:active, a:hover {
outline-width: 0;
}
</style>
</head>
<body>
<main>
<h1>Internal Error <small>500</small></h1>
<p>The server encountered an unexpected error.</p>
<script>document.write('<a href="' + document.location.origin + '">Back To Homepage</a>');</script>
</main>
</body>
</html>

67
HTTP501.html Normal file
View File

@ -0,0 +1,67 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" href="https://tronnet.net/images/favicon.svg" sizes="any" type="image/svg+xml">
<title>501 - Not Implemented</title>
<style type="text/css">
html {
font-family: monospace;
line-height: 1.15;
-ms-text-size-adjust: 100%;
-webkit-text-size-adjust: 100%;
box-sizing: border-box;
}
html, body {
width: 100%;
height: 100%;
background-color: #000;
}
body {
color: #fff;
text-align: center;
padding: 0px;
display: table;
margin: 0px;
}
main {
display: table-cell;
vertical-align: middle;
}
h1 {
font-weight: 500;
line-height: 1.1;
font-size: 36px;
margin: .67em 0;
}
h1 small {
font-size: 68%;
font-weight: 400;
line-height: 1;
color: #777;
}
p {
font-size: 21px;
line-height: 1.4;
}
a {
text-decoration: none;
color: inherit;
font-size: 18px;
border-bottom: dotted 1px #fff;
}
a:active, a:hover {
outline-width: 0;
}
</style>
</head>
<body>
<main>
<h1>Not Implemented <small>501</small></h1>
<p>The requested method is not supported by the server.</p>
<script>document.write('<a href="' + document.location.origin + '">Back To Homepage</a>');</script>
</main>
</body>
</html>

67
HTTP502.html Normal file
View File

@ -0,0 +1,67 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" href="https://tronnet.net/images/favicon.svg" sizes="any" type="image/svg+xml">
<title>502 - Bad Gateway</title>
<style type="text/css">
html {
font-family: monospace;
line-height: 1.15;
-ms-text-size-adjust: 100%;
-webkit-text-size-adjust: 100%;
box-sizing: border-box;
}
html, body {
width: 100%;
height: 100%;
background-color: #000;
}
body {
color: #fff;
text-align: center;
padding: 0px;
display: table;
margin: 0px;
}
main {
display: table-cell;
vertical-align: middle;
}
h1 {
font-weight: 500;
line-height: 1.1;
font-size: 36px;
margin: .67em 0;
}
h1 small {
font-size: 68%;
font-weight: 400;
line-height: 1;
color: #777;
}
p {
font-size: 21px;
line-height: 1.4;
}
a {
text-decoration: none;
color: inherit;
font-size: 18px;
border-bottom: dotted 1px #fff;
}
a:active, a:hover {
outline-width: 0;
}
</style>
</head>
<body>
<main>
<h1>Bad Gateway <small>502</small></h1>
<p>The gateway encountered an error while connecting to the upstream server.</p>
<script>document.write('<a href="' + document.location.origin + '">Back To Homepage</a>');</script>
</main>
</body>
</html>

67
HTTP503.html Normal file
View File

@ -0,0 +1,67 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" href="https://tronnet.net/images/favicon.svg" sizes="any" type="image/svg+xml">
<title>503 - Service Unavailable</title>
<style type="text/css">
html {
font-family: monospace;
line-height: 1.15;
-ms-text-size-adjust: 100%;
-webkit-text-size-adjust: 100%;
box-sizing: border-box;
}
html, body {
width: 100%;
height: 100%;
background-color: #000;
}
body {
color: #fff;
text-align: center;
padding: 0px;
display: table;
margin: 0px;
}
main {
display: table-cell;
vertical-align: middle;
}
h1 {
font-weight: 500;
line-height: 1.1;
font-size: 36px;
margin: .67em 0;
}
h1 small {
font-size: 68%;
font-weight: 400;
line-height: 1;
color: #777;
}
p {
font-size: 21px;
line-height: 1.4;
}
a {
text-decoration: none;
color: inherit;
font-size: 18px;
border-bottom: dotted 1px #fff;
}
a:active, a:hover {
outline-width: 0;
}
</style>
</head>
<body>
<main>
<h1>Service Unavailable <small>503</small></h1>
<p>The server is unavailable and could not handle the request. The server may be under maintenance or is overloaded.</p>
<script>document.write('<a href="' + document.location.origin + '">Back To Homepage</a>');</script>
</main>
</body>
</html>