diff options
| author | Darkelarious <darkelarious@333networks.com> | 2017-09-27 16:45:16 +0200 |
|---|---|---|
| committer | Darkelarious <darkelarious@333networks.com> | 2017-09-27 17:31:23 +0200 |
| commit | 30da109c053fa54b3a2f80dfb6777e3ad7da1b4c (patch) | |
| tree | 767974a184deeaf572ee48fb717986325308424e /lib/MasterWebInterface/Handler/ServInfo.pm | |
| parent | 18921404e5454cdf202b7b4f70a2777f3e297998 (diff) | |
| download | WebInterface-Perl-MS-Perl-30da109c053fa54b3a2f80dfb6777e3ad7da1b4c.tar.gz WebInterface-Perl-MS-Perl-30da109c053fa54b3a2f80dfb6777e3ad7da1b4c.zip | |
filter blacklisted servers + color tags
Diffstat (limited to 'lib/MasterWebInterface/Handler/ServInfo.pm')
| -rwxr-xr-x | lib/MasterWebInterface/Handler/ServInfo.pm | 6 |
1 files changed, 3 insertions, 3 deletions
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; |
