Update public source

This commit is contained in:
2026-10-10 18:17:40 +03:00
parent fc09aa74f8
commit 18b2becc7f
4 changed files with 214 additions and 276 deletions
+81
View File
@@ -0,0 +1,81 @@
<!doctype html>
<html lang="ru">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>{{ status_code }} — {{ title }} | WiFi GPS Mapper</title>
<link
rel="stylesheet"
href="{{ url_for('static', filename='style.css') }}"
>
<style>
.error-page {
min-height: 100vh;
display: grid;
place-items: center;
padding: 24px;
}
.error-card {
width: min(100%, 620px);
padding: 36px;
background: var(--surface);
border: 1px solid var(--border);
border-radius: 8px;
text-align: center;
}
.error-code {
margin: 0 0 18px;
color: var(--accent);
font-size: clamp(48px, 10vw, 88px);
line-height: 1;
}
.error-title {
margin: 0 0 12px;
font-size: clamp(24px, 4vw, 32px);
}
.error-message {
margin: 0 0 28px;
color: var(--muted);
}
.error-home {
display: inline-flex;
align-items: center;
justify-content: center;
padding: 10px 18px;
border-radius: 5px;
background: var(--green);
color: var(--bg);
text-decoration: none;
font-weight: 700;
}
.error-home:hover {
filter: brightness(1.08);
}
</style>
</head>
<body>
<main class="error-page">
<section class="error-card">
<p class="error-code">{{ status_code }}</p>
<h1 class="error-title">{{ title }}</h1>
<p class="error-message">{{ message }}</p>
<a
class="error-home"
href="{{ url_for('index') }}"
>Вернуться на главную</a>
</section>
</main>
</body>
</html>