simpler error pages

This commit is contained in:
joshua stein 2012-07-03 13:35:22 -05:00
parent 062fe6c2a3
commit a5eead5852
3 changed files with 10 additions and 55 deletions

View file

@ -1,26 +1,9 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head> <head>
<title>The page you were looking for doesn't exist (404)</title> <title>404</title>
<style type="text/css">
body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
div.dialog {
width: 25em;
padding: 0 4em;
margin: 4em auto 0 auto;
border: 1px solid #ccc;
border-right-color: #999;
border-bottom-color: #999;
}
h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
</style>
</head> </head>
<body> <body>
<!-- This file lives in public/404.html --> <h1>gone fishin'</h1>
<div class="dialog">
<h1>The page you were looking for doesn't exist.</h1>
<p>You may have mistyped the address or the page may have moved.</p>
</div>
</body> </body>
</html> </html>

View file

@ -1,26 +1,11 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head> <head>
<title>The change you wanted was rejected (422)</title> <title>422</title>
<style type="text/css">
body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
div.dialog {
width: 25em;
padding: 0 4em;
margin: 4em auto 0 auto;
border: 1px solid #ccc;
border-right-color: #999;
border-bottom-color: #999;
}
h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
</style>
</head> </head>
<body> <body>
<!-- This file lives in public/422.html --> <h1>rejected</h1>
<div class="dialog"> <p>
<h1>The change you wanted was rejected.</h1> it's not me, it's you
<p>Maybe you tried to change something you didn't have access to.</p>
</div>
</body> </body>
</html> </html>

View file

@ -1,25 +1,12 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head> <head>
<title>We're sorry, but something went wrong (500)</title> <title>:(</title>
<style type="text/css">
body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
div.dialog {
width: 25em;
padding: 0 4em;
margin: 4em auto 0 auto;
border: 1px solid #ccc;
border-right-color: #999;
border-bottom-color: #999;
}
h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
</style>
</head> </head>
<body> <body>
<!-- This file lives in public/500.html --> <h1>:(</h1>
<div class="dialog"> <p>
<h1>We're sorry, but something went wrong.</h1> something broke. we're on it.
</div>
</body> </body>
</html> </html>