Commit f64115ed authored by chirac's avatar chirac

Meilleurs affichage

parent cbd6fe00
......@@ -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>
......
......@@ -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>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment