mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-14 21:12:59 +02:00
vulnerabilities.cgi: Remove manual alternation of colours
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user