diff options
author | Mario Vavti <mario@mariovavti.com> | 2017-09-26 13:02:11 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2017-09-26 13:02:11 +0200 |
commit | ea5262a0df3d6f8ed6c1d26f272982c9ee6cbf8e (patch) | |
tree | 444219ce5950c03ab5485353f92e38734cadf28a /view/tpl/admin_plugins.tpl | |
parent | 741af8c1644a16f1ec44064090013953232bdce9 (diff) | |
download | volse-hubzilla-ea5262a0df3d6f8ed6c1d26f272982c9ee6cbf8e.tar.gz volse-hubzilla-ea5262a0df3d6f8ed6c1d26f272982c9ee6cbf8e.tar.bz2 volse-hubzilla-ea5262a0df3d6f8ed6c1d26f272982c9ee6cbf8e.zip |
get rid of spinner.js in use a lightweight css spinner instead
Diffstat (limited to 'view/tpl/admin_plugins.tpl')
-rwxr-xr-x | view/tpl/admin_plugins.tpl | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/view/tpl/admin_plugins.tpl b/view/tpl/admin_plugins.tpl index fd5ae7d5e..adc0db434 100755 --- a/view/tpl/admin_plugins.tpl +++ b/view/tpl/admin_plugins.tpl @@ -41,8 +41,8 @@ {{$form}} </div> <div class="clear"></div> - <div id="chat-rotator-wrapper" class="center-block"> - <div id="chat-rotator"></div> + <div id="chat-rotator" class="spinner-wrapper"> + <div class="spinner s"></div> </div> <div class="clear"></div> <div class="section-content-wrapper-np"> @@ -75,11 +75,11 @@ $("#generic-modal-ok-{{$newRepoModalID}}").addClass('btn-primary'); var repoURL = $('#id_repoURL').val(); var repoName = $('#id_repoName').val(); - $('#chat-rotator').spin('tiny'); + $('#chat-rotator').show(); $.post( "/admin/plugins/addrepo", {repoURL: repoURL, repoName: repoName}, function(response) { - $('#chat-rotator').spin(false); + $('#chat-rotator').hide(); if (response.success) { var modalBody = $('#generic-modal-body-{{$newRepoModalID}}'); modalBody.html('<div>'+response.repo.readme+'</div>'); @@ -187,4 +187,4 @@ } } -</script>
\ No newline at end of file +</script> |