aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorjim-p <jim@pingle.org>2010-02-03 22:01:16 -0500
committerjim-p <jim@pingle.org>2010-02-03 22:01:16 -0500
commitdd171c41767d1595288605ca828db81330b09583 (patch)
treeb45f0c220f1d6931e4ce7f670adaf491140ab6fa /config
parent1242083343c9e26839d4f929f3523a0beacd92c8 (diff)
downloadpfsense-packages-dd171c41767d1595288605ca828db81330b09583.tar.gz
pfsense-packages-dd171c41767d1595288605ca828db81330b09583.tar.bz2
pfsense-packages-dd171c41767d1595288605ca828db81330b09583.zip
Pretty the page up a bit
Diffstat (limited to 'config')
-rw-r--r--config/states-summary/diag_states_summary.php40
1 files changed, 20 insertions, 20 deletions
diff --git a/config/states-summary/diag_states_summary.php b/config/states-summary/diag_states_summary.php
index 427888dc..242c06e9 100644
--- a/config/states-summary/diag_states_summary.php
+++ b/config/states-summary/diag_states_summary.php
@@ -22,7 +22,7 @@ if(count($states) > 0) {
$parts = split(":", $ends[count($ends) - 1]);
$dstip = trim($parts[0]);
$dstport = trim($parts[1]);
-
+
$srcipinfo[$srcip]['seen']++;
$srcipinfo[$srcip]['protos'][$proto]['seen']++;
if (!empty($srcport)) {
@@ -45,33 +45,33 @@ include("fbegin.inc");
?>
<p class="pgtitle"><?=$pgtitle?></font></p>
-<table align="center" width="80%">
+<table class="tabcont" width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
- <th>IP</th>
- <th># States</th>
- <th>Proto</th>
- <th># States</th>
- <th>Src Ports</th>
- <th>Dst Ports</th>
+ <td class="listhdrr">IP</td>
+ <td class="listhdrr"># States</td>
+ <td class="listhdrr">Proto</td>
+ <td class="listhdrr"># States</td>
+ <td class="listhdrr">Src Ports</td>
+ <td class="listhdrr">Dst Ports</td>
</tr>
<?php uksort($srcipinfo, "sort_by_ip");
foreach($srcipinfo as $ip => $ipinfo) { ?>
<tr>
- <td><?php echo $ip; ?></td>
- <td align="center"><?php echo $ipinfo['seen']; ?></td>
- <td></td>
- <td></td>
- <td></td>
- <td></td>
+ <td class='vncell'><?php echo $ip; ?></td>
+ <td class='vncell'><?php echo $ipinfo['seen']; ?></td>
+ <td class='vncell'>&nbsp;</td>
+ <td class='vncell'>&nbsp;</td>
+ <td class='vncell'>&nbsp;</td>
+ <td class='vncell'>&nbsp;</td>
</tr>
<?php foreach($ipinfo['protos'] as $proto => $protoinfo) { ?>
<tr>
- <td>&nbsp;</td>
- <td>&nbsp;</td>
- <td><?php echo $proto; ?></td>
- <td align="center"><?php echo $protoinfo['seen']; ?></td>
- <td align="center"><?php echo count($protoinfo['srcports']); ?></td>
- <td align="center"><?php echo count($protoinfo['dstports']); ?></td>
+ <td class='list'>&nbsp;</td>
+ <td class='list'>&nbsp;</td>
+ <td class='listlr'><?php echo $proto; ?></td>
+ <td class='listr' align="center"><?php echo $protoinfo['seen']; ?></td>
+ <td class='listr' align="center"><?php echo count($protoinfo['srcports']); ?></td>
+ <td class='listr' align="center"><?php echo count($protoinfo['dstports']); ?></td>
</tr>
<?php } ?>
<?php } ?>