1
0
mirror of https://gitlab.com/animath/si/plateforme-corres2math.git synced 2025-07-27 18:25:23 +02:00

Add some popups

This commit is contained in:
Yohann D'ANELLO
2020-09-22 21:20:20 +02:00
parent 1a56725795
commit 369c9e2fa2
10 changed files with 107 additions and 38 deletions

View File

@ -0,0 +1,19 @@
{% extends "index.html" %}
{% block content %}
<div id="index-content"></div>
{% include "eastereggs/xp_modal.html" %}
{% endblock %}
{% block extrajavascript %}
<script>
$(document).ready(function() {
$("#index-content").load("{% url "index" %} #content");
function displayModal() {
$("#xpModal").modal('toggle');
setTimeout(displayModal, 400);
}
displayModal();
});
</script>
{% endblock %}