commit | abcf5403a9d2c65b8d433943c9b1a281cee0010e | [log] [tgz] |
---|---|---|
author | Valentin Valchev <vvalchev@apache.org> | Tue Apr 06 13:42:15 2010 +0000 |
committer | Valentin Valchev <vvalchev@apache.org> | Tue Apr 06 13:42:15 2010 +0000 |
tree | 61bf3bcaaab64591f9e5461cb1e94edbbd2494d8 | |
parent | 46e26fbe7b0164dda49fb11894cddb13e7073682 [diff] |
Fixed FELIX-2253 /Display progress indiciator on configuration status page/ https://issues.apache.org/jira/browse/FELIX-2253 git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@931151 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/webconsole/src/main/resources/res/imgs/loading.gif b/webconsole/src/main/resources/res/imgs/loading.gif new file mode 100644 index 0000000..85b99d4 --- /dev/null +++ b/webconsole/src/main/resources/res/imgs/loading.gif Binary files differ
diff --git a/webconsole/src/main/resources/res/ui/configurationrender.css b/webconsole/src/main/resources/res/ui/configurationrender.css index 370e1aa..4417fe4 100644 --- a/webconsole/src/main/resources/res/ui/configurationrender.css +++ b/webconsole/src/main/resources/res/ui/configurationrender.css
@@ -45,3 +45,6 @@ background: transparent } .ui-tabs-paging-disabled { visibility: hidden } + +#waitDlg { text-align: center; padding: 2em; font-weight: bold } +#waitDlg img { margin-right: 1em } \ No newline at end of file
diff --git a/webconsole/src/main/resources/res/ui/configurationrender.js b/webconsole/src/main/resources/res/ui/configurationrender.js new file mode 100644 index 0000000..da70d26 --- /dev/null +++ b/webconsole/src/main/resources/res/ui/configurationrender.js
@@ -0,0 +1,14 @@ +$(document).ready(function() { + var dlg = $('#waitDlg').dialog({ + modal : true, + autoOpen : false, + draggable: false, + resizable: false, + closeOnEscape: false + }); + + $('#tabs').tabs({ajaxOptions: { + beforeSend : function() { dlg.dialog('open') }, + complete : function() { dlg.dialog('close')} + }}).tabs('paging'); +}); \ No newline at end of file