vulnerablities: change to logic colours
authorArne Fitzenreiter <arne_f@ipfire.org>
Wed, 22 May 2019 10:34:03 +0000 (12:34 +0200)
committerArne Fitzenreiter <arne_f@ipfire.org>
Wed, 22 May 2019 10:34:03 +0000 (12:34 +0200)
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
html/cgi-bin/vulnerabilities.cgi

index 91db2f4..76eb79f 100644 (file)
@@ -128,19 +128,20 @@ for my $vuln (sort keys %VULNERABILITIES) {
        # Mitigated but smt is enabled
        } elsif ($status eq "Mitigation-SMT") {
                $status_message = $Lang::tr{'mitigated'};
-               $colour = "black";
-               $bgcolour = ${Header::colourorange};
+               $colour = "white";
+               $bgcolour = ${Header::colourred};
 
        # Mitigated
        } elsif ($status eq "Mitigation") {
                $status_message = $Lang::tr{'mitigated'};
-               $colour = "black";
-               $bgcolour = ${Header::colouryellow};
+               $colour = "white";
+               $bgcolour = ${Header::colourgreen};
 
+       # Unknown report from kernel
        } else {
                $status_message = $status;
-               $colour = "white";
-               $bgcolour = ${Header::colourblue};
+               $colour = "black";
+               $bgcolour = ${Header::colouryellow};
        }
 
        my $table_colour = ($id++ % 2) ? $color{'color22'} : $color{'color20'};