Project

General

Profile

« Previous | Next » 

Revision badc676a

Added by Scott Dale about 18 years ago

update widgets to use css properly

View differences:

usr/local/www/widgets/widgets/interfaces.widget.php
24 24
				<strong>
25 25
				<?php
26 26
				if ($ifname == "WAN") { ?>
27
					<a href="/interfaces_wan.php">					
27
					<span onClick="location.href='/interfaces_wan.php'" style="cursor:pointer">				
28 28
				<? } else if ($ifname == "LAN") { ?>
29
					<a href="/interfaces_lan.php">
29
					<span onClick="location.href='/interfaces_lan.php'" style="cursor:pointer">
30 30
				<? } else { ?>				
31
					<a href="/interfaces_opt.php?index=<?=$counter; ?>">
31
					<span onClick="location.href='/interfaces_opt.php?index=<?=$counter; ?>'" style="cursor:pointer">
32 32
				<? 
33 33
				$counter++;
34 34
				} ?>			
35 35
				
36 36
				
37
				<span style="color:#000000"><?=htmlspecialchars($ifname);?></span></a></strong>
37
				<?=htmlspecialchars($ifname);?></span></a></strong>
38 38
				</td>
39 39
				<td width="70%"  class="listr">
40 40
				
usr/local/www/widgets/widgets/log.widget.php
3 3
    <span class="log-interface-mini-header">IF</span>
4 4
    <span class="log-source-mini-header">Source</span>
5 5
    <span class="log-destination-mini-header">Destination</span>
6
    <span class="log-protocol-mini-header">Proto</span>
6
    <span class="log-protocol-mini-header">Prot</span>
7 7
</div>
8 8
<?php $counter=0; foreach ($filterlog as $filterent): ?>
9 9
<?php
usr/local/www/widgets/widgets/traffic_graphs.widget.php
91 91
					<input type="hidden" id="<?php echo $ifname;?>_graph-config" name="<?php echo $ifname;?>_graph-config" class="graphsettings" value="<?=$interfacevalue;?>">
92 92
						<div id="<?=$ifname;?>topic" class="widgetsubheader">
93 93
							<div style="float:left;width:49%">
94
								<a href="/status_graph.php?if=<?=$ifdescr;?>"><span style="color:#000000">Current <?=$ifname;?> Traffic</span></a>
94
								<span onClick="location.href='/status_graph.php?if=<?=$ifdescr;?>'" style="cursor:pointer">Current <?=$ifname;?> Traffic</span>
95 95
							</div>
96 96
							<div align="right" style="float:right;width:49%">
97 97
								<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>								

Also available in: Unified diff