From 30da109c053fa54b3a2f80dfb6777e3ad7da1b4c Mon Sep 17 00:00:00 2001 From: Darkelarious Date: Wed, 27 Sep 2017 16:45:16 +0200 Subject: filter blacklisted servers + color tags --- lib/MasterWebInterface/Handler/ServInfo.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/MasterWebInterface/Handler/ServInfo.pm') diff --git a/lib/MasterWebInterface/Handler/ServInfo.pm b/lib/MasterWebInterface/Handler/ServInfo.pm index e0aff47..3987e8c 100755 --- a/lib/MasterWebInterface/Handler/ServInfo.pm +++ b/lib/MasterWebInterface/Handler/ServInfo.pm @@ -206,9 +206,9 @@ sub show_server { Tr; td "Flags: "; td; - i ($info->{b333ms} ? "direct uplink, " : "applet or manual, "); - i ($info->{blacklisted} ? "blacklisted, " : "not blacklisted, "); - i ($info->{password} ? "passworded" : "not passworded"); + ($info->{b333ms} ? span class => "g", "direct uplink, " : span class => "o", "applet or manual, "); + ($info->{blacklisted} ? span class => "r", "blacklisted, " : span class => "g", "not blacklisted, "); + ($info->{password} ? span class => "y", "passworded" : span class => "g", "not passworded"); end; end; end; -- cgit v1.2.3