Css для вывода ошибки в системе

This commit is contained in:
2024-11-30 15:53:48 +03:00
parent c7c3f3b14f
commit e326f4b74d

View File

@@ -3,12 +3,16 @@
<head>
<meta charset="UTF-8">
<title>Ошибка</title>
<link href="/static/css/auth.css" type="text/css" rel="stylesheet">
<link href="/static/css/main.css" type="text/css" rel="stylesheet">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet">
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js"></script>
</head>
<body>
<h1>Сожалеем</h1>
<p>{{ error_message }}</p>
<a href="{{ url_for('index') }}"><button>На главную страницу</button></a>
<body class="d-flex flex-column h-100">
<main class="flex-shrink-0">
<div class="container">
<h1 class="mt-5">Сожалеем</h1>
<p class="lead"> {{ error_message }}</p>
<a href="{{ url_for('index') }}"><button class="btn btn-primary">На главную страницу</button></a>
</div>
</main>
</body>
</html>