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