summaryrefslogtreecommitdiffstats
path: root/usr/local/www/diag_routes.php
diff options
context:
space:
mode:
authorRenato Botelho <renato.botelho@bluepex.com>2010-05-26 14:15:38 -0300
committerRenato Botelho <renato.botelho@bluepex.com>2010-05-26 14:15:38 -0300
commit505371be38a6ea75d4c5f5fc37918dcfa4051bfa (patch)
treeba54be9dcf46c85ff5c885d97e7bff86a4031a3a /usr/local/www/diag_routes.php
parent59d73709d50803b2115da8e74db496df9945fab0 (diff)
downloadpfsense-505371be38a6ea75d4c5f5fc37918dcfa4051bfa.zip
pfsense-505371be38a6ea75d4c5f5fc37918dcfa4051bfa.tar.gz
Few cosmetic adjustments on classes to fix table borders
Diffstat (limited to 'usr/local/www/diag_routes.php')
-rw-r--r--usr/local/www/diag_routes.php11
1 files changed, 8 insertions, 3 deletions
diff --git a/usr/local/www/diag_routes.php b/usr/local/www/diag_routes.php
index c62aadb..1b136ab 100644
--- a/usr/local/www/diag_routes.php
+++ b/usr/local/www/diag_routes.php
@@ -57,15 +57,16 @@ include('head.inc');
<tr>
<td class="vncellreq" width="22%">Name resolution</td>
-<td class="listr" width="78%">
+<td class="vtable" width="78%">
<input type="checkbox" class="formfld" name="resolve" value="yes" <?php if ($_POST['resolve'] == 'yes') echo 'checked'; ?>> Enable</input>
<br />
<span class="expl">Enable this to attempt to resolve names when displaying the tables.</span>
+</td>
</tr>
<tr>
<td class="vncellreq" width="22%">&nbsp;</td>
-<td class="listr" width="78%">
+<td class="vtable" width="78%">
<input type="submit" class="formbtn" name="submit" value="Show" />
<br />
<br />
@@ -94,13 +95,17 @@ include('head.inc');
if ($i == 1)
$class = 'listhdrr';
else
- $class = 'listr';
+ $class = 'listlr';
print("<tr>\n");
$j = 0;
foreach (explode(' ', $line) as $entry) {
if ($entry == '') continue;
+ if ($i == 1 && $j == $elements - 1)
+ $class = 'listhdr';
print("<td class=\"$class\">$entry</td>\n");
+ if ($i > 1)
+ $class = 'listr';
$j++;
}
// The 'Expire' field might be blank
OpenPOWER on IntegriCloud