8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-11-26 22:52:26 +00:00

Meilleurs affichage

This commit is contained in:
Gabriel Detraz 2017-09-21 17:46:40 +02:00
parent b72e08c128
commit 70bf1b9e4f
2 changed files with 4 additions and 4 deletions

View file

@ -38,9 +38,9 @@ with this program; if not, write to the Free Software Foundation, Inc.,
</thead> </thead>
{% for ban in ban_list %} {% for ban in ban_list %}
{% if ban.is_active %} {% if ban.is_active %}
<tr class="bg-danger text-white"> <tr class="danger">
{% else %} {% else %}
<tr class="bg-warning text-white"> <tr>
{% endif %} {% endif %}
<td>{{ ban.user }}</td> <td>{{ ban.user }}</td>
<td>{{ ban.raison }}</td> <td>{{ ban.raison }}</td>

View file

@ -38,9 +38,9 @@ with this program; if not, write to the Free Software Foundation, Inc.,
</thead> </thead>
{% for whitelist in white_list %} {% for whitelist in white_list %}
{% if whitelist.is_active %} {% if whitelist.is_active %}
<tr class="bg-success text-white"> <tr class="success">
{% else %} {% else %}
<tr class="bg-warning text-white"> <tr>
{% endif %} {% endif %}
<td>{{ whitelist.user }}</td> <td>{{ whitelist.user }}</td>
<td>{{ whitelist.raison }}</td> <td>{{ whitelist.raison }}</td>