mirror of
https://github.com/dokku/dokku.git
synced 2026-05-18 05:05:46 +02:00
Update 400-error.html
Base it more closely on the rails application error page
This commit is contained in:
committed by
GitHub
parent
c05ceb0aff
commit
a7b929a80e
@@ -1,9 +1,32 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<body style="padding:0; margin: 0;">
|
||||
<div style="width:100%; height: 100%; text-align:center; font-family: arial; font-weight: bold; color: #ffffff; background: rgba(33, 129, 243, 0.66);">
|
||||
<div style="position:absolute; top: 50%; left: 50%; transform: translateX(-50%) translateY(-50%);">
|
||||
<h1>THERE HAS BEEN A 400 ERROR.</h1>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>';
|
||||
<head>
|
||||
<title>The page you were looking for cannot be served (4xx)</title>
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1">
|
||||
<style>
|
||||
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: #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