summaryrefslogtreecommitdiffstats
path: root/usr/local/www/widgets/widgets
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2014-10-28 09:49:25 -0200
committerRenato Botelho <garga@FreeBSD.org>2014-10-28 09:49:25 -0200
commit0a8d7fe996275febad7ee28ec3daf70101928cc6 (patch)
tree33c328c1245b29e7a5413d7e38443bace394607e /usr/local/www/widgets/widgets
parent30cb409d6368287dbdc985a1ea32523746ed0613 (diff)
downloadpfsense-0a8d7fe996275febad7ee28ec3daf70101928cc6.zip
pfsense-0a8d7fe996275febad7ee28ec3daf70101928cc6.tar.gz
Back to use listr instead of vncellt since it has small fonts and mitigate changes of go outside the sidget. It should fix #3937
Diffstat (limited to 'usr/local/www/widgets/widgets')
-rw-r--r--usr/local/www/widgets/widgets/interfaces.widget.php17
1 files changed, 8 insertions, 9 deletions
diff --git a/usr/local/www/widgets/widgets/interfaces.widget.php b/usr/local/www/widgets/widgets/interfaces.widget.php
index fae51a4..115af4e 100644
--- a/usr/local/www/widgets/widgets/interfaces.widget.php
+++ b/usr/local/www/widgets/widgets/interfaces.widget.php
@@ -73,16 +73,13 @@ foreach ($ifdescrs as $ifdescr => $ifname):
?>
<tr>
<td class="vncellt" rowspan="2">
- <img src="./themes/<?=$g['theme'];?>/images/icons/icon_<?=$icon;?>.gif" alt="<?=$icon;?>" />
- &nbsp;
- <strong><u>
- <span onclick="location.href='/interfaces.php?if=<?=$ifdescr; ?>'" style="cursor:pointer">
- <?=htmlspecialchars($ifname);?>
- </span>
- </u></strong>
+ <span onclick="location.href='/interfaces.php?if=<?=$ifdescr; ?>'" style="cursor:pointer; white-space:nowrap">
+ <img src="./themes/<?=$g['theme'];?>/images/icons/icon_<?=$icon;?>.gif" alt="<?=$icon;?>" />
+ <u><?=htmlspecialchars($ifname);?></u>
+ </span>
<?php
if ($ifinfo['dhcplink'])
- echo "&nbsp;(DHCP)";
+ echo "<br />(DHCP)";
?>
</td>
<?php
@@ -103,7 +100,8 @@ foreach ($ifdescrs as $ifdescr => $ifname):
</td>
</tr>
<tr>
- <td class="vncellt" style="border-right:1px solid #999999;">
+ <td class="listr">
+ <strong>
<?php
if($ifinfo['ipaddr'] != ""):
?>
@@ -117,6 +115,7 @@ foreach ($ifdescrs as $ifdescr => $ifname):
<?php
endif;
?>
+ </strong>
</td>
</tr>
<?php
OpenPOWER on IntegriCloud