Ajout du changements d'informations sur le /profile. Début pour le /event. Modification du CSS.

Co-authored-by: Charpentier Juliette <juliette.charpentier1@etu.u-pec.fr>
This commit is contained in:
2024-06-11 22:49:01 +02:00
parent fb752fb563
commit 3fa7228209
15 changed files with 212 additions and 118 deletions

17
scripts/tonTruc.js Normal file
View File

@@ -0,0 +1,17 @@
// JavaScript code
function rechercher_evenement() {
let input = document.getElementById("searchbar").value;
input = input.toLowerCase();
let x = document.getElementsByClassName("animals");
for (i = 0; i < x.length; i++) {
if (!x[i].innerHTML.toLowerCase().includes(input)) {
x[i].style.display = "none";
} else {
x[i].style.display = "list-item";
}
}
}
//INSERT INTO olympic_discipline
//VALUES (name='Athlétisme',id='1');