Charge
This commit is contained in:
@@ -803,4 +803,28 @@ function afficher_adherents_police()
|
||||
$("#div_liste_adherent").html(data);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
function graphique_sinistre()
|
||||
{
|
||||
$("#div_graphique").html(`
|
||||
<div class="text-center my-5 py-5">
|
||||
<div class="spinner-border text-primary" role="status" style="width: 3rem; height: 3rem;">
|
||||
<span class="visually-hidden">Chargement...</span>
|
||||
</div>
|
||||
<p class="mt-3 text-muted fw-bold">Affichage des graphiques en cours...</p>
|
||||
</div>
|
||||
`);
|
||||
|
||||
|
||||
$.ajax({
|
||||
url: $("#racineWeb").val()+"Ajaxgraphiquesinistres/",
|
||||
type : 'post',
|
||||
// data: donnees,
|
||||
error: function(errorData) {
|
||||
},
|
||||
success: function(data) {
|
||||
$("#div_graphique").html(data);
|
||||
}
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user