35 lines
1019 B
HTML
35 lines
1019 B
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<title>{{ object }}</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>{{ object }}</h1>
|
|
<!-- Output -->
|
|
{% 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 %}
|
|
</table>
|
|
{% else %}
|
|
<p>Информации не найдено</p>
|
|
{% endif %}
|
|
<div class="return">
|
|
<a href="{{ url_for('requests_bp.requests') }}"><button>Обратно в меню запросов</button></a>
|
|
</div></body>
|
|
</html> |