From 64522914db52c1c2ab0792952bada8935226b5f3 Mon Sep 17 00:00:00 2001 From: Eloi Perdereau <eloi@perdereau.eu> Date: Tue, 17 Nov 2020 20:18:20 +0100 Subject: [PATCH] formulaire de contact + bump helloasso --- _includes/collapse.html | 1 + _includes/contact-form.html | 19 +++++++++++-------- _pages/l-asso/adherer.md | 2 +- _pages/l-asso/contacts.md | 14 +++++++++++++- 4 files changed, 26 insertions(+), 10 deletions(-) diff --git a/_includes/collapse.html b/_includes/collapse.html index 43e9fe5..518ac6a 100644 --- a/_includes/collapse.html +++ b/_includes/collapse.html @@ -1,3 +1,4 @@ + <!-- Start Collapse.html --> <script> var coll = document.getElementsByClassName("collapsible"); diff --git a/_includes/contact-form.html b/_includes/contact-form.html index 2973652..1984f8d 100644 --- a/_includes/contact-form.html +++ b/_includes/contact-form.html @@ -1,20 +1,23 @@ <form name="contact" method="POST" data-netlify="true"> <p> - <label>Your Name: <input type="text" name="name" /></label> + <label>Nom: <input type="text" name="surname" /></label> </p> <p> - <label>Your Email: <input type="email" name="email" /></label> + <label>Prénom: <input type="text" name="name" /></label> </p> <p> - <label>sujet: <select name="subject[]" multiple> - <option value="leader">adhésion</option> - <option value="follower">infos</option> - </select></label> + <label>Email: <input type="email" name="email" /></label> </p> <p> - <label>Message: <textarea name="message"></textarea></label> + <label>Téléphone: <input type="text" name="phone" /></label> </p> <p> - <button type="submit">Send</button> + <label>Profil facebook: <input type="text" name="facebook" /></label> + </p> + <p> + <label>Commentaire: <input type="text" name="comment"></label> + </p> + <p> + <button type="submit">Envoyer</button> </p> </form> diff --git a/_pages/l-asso/adherer.md b/_pages/l-asso/adherer.md index a8ae4f9..0f26721 100644 --- a/_pages/l-asso/adherer.md +++ b/_pages/l-asso/adherer.md @@ -25,6 +25,6 @@ officiellement, doivent être adhérent (i.e. membre) à l'association du Centre Culturel de Luminy. {: .notice} -<iframe id="haWidget" allowtransparency="true" scrolling="auto" src="https://www.helloasso.com/associations/centre-culturel-de-luminy/adhesions/adhesions-centre-culturel-de-luminy-ccl-2/widget" style="width:100%;height:750px;border:none;" onload="window.scroll(0, this.offsetTop)"></iframe> +<iframe id="haWidget" allowtransparency="true" scrolling="auto" src="https://www.helloasso.com/associations/centre-culturel-de-luminy/adhesions/adhesions-2019-2020-ccl-centre-culturel-de-luminy-2/widget" style="width:100%;height:750px;border:none;" onload="window.scroll(0, this.offsetTop)"></iframe><div style="width:100%;text-align:center;">Propulsé par <a href="https://www.helloasso.com" rel="nofollow">HelloAsso</a></div> {% include_relative devenir-benevole.md %} diff --git a/_pages/l-asso/contacts.md b/_pages/l-asso/contacts.md index 9f30cb1..0babb30 100644 --- a/_pages/l-asso/contacts.md +++ b/_pages/l-asso/contacts.md @@ -5,6 +5,7 @@ section: ccl toc: true share: false --- + # Prendre contact avec nous {% assign urls = site.data.extlinks %} @@ -25,6 +26,18 @@ share: false - [webmasters@luminy.org](mailto:webmasters@luminy.org) - [<i class="fab fa-facebook-square"></i> CCLuminy]({{ urls.fb-ccl }}){: .btn .btn--inverse} +### Donne-nous des infos sur toi si tu veux reçevoir nos infos + +Seul le mail est obligatoire + +<button class="collapsible" id="formulaire-contact">Formulaire</button> +<div class="content" id="formulaire-contactdata" markdown="1" +style="display: none"> +{% include contact-form.html %} +</div> + +{%- include collapse.html -%} + ### Pour un projet en particulier - Festival Toukouleur : [toukouleur@luminy.org](mailto:toukouleur@luminy.org) - Club de Science [<i class="fab fa-facebook-square"></i> Club de Science Luminy]({{ urls.fb-club-sciences }}){: .btn .btn--inverse} @@ -88,4 +101,3 @@ Association loi 1901 à but non lucratif [Statuts](/ccl/statuts/){: .btn ## Fonctionnement `luminy.org` Voir [<i class="fab fa-github" aria-hidden="true"></i> Github]({{ urls.github-ccl }}/blob/master/README.md#fonctionnement-du-site-pour-les-plus-motivés){: .btn .btn--inverse} -{% include contact-form.html %} -- GitLab