82 lines
1.9 KiB
HTML
82 lines
1.9 KiB
HTML
<!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>
|