Skip to content

Commit

Permalink
Create static 500 error page for nginx
Browse files Browse the repository at this point in the history
  • Loading branch information
LoanR committed Jan 26, 2024
1 parent 881fddd commit 7a7770a
Showing 1 changed file with 139 additions and 0 deletions.
139 changes: 139 additions & 0 deletions web/b3desk/static/errors/custom_50x.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,139 @@
<!doctype html>
<html lang="fr">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="">
<meta name="author" content="">
<link rel="icon" href="/static/images/favicon.png">

<title>B3Desk - Erreur</title>

<!-- DSFR core CSS -->
<link rel="stylesheet" type="text/css" href="/static/css/global.css">
<link rel="stylesheet" type="text/css" href="/static/dsfr-1.7/dsfr/dsfr.min.css">
<link rel="stylesheet" type="text/css" href="/static/dsfr-1.7/utility/icons/icons.css">
<link rel="stylesheet" type="text/css" href="/static/css/toc.css">
<link rel="stylesheet" type="text/css" href="/static/css/remixicon/remixicon.css">
<link rel="stylesheet" type="text/css" href="/static/css/spinner.css">
<link rel="stylesheet" type="text/css" href="/static/presentation/css/all.css">
</head>

<body>
<header role="banner" class="fr-header">
<div class="fr-header__body">
<div class="fr-container">
<div class="fr-header__body-row">
<div class="fr-header__brand fr-enlarge-link">
<div class="fr-header__brand-top">
<div class="fr-header__logo">
<p class="fr-logo">
République
<br>Française
</p>
</div>
<div class="fr-header__navbar">
<button class="fr-btn--menu fr-btn" data-fr-opened="false" aria-controls="modal-616" aria-haspopup="menu" id="button-617" title="Menu">
Menu
</button>
</div>
</div>
<div class="fr-header__service">
<a href="/" title="Accueil - Webinaire - République Française">
<!-- Webinaire de l'État -->
<p class="fr-header__service-title">
Webinaire
</p>
</a>
<!-- Le service de réunions en ligne pour les agents de l'État -->
<p class="fr-header__service-tagline">Le service de webinaire pour les agents de l’État</p>
</div>
</div>
</div>
</div>
</div>
<div class="fr-header__menu fr-modal" id="modal-616" aria-labelledby="button-617">
<div class="fr-container">
<button class="fr-btn--close fr-btn" aria-controls="modal-616" title="Fermer">
Fermer
</button>
<div class="fr-header__menu-links">
</div>
</div>
</div>
</header>
<main role="main" id="main" >
<div id='layoutContainer' class="fr-container">
<div class="fr-grid-row fr-grid-row--center fr-grid-row--gutters fr-mt-4w">
<div class="fr-col-sm-10 fr-col-md-8 fr-pt-4w">
<div class="fr-container">
<div class="fr-grid-row fr-grid-row--center">
<div class="fr-col-md-6">
<h1 class="fr-h2">Erreur</h1>
<p>Le serveur a rencontré une erreur interne, veuillez réessayer ultérieurement.</p>
</div>
</div>
</div>
</div>
</div>
</div>
</main>

<footer class="fr-footer" role="contentinfo">
<div class="fr-container">
<div class="fr-footer__body">
<div class="fr-footer__brand fr-enlarge-link">
<p class="fr-logo">
République
<br>Française
</p>
</div>
<div class="fr-footer__content">
<p class="fr-footer__content-desc">
Service proposé par la Direction interministérielle du numérique et la Direction du numérique pour l'éducation
</p>
<p class="fr-footer__content-desc">
Le code source est ouvert et les contributions sont bienvenues.
<a title="Voir le code source - nouvelle fenêtre" href="https://github.com/numerique-gouv/b3desk" target="_blank" rel="noopener">Voir le code source</a>
</p>
<ul class="fr-footer__content-list">
<li class="fr-footer__content-item">
<a class="fr-footer__content-link" target="_blank" href="https://legifrance.gouv.fr">legifrance.gouv.fr</a>
</li>
<li class="fr-footer__content-item">
<a class="fr-footer__content-link" target="_blank" href="https://gouvernement.fr">gouvernement.fr</a>
</li>
<li class="fr-footer__content-item">
<a class="fr-footer__content-link" target="_blank" href="https://service-public.fr">service-public.fr</a>
</li>
<li class="fr-footer__content-item">
<a class="fr-footer__content-link" target="_blank" href="https://data.gouv.fr">data.gouv.fr</a>
</li>
</ul>
</div>
</div>
<div class="fr-footer__bottom">
<ul class="fr-footer__bottom-list">
<li class="fr-footer__bottom-item">
<a class="fr-footer__bottom-link" href="/accessibilite">Accessibilité : non conforme</a>
</li>
<li class="fr-footer__bottom-item">
<a class="fr-footer__bottom-link" href="/mentions_legales">Mentions légales</a>
</li>
<li class="fr-footer__bottom-item">
<a class="fr-footer__bottom-link" href="/donnees_personnelles">Données personnelles et cookies</a>
</li>
<li class="fr-footer__bottom-item">
<a class="fr-footer__bottom-link" href="/cgu">Conditions générales d’utilisation</a>
</li>
</ul>
</div>
</div>
</footer>

<!-- DSFR JavaScript -->
<script src="/static/dsfr-1.7/dsfr/dsfr.module.min.js"></script>
<script type="text/javascript" nomodule href="/static/dsfr-1.7/dsfr/dsfr.nomodule.min.js" ></script>
</div>
</body>
</html>

0 comments on commit 7a7770a

Please sign in to comment.