contactform #1

Merged
gzod01 merged 1 commit from GZod01 into temporar-branch-contactform 2023-05-29 07:14:43 +00:00
Member

Ajout du shortcode contact form,
fonctionnement:
Dans Markdown:

{{<contactform email=example@sample.mail >}}

Cela génèrera:

<form class="contact-form" method="get" action="mailto:example@sample.mail">
    <input name=subject id=subject placeholder="Votre Sujet"/>
    <textarea name=body id=body placeholder="Votre Message"/>
    </textarea>
    <button type=submit>Envoyer</button>
</form>

TODO:

  • créer la classe contact-form dans le css
Ajout du shortcode contact form, fonctionnement: **Dans Markdown:** ```markdown {{<contactform email=example@sample.mail >}} ``` **Cela génèrera:** ```html <form class="contact-form" method="get" action="mailto:example@sample.mail"> <input name=subject id=subject placeholder="Votre Sujet"/> <textarea name=body id=body placeholder="Votre Message"/> </textarea> <button type=submit>Envoyer</button> </form> ``` **TODO:** - [ ] créer la classe contact-form dans le css
gzod01 added 2 commits 2023-05-27 13:07:04 +00:00
Author
Member

un example de code css:

 .contact-form{
    position:relative;
    width:75%;
    left:50%;
    transform:translate(-50% , 0%);
    border:2px black solid;
    padding:2px;
    display:flex;
    flex-direction:column
  }
  .contact-form button{
    background-color:green;
    padding:5px;
    color:white;
    border-radius:2px;
  }
  .contact-form input {
    width:100%;
    border:black solid 1px;
    color:black;
    height:20px;
  }
  .contact-form textarea{
    resize:vertical;
  }

(voici un lien pour tester: https://host.gzod01.fr/GZod01/exemple_fonctionnement_contactform.html)

un example de code css: ```css .contact-form{ position:relative; width:75%; left:50%; transform:translate(-50% , 0%); border:2px black solid; padding:2px; display:flex; flex-direction:column } .contact-form button{ background-color:green; padding:5px; color:white; border-radius:2px; } .contact-form input { width:100%; border:black solid 1px; color:black; height:20px; } .contact-form textarea{ resize:vertical; } ``` (voici un lien pour tester: https://host.gzod01.fr/GZod01/exemple_fonctionnement_contactform.html)
gzod01 changed title from GZod01 to WIP: GZod01 2023-05-27 13:20:53 +00:00
gzod01 changed title from WIP: GZod01 to contactform 2023-05-27 13:21:35 +00:00
gzod01 added 1 commit 2023-05-27 13:23:17 +00:00
gzod01 added 1 commit 2023-05-27 13:23:49 +00:00
gzod01 added 1 commit 2023-05-27 13:24:42 +00:00
gzod01 added 1 commit 2023-05-27 13:29:30 +00:00
gzod01 added 1 commit 2023-05-27 13:42:33 +00:00
gzod01 closed this pull request 2023-05-29 07:11:38 +00:00
gzod01 reopened this pull request 2023-05-29 07:11:56 +00:00
gzod01 closed this pull request 2023-05-29 07:12:21 +00:00
gzod01 reopened this pull request 2023-05-29 07:12:59 +00:00
gzod01 changed target branch from master to temporar-branch-contactform 2023-05-29 07:13:29 +00:00
gzod01 added 1 commit 2023-05-29 07:14:28 +00:00
gzod01 merged commit fe8116dc09 into temporar-branch-contactform 2023-05-29 07:14:43 +00:00
Sign in to join this conversation.
No reviewers
No labels
abandoned
bug
done
todo
wip
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: etoiledebethleem/website#1
No description provided.