switch to large spinner

This commit is contained in:
Bjoern Schiessle 2013-11-27 21:58:38 +01:00
parent 1536c7ea58
commit e0924a5f07
3 changed files with 7 additions and 2 deletions

View File

@ -7,7 +7,7 @@
$(document).ready(function(){
$('form[name="login"]').on('submit', function(ev) {
$('form[name="login"]').on('submit', function() {
var user = $('#user').val();
var password = $('#password').val();
$.ajax({
@ -19,7 +19,7 @@ $(document).ready(function(){
success: function(response) {
if (response.data.migrationCompleted === false) {
var message = t('files_encryption', 'Initial encryption started... This can take some time. Please wait.');
$('p[id="message"]').html('<img src="' + OC.imagePath('core', 'loading-dark-small.gif') + '"/> ' + message);
$('p[id="message"]').html('<img src="' + OC.imagePath('core', 'loading-dark.gif') + '"/> ' + message);
$('p[id="message"]').removeClass('hidden').addClass('info');
}
}

View File

@ -283,6 +283,11 @@ input[type="submit"].enabled {
opacity: .6;
}
#body-login p#message img {
vertical-align: middle;
padding: 5px;
}
#body-login div.buttons { text-align:center; }
#body-login p.info {
width: 22em;

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB