mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-19 22:42:17 +00:00
Animated loading
This commit is contained in:
@@ -35,8 +35,15 @@
|
|||||||
})
|
})
|
||||||
$(document).ready(function() {
|
$(document).ready(function() {
|
||||||
$(function () {
|
$(function () {
|
||||||
|
$( "#activity" ).hide();
|
||||||
$( "#activity" ).load( "{% url 'activity_feed' %}", function() {
|
$( "#activity" ).load( "{% url 'activity_feed' %}", function() {
|
||||||
$('#activity [data-toggle="popover"]').popover()
|
$('#activity_loading').slideUp('slow',function(){
|
||||||
|
$('#activity').slideDown('slow');
|
||||||
|
});
|
||||||
|
|
||||||
|
$('#activity [data-toggle="popover"]').popover();
|
||||||
|
|
||||||
|
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
@@ -48,11 +55,13 @@
|
|||||||
<h4 class="panel-title">Recent Changes</h4>
|
<h4 class="panel-title">Recent Changes</h4>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="activity" class="list-group">
|
<div class="list-group">
|
||||||
<div class="list-group-item loading-animation">
|
<div id="activity_loading" class="list-group-item loading-animation">
|
||||||
<div class="circle"></div>
|
<div class="circle"></div>
|
||||||
<div class="circle1"></div>
|
<div class="circle1"></div>
|
||||||
</div>
|
</div>
|
||||||
|
<div id="activity">
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user