Tweak HTML templates

This commit is contained in:
Timotej Lazar 2023-09-15 14:56:16 +02:00
parent d2b08bf891
commit ea6ca9b55d
2 changed files with 11 additions and 10 deletions

View file

@ -3,6 +3,8 @@
{% block content %}
<p>
Trenutna različica nastavitev: {{ version }}
<p>
Na opekah veljajo različice:
<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>