41 lines
1.6 KiB
HTML
41 lines
1.6 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="ru">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<title>Autotest</title>
|
|
<link rel="icon" type="image/svg+xml" href="{{ url_for('static', filename='favicon.svg') }}" />
|
|
<link rel="stylesheet" href="{{ url_for('static', filename='style.css') }}" />
|
|
<script src="https://unpkg.com/lucide@latest"></script>
|
|
</head>
|
|
<body>
|
|
<div class="card" style="max-width: 780px; margin: 32px auto;">
|
|
<div class="card-header">Организация</div>
|
|
<div class="card-body">
|
|
{% if organization %}
|
|
<table>
|
|
<thead>
|
|
<tr>
|
|
<th>Имя</th>
|
|
<th>instanceUid</th>
|
|
<th>Сервис</th>
|
|
<th>Статус</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td>{{ organization.displayName }}</td>
|
|
<td style="font-family: monospace; font-size: 12px;">{{ organization.instanceUid }}</td>
|
|
<td>{{ organization.svc }}</td>
|
|
<td><span class="badge badge-success">{{ organization.explainedStatus or "OK" }}</span></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
{% else %}
|
|
<p style="color: var(--muted);">{% if error %}Ошибка: {{ error }}{% else %}Организация не найдена.{% endif %}</p>
|
|
{% endif %}
|
|
</div>
|
|
</div>
|
|
<script>lucide.createIcons();</script>
|
|
</body>
|
|
</html>
|