Add relay connection status to relay list
This commit is contained in:
parent
cf9da35df7
commit
0462df1ca3
|
@ -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">
|
||||
|
|
Loading…
Reference in New Issue