Add node status page
This commit is contained in:
parent
4ef3efbc68
commit
6b72316076
3 changed files with 30 additions and 1 deletions
11
web/templates/nodes.html
Normal file
11
web/templates/nodes.html
Normal 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 %}
|
Loading…
Add table
Add a link
Reference in a new issue