mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-27 11:13:24 +02:00
openvpn: Change colour of N2N connections.
From https://bugzilla.ipfire.org/show_bug.cgi?id=10137: The first patch i have made is to give the index.cgi the origin colour (the same then for the roadwarrior) for OpenVPN N2N connections on IPFire. At this time the colour is stated in IPSec colour, so i made a patch to change this.
This commit is contained in:
committed by
Michael Tremer
parent
7de1da3fdf
commit
7b82e24488
@@ -421,7 +421,7 @@ if ($confighash{$dkey}[3] eq 'net') {
|
||||
$display = "<font color=$Header::colourred>$tustate[1]</font>"; }
|
||||
|
||||
print <<END;
|
||||
<tr><td align='center' bgcolor='$Header::colourvpn' width='25%'><a href="/cgi-bin/ovpnmain.cgi"><font size='2' color='white'><b>OpenVPN n2n</b></font></a><br>
|
||||
<tr><td align='center' bgcolor='$Header::colourovpn' width='25%'><a href="/cgi-bin/ovpnmain.cgi"><font size='2' color='white'><b>OpenVPN n2n</b></font></a><br>
|
||||
<td width='30%' align='center'> $confighash{$dkey}[10]<td width='45%' align='center'> $display
|
||||
|
||||
END
|
||||
|
||||
Reference in New Issue
Block a user