@ -49,6 +49,8 @@ def index():
return render_template(
"index.html",
nodes=nodes,
nodes_healthy=[n for n in nodes if n.available],
nodes_unhealthy=[n for n in nodes if not n.available],
form=form
)
@ -40,6 +40,8 @@
<br>
{% if nodes %}
<div class="xmrnodes">
<p class="center">Currently tracking {{ nodes | length }} nodes in the database. Of those, {{ nodes_unhealthy | length }} nodes failed their last check-in.</p>
<table class="pure-table pure-table-horizontal pure-table-striped">
<thead>
<tr>