From 93ba28a72f0df1e113ad12736839b8c6e12de7ae Mon Sep 17 00:00:00 2001 From: Sandrine Caruso Date: Fri, 19 Jun 2020 16:19:28 +0200 Subject: [PATCH] Bouton importer fichier avec jolie image et import tout de suite --- static/icons/import.png | Bin 0 -> 19119 bytes static/requetes.js | 4 ++++ static/style.css | 32 +++++++++++++++++++++++++++++++- templates/index.html | 16 +++++++++------- 4 files changed, 44 insertions(+), 8 deletions(-) create mode 100644 static/icons/import.png diff --git a/static/icons/import.png b/static/icons/import.png new file mode 100644 index 0000000000000000000000000000000000000000..e184925afa83ebe7a7c6aade461da43bceefd7f9 GIT binary patch literal 19119 zcmV)@K!LxBP)+GF>mI>}Ue92R?>{gvY9d@W*&%SRJ2sz)!ojR$ zWEW?kvY`weU2V8^>(&qQPX4#=)2F^)H}RJ4CW>kbu;W|;R&HC2(E)Gc{m{Q+)Xrxy z>Fg_*UGygAmc4~J#c#r<=nYKIe+`o}Uc#8;&tc@=r|?PA6Bx091PS~TUi0`pUUL0C z-d*`ueCGZ-rU!lrhnP9=+~$I~!=c!BCJAQ?PNKN_DjM7B71_Q||GrlQxR*Dk=SB~9 zrEh}$*6H{(;CXx$`y|GtzKEH*Z^EwTJ=oR0hxwKNfNkkpm`eiK6#gBvuD*d;1qAi- ztC*hm3Z`6o8B=mz!j$ZnFe&Q=Ow4*7<1?PaII(lj;_Fj?!^k5~;^WFk;1v7`ygkWEWkymw)n*u013I4CI;G^WXM$?UR~b zM;@DBS9{LVc>|rRT{|l$3(+ZoNT~8fbdNK<+Gk){!$+{KCfJp)!KVB*%r1Qmvr688 z&GpwXv+#8i;C0M25MbJ+S1>i_WlUD!zlaGLFJSz6J@8}BJfpz>`oz=t@;H^`n=!;jZADZz@PBm&fnuj-(SOhlY{yj2fKfFat{W(ra3FV zmjo~eSU$9+8)5#uB|>V?Wo2g}=hDU7yrLJ~sJT&!?4A=i*1jD{jR6R&T>k`UuT}Ab+QgtlV<)dC#fey6c26}kb4O$O6`E$+9 zQsj1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MwfZ*Wr&BHN#RBfBHw=Fwqs}wH za{ETcHC1l#iUQ{*-ioO(uBNbe3=YzCyn%3Nv$O9%B5{RDQp7;&-oZr>H1<*>K(gXY zhvG`3ynx!`#^u$e0XC83}is?N~wkebazvnbpf!9r|_0`tV@T8*;navn3v}MY`DLz;XB3>{&ZFF z&JU#QL6T$B^x6drAvq@IISR1r@JHjm4Vhb*93dxmH`d(Q1DL0bwCt=2c%$&@*+buX zHXRyZx%U2BYTOkKv-#s)n!=eep>4dR9UTGJa#^^Ei}bI-e_U76O;t%xD}}(44Sc=1 zjqGLM(xwi}uHIP9AHJ+tkqQQ+Cgg@YxFB*OcLlso2n8+F%ZF}lqQ7*u_z4ZMO*=ND z`}N(%3vPmL(xl5%WoPEQO$}8Ce#KAQd=wIkJ~c@m%$9dD42Zg6v_Wj;plLz~M?N@x z$U&;0qRTC53lB7YuqNLxUYN9Tm6zRr50MH+%c;r|(zEKoEebB;ePKb)BCc2g0T4w8| zxU}>LvsI9ARvkudtYiZP+wsGWN(#}RXPC2?Cc|op+F7mQLQ3i2hC7&4 znlzWhird)tBS~Jx;j2UJg)fp%liZ`7eWD%1LPE%)(Nd0K;a4MrE?kV(#^4=K5InSx zg`9KIM#RO%83hG|g_5s?lOu!3p#fy0fUpofZ9{FZ(91yq z_5!&+Kd4v&xA+JCU+BNYIwy26YSB1;Y4;(8J8iz`v9dv=}-?{!^r z>yzB)4f1iqUThV@#qcdofW`M?g}wcreO^ETzZ-`a=;K}85s2f4e4L>-ug4X4Vuw^i qmKu!t^1)|`%8`Fm{+H>$){&N?nt?BBj7(=qU{V-oyi+xrbp1aJ^ItCj literal 0 HcmV?d00001 diff --git a/static/requetes.js b/static/requetes.js index b7e719a..4442470 100644 --- a/static/requetes.js +++ b/static/requetes.js @@ -103,3 +103,7 @@ function download_file(filename,mimetype,data) { document.body.removeChild(element); } + +function upload_file(data) { + document.getElementById('form_import_donnees').submit(); +} \ No newline at end of file diff --git a/static/style.css b/static/style.css index 97f20d9..e2d42ff 100644 --- a/static/style.css +++ b/static/style.css @@ -42,10 +42,40 @@ input[type="text"] { display: none; } -#import_donnees, #pref_graphique{ +#pref_graphique { display: none; } +#import_donnees label { + height: 128px; + display: inline-block; + cursor: pointer; + position: relative; +} + +#import_donnees label img { + border-radius: 100%; + box-shadow: 0px 0px 10px #55f; +} + +#import_donnees label .icon_legend { + position: absolute; + top: 50%; + left: 50%; + transform: translate(-50%,-50%); + width: 90%; + text-align: center; + opacity: 0.7; + line-height: 1.5; + background: rgba(256,256,256,0.5); +} + +#import_donnees input { + opacity: 0; + position: absolute; + z-index: -1; +} + .bouton { text-decoration: underline; } diff --git a/templates/index.html b/templates/index.html index 3404f22..3ca5eac 100644 --- a/templates/index.html +++ b/templates/index.html @@ -6,19 +6,21 @@

Données de l'enfant

-

Importer un fichier

-
Afficher
+
-
+ - - - + + +
-
-- 2.41.0