Переработка css запросов

This commit is contained in:
2024-11-30 21:00:49 +03:00
parent 0076444a02
commit d57de5b1a3
3 changed files with 119 additions and 58 deletions

View File

@@ -1,22 +1,43 @@
<!DOCTYPE html>
<html lang="ru">
<html lang="en" data-bs-theme="dark">
<head>
<meta charset="UTF-8">
<title>Запросы</title>
<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"
/>
<link
href="https://getbootstrap.com/docs/5.3/assets/css/docs.css"
rel="stylesheet"
/>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js"></script>
</head>
<body>
<div class="logout">
<a href="{{ url_for('logout') }}"><button>Выход</button></a>
<body class="p-3 m-0">
<div class="row flex-nowrap justify-content-between">
<div class="col-1 pt-1"></div>
<div class="col-10 text-center">
<label class="display-5 fw-bold">Выберите вариант запроса</label>
</div>
<div class="col-1 d-flex justify-content-end align-items-center">
<a href="{{ url_for('logout') }}"><button class="btn btn-danger">Выход</button></a>
</div>
</div>
<h1>Выберите вариант запроса</h1>
<div class="buttons_menu">
{% for point in options %}
<a href="{{ url_for(point['url']) }}"><button>{{ point['name'] }}</button></a>
{% endfor %}
</div>
<div class="return">
<a href="{{ url_for('index') }}"><button>Главное меню</button></a>
<div class="container">
<div class="row justify-content-center">
<div class="col-12 d-flex justify-content-center">
<div class="btn-group py-5" role="group" aria-label="Basic example">
{% for point in options %}
<a href="{{ url_for(point['url']) }}"><button class="btn btn-primary me-2">{{ point['name'] }}</button></a>
{% endfor %}
</div>
</div>
</div>
<div class="row justify-content-center">
<div class="col-12 d-flex justify-content-center">
<a href="{{ url_for('index') }}"><button class="btn btn-warning">Главное меню</button></a>
</div>
</div>
</div>
</body>
</html>
</html>