aboutsummaryrefslogtreecommitdiffstats
path: root/config/rrd-summary/status_rrd_summary.php
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2010-06-24 15:38:09 -0400
committerjim-p <jimp@pfsense.org>2010-06-24 15:38:09 -0400
commit0dc091be44615d1f8cd60325993e1f879a48caab (patch)
treef4267a284b45fd00057a9bae874591d2dd7c59ee /config/rrd-summary/status_rrd_summary.php
parent83012e81e32bcf735e066c7361ac8739a0303367 (diff)
downloadpfsense-packages-0dc091be44615d1f8cd60325993e1f879a48caab.tar.gz
pfsense-packages-0dc091be44615d1f8cd60325993e1f879a48caab.tar.bz2
pfsense-packages-0dc091be44615d1f8cd60325993e1f879a48caab.zip
Small formatting fix.
Diffstat (limited to 'config/rrd-summary/status_rrd_summary.php')
-rw-r--r--config/rrd-summary/status_rrd_summary.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/config/rrd-summary/status_rrd_summary.php b/config/rrd-summary/status_rrd_summary.php
index 8906ee55..8e353527 100644
--- a/config/rrd-summary/status_rrd_summary.php
+++ b/config/rrd-summary/status_rrd_summary.php
@@ -45,11 +45,11 @@ function fetch_rrd_summary($rrd, $start, $end, $resolution="3600") {
}
function print_rrd_summary_table($data) { ?>
-<table>
+<table cellspacing="5">
<tr><th>&nbsp;</th><th>Bandwidth</th></tr>
- <tr><td>In</td><td><?php echo $data[0]; ?> MBytes</td></tr>
- <tr><td>Out</td><td><?php echo $data[1]; ?> MBytes</td></tr>
- <tr><td>Total</td><td><?php echo $data[0] + $data[1]; ?> MBytes</td></tr>
+ <tr><td>In</td><td align="right"><?php echo $data[0]; ?> MBytes</td></tr>
+ <tr><td>Out</td><td align="right"><?php echo $data[1]; ?> MBytes</td></tr>
+ <tr><td>Total</td><td align="right"><?php echo $data[0] + $data[1]; ?> MBytes</td></tr>
</table>
<?php
}