Второй запрос про поставки заготовок
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user