diff options
author | Scott Ullrich <sullrich@gmail.com> | 2012-02-02 18:58:05 -0500 |
---|---|---|
committer | Scott Ullrich <sullrich@gmail.com> | 2012-02-02 18:58:05 -0500 |
commit | 1d09d6dbcd80546aec7bc3a91d3c862b00662662 (patch) | |
tree | b7880c5f0ef4fb4c3d8ae190bbc4425c65065227 /usr/local/www/widgets | |
parent | 6fbe0168416bdb5d410cb36fdf531b317d3e072a (diff) | |
download | pfsense-1d09d6dbcd80546aec7bc3a91d3c862b00662662.zip pfsense-1d09d6dbcd80546aec7bc3a91d3c862b00662662.tar.gz |
Combine RTT and Loss so that IPV6 addresses do not cause spillage into other widgets.
Diffstat (limited to 'usr/local/www/widgets')
-rw-r--r-- | usr/local/www/widgets/widgets/gateways.widget.php | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/usr/local/www/widgets/widgets/gateways.widget.php b/usr/local/www/widgets/widgets/gateways.widget.php index 4abe524..64c9923 100644 --- a/usr/local/www/widgets/widgets/gateways.widget.php +++ b/usr/local/www/widgets/widgets/gateways.widget.php @@ -44,8 +44,7 @@ $counter = 1; <tr> <td width="10%" class="listhdrr">Name</td> <td width="10%" class="listhdrr">Gateway</td> - <td width="10%" class="listhdrr">RTT</td> - <td width="10%" class="listhdrr">Loss</td> + <td width="10%" class="listhdrr">RTT / Loss</td> <td width="30%" class="listhdrr">Status</td> </tr> <?php foreach ($a_gateways as $gname => $gateway) { ?> @@ -69,8 +68,7 @@ $counter = 1; echo gettext("Gathering data"); ?> <?php $counter++; ?> - </td> - <td class="listr" align="center" id="gateway<?= $counter; ?>"> + / <?php if ($gateways_status[$gname]) echo $gateways_status[$gname]['loss']; else |