Update 500-error.html
Base it more closely on the rails application error page
This commit is contained in:
committed by
GitHub
parent
12b44c865b
commit
04dda5e347
@@ -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 {
|
||||||
</div>
|
background-color: #6CABF7;
|
||||||
</body>
|
color: #fff;
|
||||||
</html>';
|
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>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
|||||||
Reference in New Issue
Block a user