adding grand national dashboard
This commit is contained in:
19
grandnational-dashboard/static/js/gn.js
Normal file
19
grandnational-dashboard/static/js/gn.js
Normal file
@@ -0,0 +1,19 @@
|
||||
$('#gn-countdown').countdown('2020/04/04', function(event) {
|
||||
$(this).html(event.strftime('%D days %Hhrs %Mm %Ss'));
|
||||
});
|
||||
|
||||
$('#chelt-countdown').countdown('2020/03/13', function(event) {
|
||||
$(this).html(event.strftime('%D days %Hhrs %Mm %Ss'));
|
||||
});
|
||||
|
||||
$("#event-rotate").Morphist({
|
||||
// The entrance animation type (In).
|
||||
animateIn: "zoomInDown",
|
||||
// The exit animation type (Out). Refer to Animate.css for a list of available animations.
|
||||
animateOut: "zoomOutRight",
|
||||
// The delay between the changing of each object in milliseconds.
|
||||
speed: 4000,
|
||||
complete: function () {
|
||||
// Called after the entrance animation is executed.
|
||||
}
|
||||
});
|
||||
Reference in New Issue
Block a user