diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2008-12-07 06:03:40 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2008-12-07 06:03:40 +0000 |
commit | 8b5d0e1ef675b8c12db75121507bb599ba67536c (patch) | |
tree | 93701f3bc446841ccff31d31f16c171620e5536b /packages | |
parent | db985808d1ca79657e78780aa0b02400b23041d5 (diff) | |
download | pfsense-packages-8b5d0e1ef675b8c12db75121507bb599ba67536c.tar.gz pfsense-packages-8b5d0e1ef675b8c12db75121507bb599ba67536c.tar.bz2 pfsense-packages-8b5d0e1ef675b8c12db75121507bb599ba67536c.zip |
Add loading indicator when waiting for data from portal.pfsense.org.
Diffstat (limited to 'packages')
-rw-r--r-- | packages/autoconfigbackup/autoconfigbackup.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/packages/autoconfigbackup/autoconfigbackup.php b/packages/autoconfigbackup/autoconfigbackup.php index fddfd8c4..96e87b57 100644 --- a/packages/autoconfigbackup/autoconfigbackup.php +++ b/packages/autoconfigbackup/autoconfigbackup.php @@ -231,6 +231,9 @@ include("head.inc"); <table id="backuptable" class="tabcont" align="center" width="100%" border="0" cellpadding="6" cellspacing="0"> <tr> <td colspan="2" align="left"> + <div id='loading'> + <img src='themes/metallic/images/misc/loader.gif'> Loading, please wait... + </div> <?php if($_REQUEST['download']) { // Phone home and obtain backups @@ -270,6 +273,9 @@ include("head.inc"); echo "<textarea name='dec_config_xml' rows='40' cols='70'>{$data}</textarea>"; } echo "<p/><input type=\"button\" value=\"Install this revision\" onClick=\"document.location='autoconfigbackup.php?newver=" . urlencode($_REQUEST['download']) . "';\">"; + echo "<script type=\"text/javascript\">"; + echo "$('loading').innerHTML = '';"; + echo "</script>"; echo "</td></tr></table></div></td></td></tr></tr></table></form>"; require("fend.inc"); exit; |