summaryrefslogtreecommitdiff
path: root/static/outilspage.js
diff options
context:
space:
mode:
authorDenise sur Lya <sekhmet@lya>2020-06-18 14:40:06 +0200
committerDenise sur Lya <sekhmet@lya>2020-06-18 14:40:06 +0200
commitbe2bf5155489b103e616845ffedb1a58c3808c48 (patch)
tree8faeaeac748ff13201037571d507b9bdc8fbfaaa /static/outilspage.js
parenta46e126967995e8483b4da81a1f3b586266ee86d (diff)
downloadoms-be2bf5155489b103e616845ffedb1a58c3808c48.tar.gz
oms-be2bf5155489b103e616845ffedb1a58c3808c48.tar.zst
oms-be2bf5155489b103e616845ffedb1a58c3808c48.zip
Changement de format pour l'export, ajout des boutons qui vont avec + divers
Diffstat (limited to 'static/outilspage.js')
-rw-r--r--static/outilspage.js26
1 files changed, 26 insertions, 0 deletions
diff --git a/static/outilspage.js b/static/outilspage.js
index de87963..8da9e88 100644
--- a/static/outilspage.js
+++ b/static/outilspage.js
@@ -23,3 +23,29 @@ function ajoutelignes()
23 } 23 }
24 24
25} 25}
26
27// Affichage de la textarea "export"
28function affiche_export()
29{
30 document.getElementById("export").style.display = "block" ;
31
32}
33
34function affiche_cache(id,elemcourant)
35{
36 // affiche et/ou cache l'élément id, tout en changeant le this
37 // en afficher/masquer
38 elem = document.getElementById(id)
39 if(elem.style.display == "block")
40 {
41 elem.style.display = "none";
42 elemcourant.innerHTML = "Afficher" ;
43 }
44 else
45 {
46 elem.style.display = "block" ;
47 elemcourant.innerHTML = "Masquer" ;
48
49 }
50
51}