]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
connections.cgi: Use the .tbl class for the main table
authorMichael Tremer <michael.tremer@ipfire.org>
Sat, 27 Apr 2024 11:47:53 +0000 (13:47 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 7 Aug 2024 12:27:02 +0000 (14:27 +0200)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
html/cgi-bin/connections.cgi

index ad7c69beba44c32b57aa127aaa5e9d2a0478f9a2..055fc3cbcaf51369289e6a312d0988f6e2e15dec 100644 (file)
@@ -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 = '';