summaryrefslogtreecommitdiff
path: root/static
diff options
context:
space:
mode:
authorDenise sur Lya <sekhmet@lya>2021-07-29 16:58:10 +0200
committerDenise sur Lya <sekhmet@lya>2021-07-29 16:58:10 +0200
commit8da62cfdd34686b48c0ef22c1c6158963a2c8579 (patch)
treeff08ea581824e7c06de70318739c23f6ef822808 /static
parent487aa49cfc31c1358e912966d63f792bab2638f5 (diff)
downloadbingo-8da62cfdd34686b48c0ef22c1c6158963a2c8579.tar.gz
bingo-8da62cfdd34686b48c0ef22c1c6158963a2c8579.tar.zst
bingo-8da62cfdd34686b48c0ef22c1c6158963a2c8579.zip
ajout de la page liste
Diffstat (limited to 'static')
-rw-r--r--static/outilspage.js19
1 files changed, 19 insertions, 0 deletions
diff --git a/static/outilspage.js b/static/outilspage.js
index f0f90b4..15c043d 100644
--- a/static/outilspage.js
+++ b/static/outilspage.js
@@ -205,3 +205,22 @@ function met_url(aajouter) {
205 //alert(url) ; 205 //alert(url) ;
206 history.pushState({}, null, url); 206 history.pushState({}, null, url);
207} 207}
208
209
210/* Afficher/cacher un truc */
211function affiche_cache(elem, elemcourant)
212{
213 // affiche et/ou cache l'élément elem, tout en changeant l'élément courant (block/none)
214 // en afficher/masquer
215 if(elem.style.display == "block")
216 {
217 elem.style.display = "none";
218 elemcourant.innerHTML = "Afficher" ;
219 }
220 else
221 {
222 elem.style.display = "block" ;
223 elemcourant.innerHTML = "Masquer" ;
224 }
225
226}