2020-04-27 23:27:39 +02:00
|
|
|
{% extends "base.html" %}
|
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
<br>
|
2020-05-20 22:49:36 +02:00
|
|
|
<img alt="VVF" src="./risorse/images/owner.png" width="150" style="display: block; margin-left: auto; margin-right: auto;">
|
2020-04-27 23:27:39 +02:00
|
|
|
<br>
|
|
|
|
<p style="text-align: center;">
|
2020-05-29 12:13:33 +02:00
|
|
|
<a id='add' href="esercitazioni/modifica.php?add">add esercitazione</a>
|
2020-04-27 23:27:39 +02:00
|
|
|
</p>
|
|
|
|
<br>
|
|
|
|
<div id="lista"></div>
|
|
|
|
<script>
|
|
|
|
$.get( "risorse/ajax/ajax_esercitazioni.php", function( data ) {
|
|
|
|
$( "#lista" ).html( data );
|
|
|
|
console.log( "Caricato lista." );
|
|
|
|
});
|
|
|
|
$(document).ready(function() {
|
|
|
|
|
|
|
|
setInterval(function() {
|
|
|
|
$.get( "risorse/ajax/ajax_esercitazioni.php", function( data ) {
|
|
|
|
$( "#lista" ).html( data );
|
|
|
|
});
|
|
|
|
}, 10000);
|
|
|
|
|
|
|
|
});
|
|
|
|
/*
|
|
|
|
check();
|
|
|
|
$(document).ready(function() {
|
|
|
|
|
|
|
|
setInterval(function() {
|
|
|
|
check();
|
|
|
|
}, 10000);
|
|
|
|
|
|
|
|
});
|
|
|
|
*/
|
|
|
|
</script>
|
|
|
|
<br>
|
|
|
|
<br>
|
|
|
|
{% endblock %}
|