8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-11-30 08:32: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>
{% 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>