mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-28 11:43:25 +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};
|
$bgcolour = ${Header::colouryellow};
|
||||||
}
|
}
|
||||||
|
|
||||||
my $table_colour = ($id++ % 2) ? $color{'color22'} : $color{'color20'};
|
|
||||||
|
|
||||||
print <<END;
|
print <<END;
|
||||||
<tr bgcolor="$table_colour">
|
<tr>
|
||||||
<td align="left">
|
<td align="left">
|
||||||
<strong>$VULNERABILITIES{$vuln}</strong>
|
<strong>$VULNERABILITIES{$vuln}</strong>
|
||||||
</td>
|
</td>
|
||||||
|
|||||||
Reference in New Issue
Block a user