Второй запрос про поставки заготовок

This commit is contained in:
Anton Kamalov
2024-10-24 12:55:01 +03:00
parent 48ec45708a
commit 54e0091687
6 changed files with 78 additions and 17 deletions

View File

@@ -11,20 +11,24 @@
</div>
<h1>{{ object }}</h1>
<!-- Output -->
<table>
<tr>
{% for title in titles %}
<th>{{ title }}</th>
{% if items %}
<table>
<tr>
{% for key in items[0].keys() %}
<th>{{ key }}</th>
{% endfor %}
</tr>
{% for item in items %}
<tr>
{% for value in item.values() %}
<td>{{ value }}</td>
{% endfor %}
</tr>
{% endfor %}
</tr>
{% for item in items %}
<tr>
{% for value in item.values() %}
<td>{{ value }}</td>
{% endfor %}
</tr>
{% endfor %}
</table>
</table>
{% else %}
<p>Информации не найдено</p>
{% endif %}
<div class="return">
<a href="{{ url_for('requests_bp.requests') }}"><button>Обратно в меню запросов</button></a>
</div></body>