Files
EO_Sevice/templates/info.html
2026-04-26 10:08:54 +03:00

46 lines
1.4 KiB
HTML

<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>{{ title }}</title>
</head>
<body>
<div>
<h2>{{ title }}</h2>
<hr style="width: 40%; margin-left: 0;">
<h3>Info</h3>
<table><tr><th colspan="2"></th></tr>
{% for k,v in help_messages.items() %}
<tr>
<td align="right"><b>{{ k }}:</b></td><td>{{ v }}</td>
</tr>
{% endfor %}
</table>
<hr style="width: 40%; margin-left: 0;">
<h3>API EPs</h3>
{% for e in EPs %}
<a href="{{ path_prefix }}{{ e.path }}">{{ path_prefix }}{{ e.path }}</a><br/>
{% endfor %}
<hr style="width: 40%; margin-left: 0;">
{{ info | safe }}
<h3>Pover Outages:</h3>
{% if PO_events %}
{% for e in PO_events %}
{{ e }}<br/>
{% endfor %}
{% else %}
<p style="color: green; font-weight: bold;">No Pover Outages planned</p>
{% endif %}
<hr style="width: 40%; margin-left: 0;">
<h3>GPVs:</h3>
{% if GPV_events %}
{% for e in GPV_events %}
{{ e }}<br/>
{% endfor %}
{% else %}
<p style="color: green; font-weight: bold;">No GPVs planned</p>
{% endif %}
<hr style="width: 40%; margin-left: 0;">
</div>
</body>
</html>