From 8c93414d8d4e6e807034c81c0b7fdb06fb91147d Mon Sep 17 00:00:00 2001 From: Thomas Waldmann Date: Thu, 29 May 2014 21:29:58 +0200 Subject: [PATCH] use colored labels to make the abuse markers better visible --- nsupdate/main/templates/main/overview.html | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/nsupdate/main/templates/main/overview.html b/nsupdate/main/templates/main/overview.html index baa83c0..eb4bc0e 100644 --- a/nsupdate/main/templates/main/overview.html +++ b/nsupdate/main/templates/main/overview.html @@ -23,7 +23,11 @@ {{ host.available|yesno }} {{ host.client_faults }} / {{ host.server_faults }} - {% if host.abuse_blocked %}
ABUSE-BLOCKED{% elif host.abuse %}
ABUSE{% endif %} + {% if host.abuse_blocked %} +
ABUSE-BLOCKED + {% elif host.abuse %} +
ABUSE + {% endif %} {{ host.get_ipv4 }}