diff options
author | jim-p <jim@pingle.org> | 2010-02-03 22:01:16 -0500 |
---|---|---|
committer | jim-p <jim@pingle.org> | 2010-02-03 22:01:16 -0500 |
commit | dd171c41767d1595288605ca828db81330b09583 (patch) | |
tree | b45f0c220f1d6931e4ce7f670adaf491140ab6fa /config/states-summary | |
parent | 1242083343c9e26839d4f929f3523a0beacd92c8 (diff) | |
download | pfsense-packages-dd171c41767d1595288605ca828db81330b09583.tar.gz pfsense-packages-dd171c41767d1595288605ca828db81330b09583.tar.bz2 pfsense-packages-dd171c41767d1595288605ca828db81330b09583.zip |
Pretty the page up a bit
Diffstat (limited to 'config/states-summary')
-rw-r--r-- | config/states-summary/diag_states_summary.php | 40 |
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'> </td> + <td class='vncell'> </td> + <td class='vncell'> </td> + <td class='vncell'> </td> </tr> <?php foreach($ipinfo['protos'] as $proto => $protoinfo) { ?> <tr> - <td> </td> - <td> </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'> </td> + <td class='list'> </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 } ?> |