Colorise network relay icons

This commit is contained in:
Mark Veidemanis 2022-08-11 23:39:28 +01:00
parent 3c199abc17
commit 3e003de559
Signed by: m
GPG Key ID: 5ACFCEED46C0904F
1 changed files with 4 additions and 4 deletions

View File

@ -27,22 +27,22 @@
<td>{{ relay.id }}</td> <td>{{ relay.id }}</td>
<td> <td>
{% if relay.registered %} {% if relay.registered %}
<span class="icon"> <span class="icon has-text-success">
<i class="fa-solid fa-check" aria-hidden="true"></i> <i class="fa-solid fa-check" aria-hidden="true"></i>
</span> </span>
{% else %} {% else %}
<span class="icon"> <span class="icon has-text-danger">
<i class="fa-solid fa-xmark" aria-hidden="true"></i> <i class="fa-solid fa-xmark" aria-hidden="true"></i>
</span> </span>
{% endif %} {% endif %}
</td> </td>
<td> <td>
{% if relay.enabled %} {% if relay.enabled %}
<span class="icon"> <span class="icon has-text-success">
<i class="fa-solid fa-check" aria-hidden="true"></i> <i class="fa-solid fa-check" aria-hidden="true"></i>
</span> </span>
{% else %} {% else %}
<span class="icon"> <span class="icon has-text-danger">
<i class="fa-solid fa-xmark" aria-hidden="true"></i> <i class="fa-solid fa-xmark" aria-hidden="true"></i>
</span> </span>
{% endif %} {% endif %}