]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
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 91db2f4c380952fef6f16ef14a1e7ede1b95f971..76eb79f8220a67bc2f7136921ccca843154715df 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'};
        # 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'};
 
        # 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;
        } else {
                $status_message = $status;
-               $colour = "white";
-               $bgcolour = ${Header::colourblue};
+               $colour = "black";
+               $bgcolour = ${Header::colouryellow};
        }
 
        my $table_colour = ($id++ % 2) ? $color{'color22'} : $color{'color20'};
        }
 
        my $table_colour = ($id++ % 2) ? $color{'color22'} : $color{'color20'};