switch to large spinner
This commit is contained in:
parent
1536c7ea58
commit
e0924a5f07
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
|
|
||||||
$(document).ready(function(){
|
$(document).ready(function(){
|
||||||
$('form[name="login"]').on('submit', function(ev) {
|
$('form[name="login"]').on('submit', function() {
|
||||||
var user = $('#user').val();
|
var user = $('#user').val();
|
||||||
var password = $('#password').val();
|
var password = $('#password').val();
|
||||||
$.ajax({
|
$.ajax({
|
||||||
|
@ -19,7 +19,7 @@ $(document).ready(function(){
|
||||||
success: function(response) {
|
success: function(response) {
|
||||||
if (response.data.migrationCompleted === false) {
|
if (response.data.migrationCompleted === false) {
|
||||||
var message = t('files_encryption', 'Initial encryption started... This can take some time. Please wait.');
|
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');
|
$('p[id="message"]').removeClass('hidden').addClass('info');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -283,6 +283,11 @@ input[type="submit"].enabled {
|
||||||
opacity: .6;
|
opacity: .6;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#body-login p#message img {
|
||||||
|
vertical-align: middle;
|
||||||
|
padding: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
#body-login div.buttons { text-align:center; }
|
#body-login div.buttons { text-align:center; }
|
||||||
#body-login p.info {
|
#body-login p.info {
|
||||||
width: 22em;
|
width: 22em;
|
||||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 1.3 KiB |
Loading…
Reference in New Issue