mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
vulnerabilities.cgi: again change colours
red - vulnerable blue - mitigated green - not affected because we not really trust the mitigations so they shound not green. Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
This commit is contained in:
@@ -117,7 +117,7 @@ for my $vuln (sort keys %VULNERABILITIES) {
|
||||
if ($status eq "Not affected") {
|
||||
$status_message = $Lang::tr{'not affected'};
|
||||
$colour = "white";
|
||||
$bgcolour = ${Header::colourblack};
|
||||
$bgcolour = ${Header::colourgreen};
|
||||
|
||||
# Vulnerable
|
||||
} elsif ($status eq "Vulnerable") {
|
||||
@@ -129,7 +129,7 @@ for my $vuln (sort keys %VULNERABILITIES) {
|
||||
} elsif ($status eq "Mitigation") {
|
||||
$status_message = $Lang::tr{'mitigated'};
|
||||
$colour = "white";
|
||||
$bgcolour = ${Header::colourgreen};
|
||||
$bgcolour = ${Header::colourblue};
|
||||
|
||||
# Unknown report from kernel
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user