Вёрстка

This commit is contained in:
Anton Kamalov
2024-10-24 00:26:01 +03:00
parent ae6d4f2ca4
commit caa21d25ff
7 changed files with 90 additions and 14 deletions

View File

@@ -3,8 +3,12 @@
<head>
<meta charset="UTF-8">
<title>Заготовки на складе</title>
<link href="/static/css/main.css" type="text/css" rel="stylesheet">
</head>
<body>
<div class="logout">
<a href="{{ url_for('logout') }}"><button>Выход</button></a>
</div>
<h1>Заготовки на складе</h1>
<!-- Output -->
<table>
@@ -22,5 +26,8 @@
</tr>
{% endfor %}
</table>
</body>
<div class="return">
<a href="{{ url_for('requests_bp.requests') }}"><button>Обратно в меню запросов</button></a>
</div></body>
</html>

View File

@@ -3,9 +3,12 @@
<head>
<meta charset="UTF-8">
<title>Заготовки на складе</title>
<link href="/static/css/main.css" type="text/css" rel="stylesheet">
</head>
<body>
<button><a href="{{ url_for('logout') }}">Выход</a></button>
<div class="logout">
<a href="{{ url_for('logout') }}"><button>Выход</button></a>
</div>
<!-- Input -->
<h1>Выберите материал</h1>
<form action="" method="post">
@@ -16,7 +19,9 @@
</select>
<input type="submit" value="Отправить">
</form>
<button><a href="{{ url_for('requests_bp.requests') }}">Обратно в меню запросов</a></button>
<div class="return">
<a href="{{ url_for('requests_bp.requests') }}"><button>Обратно в меню запросов</button></a>
</div>
</body>
</html>

View File

@@ -3,14 +3,20 @@
<head>
<meta charset="UTF-8">
<title>Запросы</title>
<link href="/static/css/main.css" type="text/css" rel="stylesheet">
</head>
<body>
<div class="logout">
<a href="{{ url_for('logout') }}"><button>Выход</button></a>
</div>
<h1>Выберите вариант запроса</h1>
<a href="{{ url_for('logout') }}">Выход</a>
<nav class="menu">
{% for point in options %}
<a href="{{ url_for(point['url']) }}">{{ point['name'] }}</a>
<a href="{{ url_for(point['url']) }}"><button>{{ point['name'] }}</button></a>
{% endfor %}
</nav>
<div class="return">
<a href="{{ url_for('index') }}"><button>Главное меню</button></a>
</div>
</body>
</html>