diff options
author | Erik Kristensen <ekristen@pfsense.org> | 2005-08-23 01:18:28 +0000 |
---|---|---|
committer | Erik Kristensen <ekristen@pfsense.org> | 2005-08-23 01:18:28 +0000 |
commit | 8ab3e9ed14dc643d1f0192a67655b0691e083968 (patch) | |
tree | b8f31194997af46f303beaad8892b7173c19178c /usr/local/www/status_graph.php | |
parent | 1e055202d3b8e244e65188eb1d0b261fae0c5749 (diff) | |
download | pfsense-8ab3e9ed14dc643d1f0192a67655b0691e083968.zip pfsense-8ab3e9ed14dc643d1f0192a67655b0691e083968.tar.gz |
First Step in Fixing AutoComplete and Cleaning Up Code
Diffstat (limited to 'usr/local/www/status_graph.php')
-rwxr-xr-x | usr/local/www/status_graph.php | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/usr/local/www/status_graph.php b/usr/local/www/status_graph.php index acc88ec..470cea7 100755 --- a/usr/local/www/status_graph.php +++ b/usr/local/www/status_graph.php @@ -70,7 +70,7 @@ for ($j = 1; isset($config['interfaces']['opt' . $j]); $j++) { ?> <form name="form1" action="status_graph.php" method="get" style="padding-bottom: 10px; margin-bottom: 14px; border-bottom: 1px solid #999999"> Interface: -<select name="if" class="formfld" onchange="document.form1.submit()"> +<select name="if" class="formfld" style="z-index: -10;" onchange="document.form1.submit()"> <?php foreach ($ifdescrs as $ifn => $ifd) { echo "<option value=\"$ifn\""; @@ -80,13 +80,15 @@ foreach ($ifdescrs as $ifn => $ifd) { ?> </select> </form> -<div align="center" style="z-index: 5"> -<embed src="graph.php?ifnum=<?=$ifnum;?>&ifname=<?=rawurlencode($ifdescrs[$curif]);?>" type="image/svg+xml" - width="<? echo $width; ?>" height="<? echo $height; ?>" style="z-index: 5"; pluginspage="http://www.adobe.com/svg/viewer/install/auto" /> -</div> +<p><span class="red"><strong>Note:</strong></span> the <a href="http://www.adobe.com/svg/viewer/install/" target="_blank">Adobe SVG viewer</a> is required to view the graph. <p><form method="post" action="status_graph.php"> Graph Width: <input name="width" value="<? echo $width; ?>"> Height: <input name="height" value="<? echo $height; ?>"> <input type="submit" value="Change Graph Size"></p> -<p><span class="red"><strong>Note:</strong></span> the <a href="http://www.adobe.com/svg/viewer/install/" target="_blank">Adobe SVG viewer</a> is required to view the graph. +</form> +<div> +<embed id="graph" src="graph.php?ifnum=<?=$ifnum;?>&ifname=<?=rawurlencode($ifdescrs[$curif]);?>" type="image/svg+xml" + width="<? echo $width; ?>" height="<? echo $height; ?>" pluginspage="http://www.adobe.com/svg/viewer/install/auto" /> +</div> + <?php include("fend.inc"); ?> </body> </html> |