X-Git-Url: https://git.auder.net/doc/index.css?a=blobdiff_plain;f=client%2Fsrc%2Fcomponents%2FContactForm.vue;h=cadbf73d10e42370274312fce3e24827c5a76d6f;hb=f0c68a04e31bb6a4b2f8b94a532ef3ca2eebbe3e;hp=ed4729e3ee067c800311fc52f85078abcd1886b2;hpb=602d6befd30793111d3fda6e733f73e08d8b7a30;p=vchess.git
diff --git a/client/src/components/ContactForm.vue b/client/src/components/ContactForm.vue
index ed4729e3..cadbf73d 100644
--- a/client/src/components/ContactForm.vue
+++ b/client/src/components/ContactForm.vue
@@ -1,11 +1,15 @@
div
- input#modalContact.modal(type="checkbox")
- div(role="dialog" data-checkbox="modalContact"
- aria-labelledby="contactTitle")
- form.card.smallpad
+ input#modalContact.modal(
+ type="checkbox"
+ @change="trySetEnterTime($event)"
+ )
+ div(
+ role="dialog"
+ data-checkbox="modalContact"
+ )
+ .card
label.modal-close(for="modalContact")
- h3#contactTitle.section {{ st.tr["Contact form"] }}
fieldset
label(for="userEmail") {{ st.tr["Email"] }}
input#userEmail(type="email")
@@ -13,40 +17,50 @@ div
label(for="mailSubject") {{ st.tr["Subject"] }}
input#mailSubject(type="text")
fieldset
- label(for="mailContent") {{ st.tr["Content"] }}
- br
- textarea#mailContent
- fieldset
- button(type="button" @click="trySendMessage") Send
- p#emailSent {{ st.tr["Email sent!"] }}
+ textarea#mailContent(:placeholder="st.tr['Your message']")
+ button(@click="trySendMessage()") {{ st.tr["Send"] }}
+ #dialog.text-center {{ st.tr[infoMsg] }}