diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2006-04-02 05:01:01 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2006-04-02 05:01:01 +0000 |
commit | 75eb1c5096a7d49b3c78bf3a1613abb189a76bf1 (patch) | |
tree | a7ad5d712fec7d3d6ee701b092e091e592829a32 /usr/local/www/status_filter_reload.php | |
parent | c8dfd0b8c1a89961fa9e611df669958d6321c0b3 (diff) | |
download | pfsense-75eb1c5096a7d49b3c78bf3a1613abb189a76bf1.zip pfsense-75eb1c5096a7d49b3c78bf3a1613abb189a76bf1.tar.gz |
* Explain further that the filter rules have been reloaded
* Hide info box that explains that the status reloads every 3 seconds
Diffstat (limited to 'usr/local/www/status_filter_reload.php')
-rw-r--r-- | usr/local/www/status_filter_reload.php | 17 |
1 files changed, 4 insertions, 13 deletions
diff --git a/usr/local/www/status_filter_reload.php b/usr/local/www/status_filter_reload.php index e189321..0fcb823 100644 --- a/usr/local/www/status_filter_reload.php +++ b/usr/local/www/status_filter_reload.php @@ -52,13 +52,6 @@ if($_GET['getstatus']) { <p><span class="pgtitle"><?=$pgtitle;?></span></p> -<!-- -<div id="loadingicon" name="loadingicon"> - <img src="/themes/metallic/images/misc/loader.gif"> - <p/> -</div> ---> - <div id="status" name="status" style="padding:5px; border:1px dashed #990000; background-color: #ffffff; color: #000000;"> <?php echo $status; ?> </div> @@ -68,15 +61,13 @@ if($_GET['getstatus']) { <p> -This page will automatically refresh every 3 seconds until the filter is done reloading. +<div id="reloadinfo" name="reloadinfo">This page will automatically refresh every 3 seconds until the filter is done reloading.</div> <?php include("fend.inc"); ?> <script language="javascript"> /* init update "thread */ -//$('loadingicon').style.visibility="visible"; function update_status_thread() { - //$('loadingicon').style.visibility="visible"; getURL('status_filter_reload.php?getstatus=true', update_data); } function update_data(obj) { @@ -88,11 +79,11 @@ function update_data(obj) { if (result_text) { $('status').innerHTML = '<img src="/themes/metallic/images/misc/loader.gif"> ' + result_text + '...'; } else { - $('status').innerHTML = 'Obtaining filter status...'; + $('status').innerHTML = '<img src="/themes/metallic/images/misc/loader.gif"> Obtaining filter status...'; } if(result_text == "Done") { - $('status').innerHTML = 'Done.'; - //$('loadingicon').style.visibility="hidden"; + $('status').innerHTML = 'Done. The filter rules have been reloaded.'; + $('reloadinfo').style.visibility="hidden"; $('doneurl').style.visibility="visible"; $('doneurl').innerHTML = "<p/><a href='status_queues.php'>Queue Status</a>"; } |