Forward Firewall: added a 1px heigh line after each rule. so the coloured borders...
authorAlexander Marx <amarx@ipfire.org>
Tue, 26 Feb 2013 05:16:14 +0000 (06:16 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 9 Aug 2013 12:09:16 +0000 (14:09 +0200)
html/cgi-bin/forwardfw.cgi

index 7d09e4cb571b42f62e9534ef1ab957329e2b5bab..f7d2bb1ddc0c7e81075e8ca41b5fb33ff07db193 100755 (executable)
@@ -1974,7 +1974,7 @@ sub viewtablenew
                my @tmpsrc=();
                my $coloryellow='';
                print"<b>$title1</b><br>";
-               print"<table width='100%' cellspacing='0' style=' padding-top: 0px; padding-left: 0px; padding-bottom: 0px ;padding-right: 0px ;'>";
+               print"<table width='100%' cellspacing='0' cellpadding='0'>";
                print"<tr><td align='center'><b>#</td><td ></td><td align='center'><b>$Lang::tr{'fwdfw source'}</td><td><b>Log</td><td align='center'><b>$Lang::tr{'fwdfw target'}</td><td align='center'><b>$Lang::tr{'protocol'}</b></td><td align='center'><b>$Lang::tr{'fwdfw time'}</td><td align='center' colspan='6'><b>$Lang::tr{'fwdfw action'}</td></tr>";
                foreach my $key (sort  {$a <=> $b} keys %$hash){
                        $tdcolor='';
@@ -2172,6 +2172,7 @@ END
                                print"<tr bgcolor='$color'>";
                                print"<td>&nbsp</td><td bgcolor='$rulecolor'></td><td colspan='11'>&nbsp $$hash{$key}[16]</td></tr>";
                        }
+                       print"<tr bgcolor='$color'><td height='1'></td><td bgcolor='$rulecolor'></td><td colspan='11'></td></tr>";
                }
                print"</table>";
                &Header::closebox();