]> source.dussan.org Git - nextcloud-server.git/commitdiff
changed image to classed div for spinner animation
authorSebastian Bolt <sebastian.bolt@gmx.de>
Fri, 19 Dec 2014 05:06:27 +0000 (06:06 +0100)
committerSebastian Bolt <sebastian.bolt@gmx.de>
Wed, 4 Feb 2015 21:27:38 +0000 (22:27 +0100)
core/css/styles.css
core/js/setup.js
core/templates/installation.php

index 9604cb0fa4a325ff2e34c18e054db883c4f4d000..1d64d5a5ade0be870c6865c77f615a297aca9d33 100644 (file)
@@ -36,7 +36,9 @@ body {
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#35537a', endColorstr='#1d2d44',GradientType=0 ); /* IE6-9 */
 }
 
-
+.float-spinner {
+       height: 32px;
+}
 
 #nojavascript {
        position: fixed;
index 1eceb8ced7030cc77c209600a1ce572ff3787f6a..9729e3862ac5990bac4f793175401c9666b8c607 100644 (file)
@@ -51,6 +51,9 @@ $(document).ready(function() {
                // Save form parameters
                var post = $(this).serializeArray();
 
+               // Show spinner while finishing setup
+               $('.float-spinner').show(250);
+
                // Disable inputs
                $(':submit', this).attr('disabled','disabled').val($(':submit', this).data('finishing'));
                $('input', this).addClass('ui-state-disabled').attr('disabled','disabled');
@@ -91,6 +94,7 @@ $(document).ready(function() {
                $('#datadirContent').hide(250);
                $('#databaseBackend').hide(250);
                $('#databaseField').hide(250);
+               $('.float-spinner').hide(250);
        }
 
        $('#adminpass').strengthify({
index 9ef63dbfe8c88bb03127652416bd5966f71cee65..c08cfa22cdebedcf0c05f3b3802682784c1add40 100644 (file)
                </fieldset>
                <?php endif; ?>
        <?php endif; ?>
+       
+       <div class="icon-loading-dark float-spinner">&nbsp;</div>
 
        <?php if(!$_['dbIsSet'] OR count($_['errors']) > 0): ?>
        <p id="sqliteInformation" class="info"><?php p($l->t('SQLite will be used as database. For larger installations we recommend to change this.'));?></p>