feat: integrate saoforms
This commit is contained in:
parent
4da915f645
commit
a83d4561a4
2 changed files with 30 additions and 44 deletions
27
contact.html
27
contact.html
|
@ -322,20 +322,21 @@
|
|||
<div class="content">
|
||||
|
||||
<div class="clearfix text-formatted field field--name-body field--type-text-with-summary field--label-hidden field__item"><p>Du kannst uns allgemeine Nachrichten über das Kontaktformular schreiben.</p>
|
||||
<button id="zammad-feedback-form">Kontaktformular</button>
|
||||
|
||||
<script id="zammad_form_script" src="https://support.senselab.org/assets/form/form.js"></script>
|
||||
|
||||
<script>
|
||||
$(function() {
|
||||
$('#zammad-feedback-form').ZammadForm({
|
||||
messageTitle: 'Kontakt',
|
||||
messageSubmit: 'Übermitteln',
|
||||
messageThankYou: 'Wir haben deine Anfrage erhalten.',
|
||||
modal: true,
|
||||
});
|
||||
});
|
||||
</script>
|
||||
<div style="max-width: 500px">
|
||||
<style>
|
||||
.form-group :is(input:not([type="checkbox"]), textarea) { width: 100% }
|
||||
.form-group.has-errors :is(label, .form-error) { color: crimson }
|
||||
</style>
|
||||
<script async>
|
||||
((node) => {
|
||||
import('/forms/contact.js').then(({register}) => register(node))
|
||||
})(document.currentScript)
|
||||
</script>
|
||||
<noscript>
|
||||
<p>Du musst JavaScript aktivieren, um das Kontaktformular zu verwenden.</p>
|
||||
</noscript>
|
||||
</div>
|
||||
|
||||
<p> </p>
|
||||
<p>Alternativ kannst Du auch eine Mail an <em>info [at] systemausfall.org</em> schicken. Benutze dazu auch gern unseren <a href="contact/schluessel.html">GPG-Schlüssel</a>.</p>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue