summaryrefslogtreecommitdiff
path: root/static
diff options
context:
space:
mode:
Diffstat (limited to 'static')
-rw-r--r--static/favicon.icobin0 -> 1246 bytes
-rw-r--r--static/outilspage.js16
-rw-r--r--static/requetes.js2
-rw-r--r--static/style.css11
4 files changed, 24 insertions, 5 deletions
diff --git a/static/favicon.ico b/static/favicon.ico
new file mode 100644
index 0000000..1392469
--- /dev/null
+++ b/static/favicon.ico
Binary files 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()
44 44
45} 45}
46 46
47// Affichage de la textarea "export" 47// Affichage de la section "export"
48function affiche_export() 48function affiche_export()
49{ 49{
50 document.getElementById("export").style.display = "block" ; 50 document.getElementById("export").style.display = "block" ;
51 51}
52// Copier vers le presse-papiers
53function copietexte()
54{
55 var elt = document.getElementById("export_texte");
56
57 /* Select the text field */
58 elt.select();
59 elt.setSelectionRange(0, 99999); /* For mobile devices */
60
61 /* Copy the text inside the text field */
62 document.execCommand("copy");
63
52} 64}
53 65
54function affiche_cache(id,elemcourant) 66function 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()
23 var calculextra = this.response.calculextra ; 23 var calculextra = this.response.calculextra ;
24 24
25 // on affiche l'export des données 25 // on affiche l'export des données
26 document.getElementById('export').innerHTML = texte; 26 document.getElementById('export_texte').innerHTML = texte;
27 document.getElementById('sectionexport').style.display = "block"; 27 document.getElementById('sectionexport').style.display = "block";
28 28
29 29
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 {
37 display: none; 37 display: none;
38} 38}
39 39
40#export { 40#export_texte {
41 width: 25em; 41 width: 25em;
42 height: 20em; 42 height: 20em;
43 display:none;
44 max-width: 100% 43 max-width: 100%
45} 44}
45#export {
46 display: none;
47}
46 48
47#courbe_warnings { 49#courbe_warnings {
48 display: none; 50 display: none;
@@ -125,3 +127,8 @@ nav {
125.data { 127.data {
126 width:7em 128 width:7em
127} 129}
130
131/* Page changelog */
132#suite_changelog {
133 display: none;
134}