Add relay connection status to relay list

This commit is contained in:
Mark Veidemanis 2022-08-13 13:41:39 +01:00
parent cf9da35df7
commit 0462df1ca3
Signed by: m
GPG Key ID: 5ACFCEED46C0904F
1 changed files with 12 additions and 0 deletions

View File

@ -8,6 +8,7 @@
<thead> <thead>
<th>id</th> <th>id</th>
<th>reg</th> <th>reg</th>
<th>conn</th>
<th>on</th> <th>on</th>
<th> <th>
<span class="icon"> <span class="icon">
@ -36,6 +37,17 @@
</span> </span>
{% endif %} {% endif %}
</td> </td>
<td>
{% if relay.conn %}
<span class="icon has-text-success">
<i class="fa-solid fa-check" aria-hidden="true"></i>
</span>
{% else %}
<span class="icon has-text-danger">
<i class="fa-solid fa-xmark" aria-hidden="true"></i>
</span>
{% endif %}
</td>
<td> <td>
{% if relay.enabled %} {% if relay.enabled %}
<span class="icon has-text-success"> <span class="icon has-text-success">