summaryrefslogtreecommitdiffstats
path: root/usr/local/www/diag_routes.php
diff options
context:
space:
mode:
Diffstat (limited to 'usr/local/www/diag_routes.php')
-rw-r--r--usr/local/www/diag_routes.php12
1 files changed, 10 insertions, 2 deletions
diff --git a/usr/local/www/diag_routes.php b/usr/local/www/diag_routes.php
index 980150f..e4a364f 100644
--- a/usr/local/www/diag_routes.php
+++ b/usr/local/www/diag_routes.php
@@ -86,18 +86,24 @@ include('head.inc');
$elements = ($tabindex == 0 ? 8 : 8);
$name = ($tabindex == 0 ? 'IPv4' : 'IPv6');
?>
-<table class="tabcont" width="100%" cellspacing="0" cellpadding="6" border="0">
+<table class="tabcont sortable" width="100%" cellspacing="0" cellpadding="6" border="0">
+<thead>
<tr><td class="listtopic" colspan="<?=$elements?>"><strong><?=$name;?></strong></font></td></tr>
<?php
foreach (explode("\n", $table) as $i => $line) {
if ($i == 0) continue;
+ if ($line == "") continue;
if ($i == 1)
$class = 'listhdrr';
else
$class = 'listlr';
- print("<tr>\n");
+ if ($i == 1)
+ print("<tr class=\"sortableHeaderRowIdentifier\">\n");
+ else
+ print("<tr>\n");
+
$j = 0;
foreach (explode(' ', $line) as $entry) {
if ($entry == '') continue;
@@ -112,6 +118,8 @@ include('head.inc');
if ($j == $elements - 1)
print('<td class="listr">&nbsp;</td>' . "\n");
print("</tr>\n");
+ if ($i == 1)
+ print("</thead>\n");
}
print("</table>\n");
}
OpenPOWER on IntegriCloud