8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-12-29 02:13:46 +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>
{% for ban in ban_list %}
{% if ban.is_active %}
<tr class="bg-danger text-white">
<tr class="danger">
{% else %}
<tr class="bg-warning text-white">
<tr>
{% endif %}
<td>{{ ban.user }}</td>
<td>{{ ban.raison }}</td>

View file

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