8
0
Fork 0
mirror of https://gitlab.federez.net/re2o/re2o synced 2024-07-06 22:24:06 +00:00

Meilleurs affichage

This commit is contained in:
chirac 2017-09-21 17:46:40 +02:00
parent cbd6fe00a2
commit f64115edd7
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>