From cf0d4c8c36224ca7059e99d03c25abaf694011d7 Mon Sep 17 00:00:00 2001 From: Denise sur Lya Date: Thu, 18 Feb 2021 20:05:29 +0100 Subject: =?UTF-8?q?extrapolation=20des=20courbes=20et=20calculs=20associ?= =?UTF-8?q?=C3=A9s?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- static/requetes.js | 15 ++++++++++++++- static/style.css | 11 +++++++++-- 2 files changed, 23 insertions(+), 3 deletions(-) (limited to 'static') diff --git a/static/requetes.js b/static/requetes.js index 57330b3..6228020 100644 --- a/static/requetes.js +++ b/static/requetes.js @@ -19,6 +19,7 @@ function appelle_image() var liste_warnings = this.response.messages var texte = this.response.export_txt; var nomenfant = this.response.nomenfant ; + var calculextra = this.response.calculextra ; // on affiche l'export des données document.getElementById('export').innerHTML = texte; @@ -67,7 +68,19 @@ function appelle_image() li.appendChild(document.createTextNode(liste_warnings[i])); ul.appendChild(li); } - } + } + // S'il y a des calculs faits, à afficher ! + if(calculextra.length != 0) + { + var elem_extr = document.getElementById("section_extradonnees") + elem_extr.style.display = "block" ; + var ul2=elem_extr.children[1] ; + for(i=0; i