mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-27 19:23:24 +02:00
connections.cgi: Use the .tbl class for the main table
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
@@ -326,33 +326,33 @@ print <<END;
|
||||
<br>
|
||||
END
|
||||
|
||||
# Print table header.
|
||||
# Print table header
|
||||
print <<END;
|
||||
<table style='width:100%'>
|
||||
<table class="tbl">
|
||||
<tr>
|
||||
<th style='text-align:center'>
|
||||
<th>
|
||||
$Lang::tr{'protocol'}
|
||||
</th>
|
||||
<th style='text-align:center' colspan='2'>
|
||||
<th colspan='2'>
|
||||
$Lang::tr{'source ip and port'}
|
||||
</th>
|
||||
<th style='text-align:center'>
|
||||
<th>
|
||||
$Lang::tr{'country'}
|
||||
</th>
|
||||
<th style='text-align:center' colspan='2'>
|
||||
<th colspan='2'>
|
||||
$Lang::tr{'dest ip and port'}
|
||||
</th>
|
||||
<th style='text-align:center'>
|
||||
<th>
|
||||
$Lang::tr{'country'}
|
||||
</th>
|
||||
<th style='text-align:center'>
|
||||
<th>
|
||||
$Lang::tr{'download'} /
|
||||
<br>$Lang::tr{'upload'}
|
||||
</th>
|
||||
<th style='text-align:center'>
|
||||
<th>
|
||||
$Lang::tr{'connection'}<br>$Lang::tr{'status'}
|
||||
</th>
|
||||
<th style='text-align:center'>
|
||||
<th>
|
||||
$Lang::tr{'expires'}<br>($Lang::tr{'hours:minutes:seconds'})
|
||||
</th>
|
||||
</tr>
|
||||
@@ -502,7 +502,6 @@ foreach my $line (<CONNTRACK>) {
|
||||
$dip_extra .= "</a>";
|
||||
}
|
||||
|
||||
|
||||
my $sport_extra;
|
||||
if ($sport ne $sport_ret) {
|
||||
my $sserv_ret = '';
|
||||
|
||||
Reference in New Issue
Block a user