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:
19
apps/eastereggs/templates/eastereggs/xp.html
Normal file
19
apps/eastereggs/templates/eastereggs/xp.html
Normal 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 %}
|
Reference in New Issue
Block a user