2024-06-05 15:46:59 +02:00
|
|
|
{{ define "default" }}
|
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<meta charset="UTF-8" />
|
|
|
|
<meta name="viewport" content="width=device-width,initial-scale=1" />
|
|
|
|
<title>Erreur - {{ .Layer.Name }}</title>
|
|
|
|
<style>
|
|
|
|
html {
|
|
|
|
box-sizing: border-box;
|
|
|
|
font-size: 16px;
|
|
|
|
}
|
|
|
|
|
|
|
|
*,
|
|
|
|
*:before,
|
|
|
|
*:after {
|
|
|
|
box-sizing: inherit;
|
|
|
|
}
|
|
|
|
|
|
|
|
body,
|
|
|
|
h1,
|
|
|
|
h2,
|
|
|
|
h3,
|
|
|
|
h4,
|
|
|
|
h5,
|
|
|
|
h6,
|
|
|
|
p,
|
|
|
|
ol,
|
|
|
|
ul {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
font-weight: normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
html,
|
|
|
|
body {
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
font-family: Arial, Helvetica, sans-serif;
|
|
|
|
background-color: #ffe4e4;
|
|
|
|
}
|
|
|
|
|
|
|
|
#container {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
height: 100%;
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
|
|
|
|
#card {
|
|
|
|
padding: 1.5em 1em;
|
|
|
|
border: 1px solid #d90202;
|
|
|
|
background-color: #feb0b0;
|
|
|
|
border-radius: 5px;
|
|
|
|
box-shadow: 2px 2px #cccccc1c;
|
|
|
|
color: #810000 !important;
|
2024-10-21 13:49:32 +02:00
|
|
|
max-width: 80%;
|
|
|
|
overflow-x: hidden;
|
2024-06-05 15:46:59 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.title {
|
|
|
|
margin-bottom: 1.2em;
|
|
|
|
}
|
|
|
|
|
|
|
|
p {
|
|
|
|
margin-bottom: 0.5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.footer {
|
|
|
|
font-size: 0.7em;
|
|
|
|
margin-top: 2em;
|
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
|
|
|
|
.back-link {
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
</style>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<div id="container">
|
|
|
|
<div id="card">
|
|
|
|
<h2 class="title">Une erreur est survenue !</h2>
|
|
|
|
{{ if .Debug }}
|
2024-10-21 13:49:32 +02:00
|
|
|
<pre style="overflow-x: auto">{{ .Err }}</pre>
|
2024-06-05 15:46:59 +02:00
|
|
|
{{ end }}
|
|
|
|
{{/* if a public base url is provided, show navigation link */}}
|
|
|
|
{{ $oidc := ( index .Layer.Options "oidc" ) }}
|
|
|
|
{{ $publicBaseURL := ( index $oidc "publicBaseURL" ) }}
|
|
|
|
{{ if $publicBaseURL }}
|
|
|
|
<div class="back-link">
|
|
|
|
<a href="{{ $publicBaseURL }}" title="Retourner sur l'application"
|
|
|
|
>Retourner sur l'application</a
|
|
|
|
>
|
|
|
|
</div>
|
|
|
|
{{ end }}
|
|
|
|
<p class="footer">
|
|
|
|
Propulsé par
|
|
|
|
<a href="https://forge.cadoles.com/Cadoles/bouncer">Bouncer</a>.
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</body>
|
|
|
|
</html>
|
|
|
|
{{ end }}
|