Add node status page

This commit is contained in:
Timotej Lazar 2023-07-07 09:16:51 +02:00
parent 4ef3efbc68
commit 6b72316076
3 changed files with 30 additions and 1 deletions

11
web/templates/nodes.html Normal file
View file

@ -0,0 +1,11 @@
{% extends 'base.html' %}
{% block content %}
<p>
Trenutna različica nastavitev: {{ version }}
<ul>
{% for node, node_version in nodes.items() %}
<li>{{ node }}: <span style="color: {% if node_version|string == version|string %}green{% else %}red{% endif %};">{{ node_version }}</span>
{% endfor %}
</ul>
{% endblock %}