use colored labels to make the abuse markers better visible

This commit is contained in:
Thomas Waldmann 2014-05-29 21:29:58 +02:00
parent cafaeeb64e
commit 8c93414d8d

View File

@ -23,7 +23,11 @@
</td>
<td>{{ host.available|yesno }}</td>
<td>{{ host.client_faults }} / {{ host.server_faults }}
{% if host.abuse_blocked %}<br>ABUSE-BLOCKED{% elif host.abuse %}<br>ABUSE{% endif %}
{% if host.abuse_blocked %}
<br><span class="label label-danger">ABUSE-BLOCKED</span>
{% elif host.abuse %}
<br><span class="label label-warning">ABUSE</span>
{% endif %}
</td>
<td>{{ host.get_ipv4 }}
<br>