From e70b2bdd7483cc3879944b534cbe315ccf371699 Mon Sep 17 00:00:00 2001 From: David Taylor Date: Tue, 26 May 2015 03:43:35 +0100 Subject: [PATCH] Animated loading --- RIGS/templates/RIGS/activity_feed.html | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/RIGS/templates/RIGS/activity_feed.html b/RIGS/templates/RIGS/activity_feed.html index f41350b8..b9e7c001 100644 --- a/RIGS/templates/RIGS/activity_feed.html +++ b/RIGS/templates/RIGS/activity_feed.html @@ -35,8 +35,15 @@ }) $(document).ready(function() { $(function () { + $( "#activity" ).hide(); $( "#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 @@

Recent Changes

-
-
+
+
+
+