allerta-vvf/server/templates/interventi.html

30 lines
790 B
HTML
Raw Normal View History

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="interventi/modifica.php?add">add intervento</a>
2020-04-27 23:27:39 +02:00
</p>
<br>
<div id="lista"></div>
<script>
$.get( "risorse/ajax/ajax_interventi.php", function( data ) {
$( "#lista" ).html( data );
console.log( "Caricato lista." );
});
$(document).ready(function() {
setInterval(function() {
$.get( "risorse/ajax/ajax_interventi.php", function( data ) {
$( "#lista" ).html( data );
});
}, 10000);
});
</script>
<br>
<br>
{% endblock %}