diff --git a/www/index.html.de b/www/index.html.de index 293ca4b..08deef6 100755 --- a/www/index.html.de +++ b/www/index.html.de @@ -176,5 +176,6 @@
+ diff --git a/www/main.css b/www/main.css index fc8c168..333b86b 100644 --- a/www/main.css +++ b/www/main.css @@ -87,4 +87,16 @@ p.table-caption { font-size: smaller; } + div.spinner { + position: fixed; + top: 50%; + left: 50%; + margin-left: -64px; /* half width of the spinner gif */ + margin-top: -8px; /* half height of the spinner gif */ + text-align:center; + z-index: 19000; + overflow: auto; + width: 128px; /* width of the spinner gif */ + height: 40px; /*hight of the spinner gif +2px to fix IE8 issue */ + } diff --git a/www/misc.js b/www/misc.js index 66de0d7..38b500c 100644 --- a/www/misc.js +++ b/www/misc.js @@ -192,4 +192,12 @@ $(document).ready(function() { heightStyle: 'content', animate: 200, }); + // spinner + $(document).bind("ajaxSend", function() { + $("#spinner").show(); + console.log('Starting Spinner at '+Date()); + }).bind("ajaxStop", function() { + $("#spinner").hide(); + console.log('Stopping Spinner at '+Date()); + }); });