mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Show all widgets. Remove - button as there is no save mechanism at all for this widget.
This commit is contained in:
parent
3fa86ecd68
commit
6d28f4d021
@ -81,10 +81,6 @@ Refresh Interval:
|
||||
|
||||
<?php
|
||||
|
||||
if (get_cpu_speed() >= 500)
|
||||
$firstgraphshown = false;
|
||||
else
|
||||
$firstgraphshown = true;
|
||||
foreach ($ifdescrs as $ifdescr => $ifname) {
|
||||
$ifinfo = get_interface_info($ifdescr);
|
||||
$currentgraph = $showngraphlist[$graphcounter];
|
||||
@ -103,17 +99,10 @@ Refresh Interval:
|
||||
$interfacevalue = "hide";
|
||||
}
|
||||
} else {
|
||||
if(!$firstgraphshown) {
|
||||
$mingraphbutton = "inline";
|
||||
$showgraphbutton = "none";
|
||||
$graphdisplay = "inline";
|
||||
$interfacevalue = "show";
|
||||
} else {
|
||||
$mingraphbutton = "none";
|
||||
$showgraphbutton = "inline";
|
||||
$graphdisplay = "none";
|
||||
$interfacevalue = "hide";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -126,8 +115,10 @@ Refresh Interval:
|
||||
<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>
|
||||
<div id="<?=$ifname;?>graphdiv-open" onclick='return trafficshowDiv("<?php echo $ifname;?>",true)' style="display:<?php echo $showgraphbutton;?>; cursor:pointer" ><img src="./themes/<?= $g['theme']; ?>/images/icons/icon_open.gif" alt="Show <?=$ifname;?> traffic graph" /></div>
|
||||
-->
|
||||
</div>
|
||||
<div style="clear:both;"></div>
|
||||
</div>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user