diff options
author | Scott Dale <sdale@pfsense.org> | 2007-06-22 02:00:00 +0000 |
---|---|---|
committer | Scott Dale <sdale@pfsense.org> | 2007-06-22 02:00:00 +0000 |
commit | badc676a84c892d6a7466cbc45e06b0d58f09083 (patch) | |
tree | 2e9fee558b09ecdc3f93defad98eb071f9ca3408 | |
parent | ebc80e4624c2a02b1e280403b086272ab521ed0d (diff) | |
download | pfsense-badc676a84c892d6a7466cbc45e06b0d58f09083.zip pfsense-badc676a84c892d6a7466cbc45e06b0d58f09083.tar.gz |
update widgets to use css properly
-rw-r--r-- | usr/local/www/widgets/widgets/interfaces.widget.php | 8 | ||||
-rw-r--r-- | usr/local/www/widgets/widgets/log.widget.php | 2 | ||||
-rw-r--r-- | usr/local/www/widgets/widgets/traffic_graphs.widget.php | 2 |
3 files changed, 6 insertions, 6 deletions
diff --git a/usr/local/www/widgets/widgets/interfaces.widget.php b/usr/local/www/widgets/widgets/interfaces.widget.php index 05061d8..608130d 100644 --- a/usr/local/www/widgets/widgets/interfaces.widget.php +++ b/usr/local/www/widgets/widgets/interfaces.widget.php @@ -24,17 +24,17 @@ <strong> <?php if ($ifname == "WAN") { ?> - <a href="/interfaces_wan.php"> + <span onClick="location.href='/interfaces_wan.php'" style="cursor:pointer"> <? } else if ($ifname == "LAN") { ?> - <a href="/interfaces_lan.php"> + <span onClick="location.href='/interfaces_lan.php'" style="cursor:pointer"> <? } else { ?> - <a href="/interfaces_opt.php?index=<?=$counter; ?>"> + <span onClick="location.href='/interfaces_opt.php?index=<?=$counter; ?>'" style="cursor:pointer"> <? $counter++; } ?> - <span style="color:#000000"><?=htmlspecialchars($ifname);?></span></a></strong> + <?=htmlspecialchars($ifname);?></span></a></strong> </td> <td width="70%" class="listr"> diff --git a/usr/local/www/widgets/widgets/log.widget.php b/usr/local/www/widgets/widgets/log.widget.php index 3e6259f..6cd39df 100644 --- a/usr/local/www/widgets/widgets/log.widget.php +++ b/usr/local/www/widgets/widgets/log.widget.php @@ -3,7 +3,7 @@ <span class="log-interface-mini-header">IF</span> <span class="log-source-mini-header">Source</span> <span class="log-destination-mini-header">Destination</span> - <span class="log-protocol-mini-header">Proto</span> + <span class="log-protocol-mini-header">Prot</span> </div> <?php $counter=0; foreach ($filterlog as $filterent): ?> <?php diff --git a/usr/local/www/widgets/widgets/traffic_graphs.widget.php b/usr/local/www/widgets/widgets/traffic_graphs.widget.php index fa07129..a522c06 100644 --- a/usr/local/www/widgets/widgets/traffic_graphs.widget.php +++ b/usr/local/www/widgets/widgets/traffic_graphs.widget.php @@ -91,7 +91,7 @@ Refresh Interval: <input type="hidden" id="<?php echo $ifname;?>_graph-config" name="<?php echo $ifname;?>_graph-config" class="graphsettings" value="<?=$interfacevalue;?>"> <div id="<?=$ifname;?>topic" class="widgetsubheader"> <div style="float:left;width:49%"> - <a href="/status_graph.php?if=<?=$ifdescr;?>"><span style="color:#000000">Current <?=$ifname;?> Traffic</span></a> + <span onClick="location.href='/status_graph.php?if=<?=$ifdescr;?>'" style="cursor:pointer">Current <?=$ifname;?> Traffic</span> </div> <div align="right" style="float:right;width:49%"> <div id="<?=$ifname;?>graphdiv-min" onclick='return trafficminimizeDiv("<?php echo $ifname;?>",true)' style="display:<?php echo $mingraphbutton;?>; cursor:pointer" ><img src="./themes/<?= $g['theme']; ?>/images/icons/icon_minus.gif" alt="Minimize <?=$ifname;?> traffic graph" /></div> |