From: Michael Tremer Date: Wed, 21 Aug 2024 10:22:40 +0000 (+0200) Subject: vpnmain.cgi: Fix colouring of the connection status when disconnected X-Git-Tag: v2.29-core188~10^2~16 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=234fd050d44ccaede71194255db38bc759e6f53f;p=ipfire-2.x.git vpnmain.cgi: Fix colouring of the connection status when disconnected Signed-off-by: Michael Tremer --- diff --git a/html/cgi-bin/vpnmain.cgi b/html/cgi-bin/vpnmain.cgi index 4423a29a80..55a7eff05d 100644 --- a/html/cgi-bin/vpnmain.cgi +++ b/html/cgi-bin/vpnmain.cgi @@ -3393,11 +3393,11 @@ END print " "; } print "$confighash{$key}[25]"; - my $col1="bgcolor='${Header::colourred}'"; - my $active = "$Lang::tr{'capsclosed'}"; + my $col1="class='status is-disconnected'"; + my $active = "$Lang::tr{'capsclosed'}"; if ($confighash{$key}[33] eq "add") { - $col1="bgcolor='${Header::colourorange}'"; - $active = "$Lang::tr{'vpn wait'}"; + $col1="class='status is-connecting'"; + $active = "$Lang::tr{'vpn wait'}"; } foreach my $line (@status) { if (($line =~ /\"$confighash{$key}[1]\".*IPsec SA established/) ||