Merge pull request #6310 from betagouv/translate-422-error-page

Redesign et traduction de la page 'Erreur 422'
This commit is contained in:
LeSim 2021-06-29 19:10:31 +02:00 committed by GitHub
commit 7bf0f1be9c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,67 +1,59 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html lang='fr'>
<head> <head>
<title>The change you wanted was rejected (422)</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 422 · 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:700px;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; .description{font-size: 18px; margin-bottom: 8px;}
border-top-left-radius: 9px; /*! CSS Used fontfaces */
border-top-right-radius: 9px; @font-face{font-family:"Muli";src:url(/fonts/muli/Muli-Regular.woff) format("woff");font-weight:normal;font-style:normal;}
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/422.html --> <div class='page-wrapper'>
<div class="dialog"> <div class='new-header new-header-with-border'>
<div> <div class='header-inner-content'>
<h1>The change you wanted was rejected.</h1> <div class='flex align-center'>
<p>Maybe you tried to change something you didn't have access to.</p> <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'>Laction demandée a été rejetée.</h1>
<p class='description'>
Pas de panique, cest probablement temporaire.
</p>
<p class='description'>
Essayez de
<a href="javascript:window.location=document.referrer;">recharger la page précédente</a>,
et tout devrait rentrer dans lordre.
</p>
</div> </div>
<p>If you are the application owner check the logs for more information.</p>
</div> </div>
</body> </body>
</html> </html>