update ajax loader style

This commit is contained in:
Max Ogden 2011-08-03 18:19:49 -04:00
parent d7e7eeabe4
commit f40f5b20f3
3 changed files with 7 additions and 3 deletions

View File

@ -32,7 +32,6 @@
<div class="project-actions"></div>
<div class="project-controls"></div>
</div>
<img src="images/large-spinner.gif" class="large-loader" style="display: none;">
<div class="main_content"></div>
</div>
@ -41,6 +40,11 @@
<img src="images/small-spinner.gif" class="notification-loader"><span id="notification-message">Loading...</span>
</div>
</div>
<div class="large-loader" id="loading-message" style="display: none; ">
<img src="images/large-spinner.gif">
Loading...
</div>
<div class="dialog-overlay" style="display: none; z-index: 101; ">&nbsp;</div>
<div class="dialog ui-draggable" style="display: none; z-index: 102; top: 101px; ">

View File

@ -192,8 +192,8 @@ var recline = function() {
function initializeTable(offset) {
$('.large-loader').show();
couch.request({url: app.baseURL + 'api/headers'}).then(function ( headers ) {
$('.large-loader').hide();
getDbInfo().then(function(dbInfo) {
$('.large-loader').hide();
updateDocCount(dbInfo.doc_count);
});
app.headers = headers;

View File

@ -42,7 +42,7 @@ a.button:hover span.icon.loading { background-image: url(images/loader-blue.gif)
#couchLogo {float: left; margin-right: 5px; margin-top: 3px}
.chosen {border: 1px solid green}
.info { padding: 0px 0px 10px 0px}
.large-loader { position: absolute; top: 200px; left: 50%; z-index: 666;}
.large-loader { position: relative; }
.menu-overlay {
position: fixed;
top: 0;