Update 400-error.html
Base it more closely on the rails application error page
This commit is contained in:
1 parent
c05ceb0aff
commit
a7b929a80e
1 file changed
+31
-8
@@ -1,9 +1,32 @@
|
|||||||
|
<!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>The page you were looking for cannot be served (4xx)</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 400 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: #eee;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
<div>
|
||||||
|
<h2>The page you were looking for cannot be served.</h2>
|
||||||
|
<p>If you are the application owner check the logs for more information.</p>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
Reference in new issue
Block a user