Bruno Charest 88742892d0
Some checks failed
Tests / Backend Tests (Python) (3.10) (push) Has been cancelled
Tests / Backend Tests (Python) (3.11) (push) Has been cancelled
Tests / Backend Tests (Python) (3.12) (push) Has been cancelled
Tests / Frontend Tests (JS) (push) Has been cancelled
Tests / Integration Tests (push) Has been cancelled
Tests / All Tests Passed (push) Has been cancelled
refactorisation pour correction de sécurité
2026-03-03 08:29:52 -05:00

49 lines
1.2 KiB
HTML

<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>{{ title }}</title>
<style>
body {
font-family: system-ui, sans-serif;
background: #1a1a2e;
color: #fff;
display: flex;
align-items: center;
justify-content: center;
height: 100vh;
margin: 0;
}
.error {
text-align: center;
padding: 2rem;
max-width: 520px;
}
.error h1 { color: #ef4444; }
.error p { color: #e5e7eb; margin-bottom: 0.75rem; }
.error a { color: #60a5fa; }
.btn {
display: inline-block;
margin-top: 1rem;
padding: 0.5rem 0.9rem;
background: #7c3aed;
color: #fff;
text-decoration: none;
border-radius: 0.5rem;
}
</style>
</head>
<body>
<div class="error">
<h1>{{ heading }}</h1>
{% for msg in messages %}
<p>{{ msg }}</p>
{% endfor %}
{% if show_back_link %}
<a class="btn" href="/">Retour au Dashboard</a>
{% endif %}
</div>
</body>
</html>