From e4ec2d3d510d6138430c48d5dc699c10ff8dc463 Mon Sep 17 00:00:00 2001 From: Denise sur Lya Date: Thu, 22 Jul 2021 14:02:16 +0200 Subject: =?UTF-8?q?petites=20am=C3=A9liorations=20graphiques,=20ic=C3=B4ne?= =?UTF-8?q?,=20etc?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- static/favicon.ico | Bin 0 -> 1246 bytes static/outilspage.js | 16 ++++++++++++++-- static/requetes.js | 2 +- static/style.css | 11 +++++++++-- 4 files changed, 24 insertions(+), 5 deletions(-) create mode 100644 static/favicon.ico (limited to 'static') diff --git a/static/favicon.ico b/static/favicon.ico new file mode 100644 index 0000000..1392469 Binary files /dev/null and b/static/favicon.ico differ diff --git a/static/outilspage.js b/static/outilspage.js index 72a9b91..dac70bf 100644 --- a/static/outilspage.js +++ b/static/outilspage.js @@ -44,11 +44,23 @@ function ajoutelignes() } -// Affichage de la textarea "export" +// Affichage de la section "export" function affiche_export() { document.getElementById("export").style.display = "block" ; - +} +// Copier vers le presse-papiers +function copietexte() +{ + var elt = document.getElementById("export_texte"); + + /* Select the text field */ + elt.select(); + elt.setSelectionRange(0, 99999); /* For mobile devices */ + + /* Copy the text inside the text field */ + document.execCommand("copy"); + } function affiche_cache(id,elemcourant) diff --git a/static/requetes.js b/static/requetes.js index 5644469..ba2a81e 100644 --- a/static/requetes.js +++ b/static/requetes.js @@ -23,7 +23,7 @@ function appelle_image() var calculextra = this.response.calculextra ; // on affiche l'export des données - document.getElementById('export').innerHTML = texte; + document.getElementById('export_texte').innerHTML = texte; document.getElementById('sectionexport').style.display = "block"; diff --git a/static/style.css b/static/style.css index 95cd55e..4b82077 100644 --- a/static/style.css +++ b/static/style.css @@ -37,12 +37,14 @@ img#courbe { display: none; } -#export { +#export_texte { width: 25em; height: 20em; - display:none; max-width: 100% } +#export { + display: none; +} #courbe_warnings { display: none; @@ -125,3 +127,8 @@ nav { .data { width:7em } + +/* Page changelog */ +#suite_changelog { + display: none; +} -- cgit v1.2.3