From: Benjamin Auder Date: Thu, 20 Feb 2020 17:21:47 +0000 (+0100) Subject: Modal to accept/refuse challenge + diagrams preview when creating challenge X-Git-Url: https://git.auder.net/%7B%7B%20path%28%27mixstore_store_package_delete%27%2C%20%7B%20id:%20pkg.id%20%7D%29%20%7D%7D?a=commitdiff_plain;h=725da57f8e2983d744629b524f9084516a43cbac;p=vchess.git Modal to accept/refuse challenge + diagrams preview when creating challenge --- diff --git a/client/src/components/ContactForm.vue b/client/src/components/ContactForm.vue index 9046e0a7..cadbf73d 100644 --- a/client/src/components/ContactForm.vue +++ b/client/src/components/ContactForm.vue @@ -10,15 +10,14 @@ div ) .card label.modal-close(for="modalContact") - form(@submit.prevent="trySendMessage()" @keyup.enter="trySendMessage()") - fieldset - label(for="userEmail") {{ st.tr["Email"] }} - input#userEmail(type="email") - fieldset - label(for="mailSubject") {{ st.tr["Subject"] }} - input#mailSubject(type="text") - fieldset - textarea#mailContent(:placeholder="st.tr['Your message']") + fieldset + label(for="userEmail") {{ st.tr["Email"] }} + input#userEmail(type="email") + fieldset + label(for="mailSubject") {{ st.tr["Subject"] }} + input#mailSubject(type="text") + fieldset + textarea#mailContent(:placeholder="st.tr['Your message']") button(@click="trySendMessage()") {{ st.tr["Send"] }} #dialog.text-center {{ st.tr[infoMsg] }} diff --git a/client/src/components/Language.vue b/client/src/components/Language.vue index 633f89dd..f49a592e 100644 --- a/client/src/components/Language.vue +++ b/client/src/components/Language.vue @@ -13,13 +13,12 @@ div ) .card label.modal-close(for="modalLang") - form(@change="setLanguage($event)") - fieldset - label(for="langSelect") {{ st.tr["Language"] }} - select#langSelect - each language,langCode in langName - option(value=langCode) - =language + fieldset(@change="setLanguage($event)") + label(for="langSelect") {{ st.tr["Language"] }} + select#langSelect + each language,langCode in langName + option(value=langCode) + =language