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>
<th>id</th>
<th>reg</th>
<th>conn</th>
<th>on</th>
<th>
<span class="icon">
@ -36,6 +37,17 @@
</span>
{% endif %}
</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>
{% if relay.enabled %}
<span class="icon has-text-success">