Поставка заготовок за промежуток времени

This commit is contained in:
Anton Kamalov
2024-10-24 16:31:44 +03:00
parent 339fd3809e
commit e1d0510669
5 changed files with 12 additions and 6 deletions

View File

@@ -2,7 +2,7 @@
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Заготовки на складе</title>
<title>Материалы заготовок</title>
<link href="/static/css/main.css" type="text/css" rel="stylesheet">
</head>
<body>
@@ -10,7 +10,8 @@
<a href="{{ url_for('logout') }}"><button>Выход</button></a>
</div>
<!-- Input -->
<h1>Выберите материал</h1>
<h1>Материалы заготовок</h1>
<p>Выберите материал<p>
<form action="" method="post">
<select name="material">
{% for item in materials %}

View File

@@ -2,7 +2,7 @@
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Заготовки на складе</title>
<title>Поставки заготовок</title>
<link href="/static/css/main.css" type="text/css" rel="stylesheet">
</head>
<body>
@@ -10,13 +10,17 @@
<a href="{{ url_for('logout') }}"><button>Выход</button></a>
</div>
<!-- Input -->
<h1>Выберите материал</h1>
<h1>Поставки заготовок</h1>
<p>Выберите материал</p>
<form action="" method="post">
<select name="material">
{% for item in materials %}
<option value="{{ item['material'] }}">{{ item['material'] }}</option>
{% endfor %}
</select>
<p>Выберите даты:</p>
<p>с <input type="date" name="date_from" required min="2000-01-01" max="2024-12-31" id="date_from"></p>
<p>по <input type="date" name="date_to" required min="2000-01-01" max="2024-12-31" id="date_to"></p>
<input type="submit" value="Отправить">
</form>
<div class="return">