Update 500-error.html

Base it more closely on the rails application error page
This commit is contained in:
Jose Diaz-Gonzalez authored and GitHub committed 2017-04-22 15:40:26 -06:00
1 parent 12b44c865b
commit 04dda5e347
1 file changed
+30 -6
+30 -6
View File
@@ -1,9 +1,33 @@
<!DOCTYPE html>
<html> <html>
<body style="padding:0; margin: 0;"> <head>
<div style="width:100%; height: 100%; text-align:center; font-family: arial; font-weight: bold; color: #ffffff; background: rgba(33, 129, 243, 0.66);"> <title>We're sorry, but something went wrong (500)</title>
<div style="position:absolute; top: 50%; left: 50%; transform: translateX(-50%) translateY(-50%);"> <meta name="viewport" content="width=device-width,initial-scale=1">
<h1>THERE HAS BEEN A 500 ERROR.</h1> <style>
</div> body {
background-color: #6CABF7;
color: #fff;
text-align: center;
font-family: arial, sans-serif;
margin: 0;
}
div {
position:absolute;
top: 50%;
left: 50%;
transform: translateX(-50%) translateY(-50%);
}
p {
color: #666;
}
</style>
</head>
<body>
<div>
<h1>We're sorry, but something went wrong.</h1>
<p>If you are the application owner check the logs for more information.</p>
</div> </div>
</body> </body>
</html>'; </html>