diff options
author | Renato Botelho <garga@FreeBSD.org> | 2014-08-20 15:26:14 -0300 |
---|---|---|
committer | Renato Botelho <garga@FreeBSD.org> | 2014-08-20 15:26:14 -0300 |
commit | 821c82c4f7683b2b2b54fbb314f9b3c7460a3b4a (patch) | |
tree | 4c2ea3e55af0b1caa919b466d867b7f601a270bb | |
parent | f950a06222e64e46f400a708590dcaf725698f32 (diff) | |
parent | b75192e3bc851e80d6bfd33c12849dbc269039fb (diff) | |
download | pfsense-821c82c4f7683b2b2b54fbb314f9b3c7460a3b4a.zip pfsense-821c82c4f7683b2b2b54fbb314f9b3c7460a3b4a.tar.gz |
Merge pull request #1259 from CharlieMarshall/improveInter
-rw-r--r-- | usr/local/www/widgets/widgets/interfaces.widget.php | 22 |
1 files changed, 8 insertions, 14 deletions
diff --git a/usr/local/www/widgets/widgets/interfaces.widget.php b/usr/local/www/widgets/widgets/interfaces.widget.php index 22b15d9..1e4d7f0 100644 --- a/usr/local/www/widgets/widgets/interfaces.widget.php +++ b/usr/local/www/widgets/widgets/interfaces.widget.php @@ -49,7 +49,7 @@ require_once("/usr/local/www/widgets/include/interfaces.inc"); $iswireless = is_interface_wireless($ifdescr); ?> <tr> - <td class="vncellt" width="40%"> + <td class="vncellt nowrap" rowspan="2"> <?php if($ifinfo['ppplink']) { echo "<img src='./themes/{$g['theme']}/images/icons/icon_3g.gif' alt='3g' />"; @@ -70,36 +70,30 @@ require_once("/usr/local/www/widgets/include/interfaces.inc"); echo " (DHCP)"; ?> </td> - <td width="60%" class="listr"> - <table width="100%" border="0" cellspacing="0" cellpadding="0" summary="status"> - <tr> - <?php if($ifinfo['status'] == "up" || $ifinfo['status'] == "associated") { ?> - <td> + <?php if($ifinfo['status'] == "up" || $ifinfo['status'] == "associated") { ?> + <td rowspan="2" class="listr"> <div id="<?php echo $ifname;?>-up" style="display:inline" ><img src="./themes/<?= $g['theme']; ?>/images/icons/icon_interface_up.gif" title="<?=$ifname;?> is up" alt="up" /></div> </td> <?php } else if ($ifinfo['status'] == "no carrier") { ?> - <td> + <td rowspan="2" class="listr"> <div id="<?php echo $ifname;?>-down" style="display:inline" ><img src="./themes/<?= $g['theme']; ?>/images/icons/icon_interface_down.gif" title="<?=$ifname;?> is down" alt="down" /></div> </td> <?php } else if ($ifinfo['status'] == "down") { ?> - <td> + <td rowspan="2" class="listr"> <div id="<?php echo $ifname;?>-block" style="display:inline" ><img src="./themes/<?= $g['theme']; ?>/images/icons/icon_block.gif" title="<?=$ifname;?> is disabled" alt="disabled" /></div> </td> <?php } else { ?><?=htmlspecialchars($ifinfo['status']); }?> - <td> + <td class="listr"> <div id="<?php echo $ifname;?>-media" style="display:inline"><?=htmlspecialchars($ifinfo['media']);?></div> </td> </tr> - </table> - <table width="100%" border="0" cellspacing="0" cellpadding="0" summary="summary"> <tr> - <td class="vncellt" width="100%"> + <td class="vncellt"> <div id="<?php echo $ifname;?>-ip" style="display:inline"><?=htmlspecialchars($ifinfo['ipaddr']);?> </div> <br /> <div id="<?php echo $ifname;?>-ipv6" style="display:inline"><?=htmlspecialchars($ifinfo['ipaddrv6']);?> </div> </td> </tr> - </table> - </td></tr> + </tr> <?php }//end for each ?> </table> |