Merge pull request #2996 from betagouv/fix_2952_page_erreur_500
Fix 2952 page erreur 500
This commit is contained in:
commit
31b57116ce
3 changed files with 44 additions and 56 deletions
|
@ -1,66 +1,53 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html lang='fr'>
|
||||||
<head>
|
<head>
|
||||||
<title>We're sorry, but something went wrong (500)</title>
|
<meta content='text/html; charset=UTF-8' http-equiv='Content-Type'>
|
||||||
<meta name="viewport" content="width=device-width,initial-scale=1">
|
<meta content='IE=edge' http-equiv='X-UA-Compatible'>
|
||||||
|
<meta content='no-cache' name='turbolinks-cache-control'>
|
||||||
|
<meta content='width=device-width, initial-scale=1' name='viewport'>
|
||||||
|
<title>
|
||||||
|
Erreur 500 · demarches-simplifiees.fr
|
||||||
|
</title>
|
||||||
<style>
|
<style>
|
||||||
body {
|
html,body,div,span,h1,p,a,img,table,tbody,tfoot,thead,tr,th,td{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline;}
|
||||||
background-color: #EFEFEF;
|
html,body{height:100%;}
|
||||||
color: #2E2F30;
|
body{line-height:1;font-family:"Muli";color:#333333;font-size:16px;line-height:1.42857143;}
|
||||||
text-align: center;
|
html{box-sizing:border-box;}
|
||||||
font-family: arial, sans-serif;
|
*,*::before,*::after{box-sizing:inherit;}
|
||||||
margin: 0;
|
a{text-decoration:none;}
|
||||||
}
|
.page-wrapper{position:relative;min-height:100%;}
|
||||||
|
.container{padding-left:16px;padding-right:16px;max-width:1072px;margin:0 auto;}
|
||||||
div.dialog {
|
.flex{display:flex;}
|
||||||
width: 95%;
|
.flex.align-center{align-items:center;}
|
||||||
max-width: 33em;
|
.header-inner-content{padding-left:16px;padding-right:16px;max-width:1072px;margin:0 auto;display:flex;justify-content:space-between;min-height:72px;}
|
||||||
margin: 4em auto 0;
|
.new-header{background-color:#FFFFFF;}
|
||||||
}
|
.new-header-with-border{border-bottom:1px solid #CCCCCC;}
|
||||||
|
.header-logo{display:inline-block;margin-right:32px;}
|
||||||
div.dialog > div {
|
.header-logo img{height:34px;}
|
||||||
border: 1px solid #CCC;
|
@media (max-width: 1040px){
|
||||||
border-right-color: #999;
|
.header-logo img{height:18px;}
|
||||||
border-left-color: #999;
|
}
|
||||||
border-bottom-color: #BBB;
|
.new-h1{color:#333333;text-align:center;font-weight:bold;margin-bottom:60px;font-size:41px;margin-top:60px;}
|
||||||
border-top: #B00100 solid 4px;
|
/*! CSS Used fontfaces */
|
||||||
border-top-left-radius: 9px;
|
@font-face{font-family:"Muli";src:url(/fonts/muli-bold/Muli-Regular.woff) format("woff");font-weight:normal;font-style:normal;}
|
||||||
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: #730E15;
|
|
||||||
line-height: 1.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);
|
|
||||||
}
|
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
<!-- This file lives in public/500.html -->
|
<div class='page-wrapper'>
|
||||||
<div class="dialog">
|
<div class='new-header new-header-with-border'>
|
||||||
<div>
|
<div class='header-inner-content'>
|
||||||
<h1>We're sorry, but something went wrong.</h1>
|
<div class='flex align-center'>
|
||||||
|
<a class="header-logo" href="/"><img alt='demarches-simplifiees.fr' src='/logo-ds.svg'>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class='container'>
|
||||||
|
<h1 class='new-h1'>Une erreur est survenue</h1>
|
||||||
|
<div class='description'>
|
||||||
|
Nos équipes ont été averties. Si le problème persiste ou si vous voulez nous donner des détails concernant l'erreur qui vient de se produire, vous pouvez nous contacter à l'adresse <a href="mailto:contact@demarches-simplifiees.fr" target="_blank">contact@demarches-simplifiees.fr</a>.
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<p>If you are the application owner check the logs for more information.</p>
|
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
BIN
public/fonts/muli-bold/Muli-Regular.woff
Normal file
BIN
public/fonts/muli-bold/Muli-Regular.woff
Normal file
Binary file not shown.
1
public/logo-ds.svg
Normal file
1
public/logo-ds.svg
Normal file
File diff suppressed because one or more lines are too long
After Width: | Height: | Size: 36 KiB |
Loading…
Reference in a new issue