This commit is contained in:
root
2025-08-28 21:45:02 +02:00
commit fe932e7a9f
10 changed files with 1906 additions and 0 deletions

87
templates/error.html Normal file
View File

@@ -0,0 +1,87 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Error {{ error.code }}</title>
<style>
:root {
--bg-color: #1a1a1a;
--card-bg: #2d2d2d;
--text-color: #e0e0e0;
--accent: #007bff;
--border-color: #404040;
--error-color: #ff4444;
}
body {
font-family: 'Segoe UI', system-ui, sans-serif;
background-color: var(--bg-color);
color: var(--text-color);
margin: 0;
min-height: 100vh;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
text-align: center;
padding: 20px;
}
.error-container {
max-width: 600px;
padding: 40px;
background: var(--card-bg);
border-radius: 12px;
border: 1px solid var(--border-color);
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}
h1 {
color: var(--error-color);
font-size: 3.5em;
margin: 0 0 20px 0;
font-weight: 600;
}
p {
font-size: 1.2em;
margin: 10px 0;
color: #aaa;
}
a {
color: var(--accent);
text-decoration: none;
margin-top: 20px;
display: inline-block;
}
a:hover {
text-decoration: underline;
}
@media (max-width: 768px) {
.error-container {
padding: 25px;
margin: 15px;
}
h1 {
font-size: 2.5em;
}
p {
font-size: 1em;
}
}
</style>
</head>
<body>
<div class="error-container">
<h1>Error {{ error.code }}</h1>
<p>{{ error.description }}</p>
<a href="/">← Return to Home Page</a>
</div>
</body>
</html>