vulnerabilities.cgi: Remove manual alternation of colours

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
Michael Tremer
2024-03-23 19:42:24 +01:00
parent f5bddd4fe7
commit a9279a413f

View File

@@ -146,10 +146,8 @@ for my $vuln (sort keys %VULNERABILITIES) {
$bgcolour = ${Header::colouryellow};
}
my $table_colour = ($id++ % 2) ? $color{'color22'} : $color{'color20'};
print <<END;
<tr bgcolor="$table_colour">
<tr>
<td align="left">
<strong>$VULNERABILITIES{$vuln}</strong>
</td>