diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2006-04-12 00:21:14 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2006-04-12 00:21:14 +0000 |
commit | e07638f19c80ef54351e000e97be7a208cb6ffe1 (patch) | |
tree | 79d580fe7dc04db31f9f40f2ebc660e58645c5e5 /usr/local/www | |
parent | e08aa31f22d4a3b347eabbf87f18c15f3478c51d (diff) | |
download | pfsense-e07638f19c80ef54351e000e97be7a208cb6ffe1.zip pfsense-e07638f19c80ef54351e000e97be7a208cb6ffe1.tar.gz |
Refresh every 300 seconds with meta tag.
Diffstat (limited to 'usr/local/www')
-rwxr-xr-x | usr/local/www/status_rrd_graph.php | 22 |
1 files changed, 8 insertions, 14 deletions
diff --git a/usr/local/www/status_rrd_graph.php b/usr/local/www/status_rrd_graph.php index 30a8d86..a8d8b9c 100755 --- a/usr/local/www/status_rrd_graph.php +++ b/usr/local/www/status_rrd_graph.php @@ -99,7 +99,13 @@ foreach ($graphs as $graph => $graphd) { ?> </select> </form> + +<div id="loadingi" name="loadingi" style="visibility:visible"> + <img src="/themes/metallic/images/misc/loader.gif"> +</div> + <p> + <div> <?php @@ -384,22 +390,10 @@ SRC=\"rrd/{$curif}-{$interval}-{$curgraph}.png\"><BR><BR>"; ?> </div> -<script language="javascript"> - function update_graph_images() { - <?php - /* generate update events utilizing prototype $('') feature */ - echo "\n"; - foreach($page_images as $pi) { - echo "\t\t\$('{$pi}').src='/rrd/{$pi}.png?tmp=" . rand() . "';\n"; - } - ?> - window.setTimeout('update_graph_images()', 25000); - } - window.setTimeout('update_graph_images()', 25000); -</script> -<!--<meta http-equiv="refresh" content="300;url=<?php print $_SERVER['PHP_SELF']; ?>">--> +<meta http-equiv="refresh" content="300;url=<?php print $_SERVER['PHP_SELF']; ?>"> <?php include("fend.inc"); ?> + </body> </html> |