modified error pages a bit

This commit is contained in:
nilsding 2014-12-21 15:31:18 +01:00
parent ba9b6d1e12
commit 36f069d958
5 changed files with 282 additions and 136 deletions

View File

@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<title>The page you were looking for doesn't exist (404)</title>
<title>Page not found!!1! (404)</title>
<meta name="viewport" content="width=device-width,initial-scale=1">
<style>
body {
@ -12,6 +12,9 @@
margin: 0;
}
a { color: #4183c4; text-decoration: none; }
a:hover { text-decoration: underline; }
div.dialog {
width: 95%;
max-width: 33em;
@ -37,6 +40,8 @@
line-height: 1.5em;
}
div.dialog img { margin-bottom: 0.5em; }
div.dialog > p {
margin: 0 0 1em;
padding: 1em;
@ -51,9 +56,20 @@
color: #666;
box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
}
div.links {
margin-top: 2em;
color: #999;
}
div.links a {
color: #666;
font-weight: 200;
font-size: 14px;
margin: 0 10px;
}
</style>
</head>
<body>
<div class="dialog">
<div>
@ -62,5 +78,9 @@
</div>
<p>If you think you found a bug, please let us know.</p>
</div>
<div class="links">
<a href="https://github.com/justask/justask-bugs/issues">Bug tracker</a> &middot;
<a href="https://twitter.com/justask_2">Twitter</a>
</div>
</body>
</html>

View File

@ -12,6 +12,9 @@
margin: 0;
}
a { color: #4183c4; text-decoration: none; }
a:hover { text-decoration: underline; }
div.dialog {
width: 95%;
max-width: 33em;
@ -37,6 +40,8 @@
line-height: 1.5em;
}
div.dialog img { margin-bottom: 0.5em; }
div.dialog > p {
margin: 0 0 1em;
padding: 1em;
@ -51,16 +56,31 @@
color: #666;
box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
}
div.links {
margin-top: 2em;
color: #999;
}
div.links a {
color: #666;
font-weight: 200;
font-size: 14px;
margin: 0 10px;
}
</style>
</head>
<body>
<div class="dialog">
<div>
<h1>The change you wanted was rejected.</h1>
<p>Maybe you tried to change something you didn't have access to.</p>
</div>
<p>If you think you found a bug, please let us know.</p>
<p>If you think you found a bug, please <a href="https://github.com/justask/justask-bugs/issues">please let us know</a>.</p>
</div>
<div class="links">
<a href="https://github.com/justask/justask-bugs/issues">Bug tracker</a> &middot;
<a href="https://twitter.com/justask_2">Twitter</a>
</div>
</body>
</html>

View File

@ -12,6 +12,9 @@
margin: 0;
}
a { color: #4183c4; text-decoration: none; }
a:hover { text-decoration: underline; }
div.dialog {
width: 95%;
max-width: 33em;
@ -37,6 +40,8 @@
line-height: 1.5em;
}
div.dialog img { margin-bottom: 0.5em; }
div.dialog > p {
margin: 0 0 1em;
padding: 1em;
@ -51,15 +56,30 @@
color: #666;
box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
}
div.links {
margin-top: 2em;
color: #999;
}
div.links a {
color: #666;
font-weight: 200;
font-size: 14px;
margin: 0 10px;
}
</style>
</head>
<body>
<div class="dialog">
<div>
<h1>We're sorry, but something went wrong.</h1>
<h1>Looks like something went wrong!</h1>
</div>
<p>If you think you found a bug, please let us know.</p>
<p>This usually happens due to an error in our code. If you think you found a bug, <a href="https://github.com/justask/justask-bugs/issues">please let us know</a>.</p>
</div>
<div class="links">
<a href="https://github.com/justask/justask-bugs/issues">Bug tracker</a> &middot;
<a href="https://twitter.com/justask_2">Twitter</a>
</div>
</body>
</html>

86
public/502.html Normal file
View File

@ -0,0 +1,86 @@
<!DOCTYPE html>
<html>
<head>
<title>Unicorn! (502)</title>
<meta name="viewport" content="width=device-width,initial-scale=1">
<style>
body {
background-color: #EFEFEF;
color: #2E2F30;
text-align: center;
font-family: arial, sans-serif;
margin: 0;
}
a { color: #4183c4; text-decoration: none; }
a:hover { text-decoration: underline; }
div.dialog {
width: 95%;
max-width: 33em;
margin: 4em auto 0;
}
div.dialog > div {
border: 1px solid #CCC;
border-right-color: #999;
border-left-color: #999;
border-bottom-color: #BBB;
border-top: #00A0F0 solid 4px;
border-top-left-radius: 9px;
border-top-right-radius: 9px;
background-color: white;
padding: 7px 12% 0;
box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
}
h1 {
font-size: 100%;
color: #0b79C5;
line-height: 1.5em;
}
div.dialog img { margin-bottom: 0.5em; }
div.dialog > p {
margin: 0 0 1em;
padding: 1em;
background-color: #F7F7F7;
border: 1px solid #CCC;
border-right-color: #999;
border-left-color: #999;
border-bottom-color: #999;
border-bottom-left-radius: 4px;
border-bottom-right-radius: 4px;
border-top-color: #DADADA;
color: #666;
box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
}
div.links {
margin-top: 2em;
color: #999;
}
div.links a {
color: #666;
font-weight: 200;
font-size: 14px;
margin: 0 10px;
}
</style>
</head>
<body>
<div class="dialog">
<div>
<h1>This page takes way too long to load!</h1>
<img src="images/angry_unicorn.png" alt="Unicorn">
</div>
<p>Sorry about that. Please try refreshing and contact us if the problem persists.</p>
</div>
<div class="links">
<a href="https://github.com/justask/justask-bugs/issues">Bug tracker</a> &middot;
<a href="https://twitter.com/justask_2">Twitter</a>
</div>
</body>
</html>

Binary file not shown.

After

Width:  |  Height:  |  Size: 37 KiB