Add support contact form

This commit is contained in:
phil 2023-09-30 09:53:16 +02:00
parent 346d1cb29d
commit 583a4e633d
2 changed files with 19 additions and 47 deletions

View file

@ -75,7 +75,7 @@
<link rel="stylesheet" media="all" href="themes/contrib/bootstrap_mint/css/mediae628.css?s1awq6" /> <link rel="stylesheet" media="all" href="themes/contrib/bootstrap_mint/css/mediae628.css?s1awq6" />
<link rel="stylesheet" media="all" href="themes/contrib/bootstrap_mint/css/maintenance-pagee628.css?s1awq6" /> <link rel="stylesheet" media="all" href="themes/contrib/bootstrap_mint/css/maintenance-pagee628.css?s1awq6" />
<link rel="stylesheet" media="all" href="themes/contrib/gin/dist/css/components/ajaxe628.css?s1awq6" /> <link rel="stylesheet" media="all" href="themes/contrib/gin/dist/css/components/ajaxe628.css?s1awq6" />
<script src="core/assets/jquery-3.7.1.min.js"></script>
</head> </head>
<body class="not-front path-contact context-contact no-sidebars anonymous"> <body class="not-front path-contact context-contact no-sidebars anonymous">
@ -322,59 +322,29 @@
<div class="content"> <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> <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>
<p>&nbsp;</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> <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>
<p>Wenn du ein <strong>neues Konto oder einen Dienst </strong>erfragen möchtest, lies vorher bitte <a href="node/4.html">diese Seite</a> durch und benutze das <a href="accounts_und_dienste.html">Formular zur Einrichtung von neuen Accounts/Diensten</a>.</p> <p>Wenn du ein <strong>neues Konto oder einen Dienst </strong>erfragen möchtest, lies vorher bitte <a href="node/4.html">diese Seite</a> durch.</p>
</div> </div>
</div> </div>
</div> </div>
<div id="block-bootstrap-mint-content" class="block block-system block-system-main-block">
<div class="content">
<form class="contact-message-allgemeine-anfragen-form contact-message-form contact-form antibot" data-user-info-from-browser data-drupal-selector="contact-message-allgemeine-anfragen-form" data-action="/contact" action="https://systemausfall.org/antibot" method="post" id="contact-message-allgemeine-anfragen-form" accept-charset="UTF-8">
<noscript>
<div class="antibot-no-js antibot-message antibot-message-warning">You must have JavaScript enabled to use this form.</div>
</noscript>
<div class="js-form-item form-item js-form-type-textfield form-type-textfield js-form-item-name form-item-name">
<label for="edit-name" class="js-form-required form-required">Your name</label>
<input data-drupal-selector="edit-name" type="text" id="edit-name" name="name" value="" size="60" maxlength="255" class="form-text required" required="required" aria-required="true" />
</div>
<div class="js-form-item form-item js-form-type-email form-type-email js-form-item-mail form-item-mail">
<label for="edit-mail" class="js-form-required form-required">Your email address</label>
<input data-drupal-selector="edit-mail" type="email" id="edit-mail" name="mail" value="" size="60" maxlength="254" class="form-email required" required="required" aria-required="true" />
</div>
<div class="field--type-string field--name-subject field--widget-string-textfield js-form-wrapper form-wrapper" data-drupal-selector="edit-subject-wrapper" id="edit-subject-wrapper"> <div class="js-form-item form-item js-form-type-textfield form-type-textfield js-form-item-subject-0-value form-item-subject-0-value">
<label for="edit-subject-0-value" class="js-form-required form-required">Subject</label>
<input class="js-text-full text-full form-text required" data-drupal-selector="edit-subject-0-value" type="text" id="edit-subject-0-value" name="subject[0][value]" value="" size="60" maxlength="100" placeholder="" required="required" aria-required="true" />
</div>
</div>
<div class="field--type-string-long field--name-message field--widget-string-textarea js-form-wrapper form-wrapper" data-drupal-selector="edit-message-wrapper" id="edit-message-wrapper"> <div class="js-form-item form-item js-form-type-textarea form-type-textarea js-form-item-message-0-value form-item-message-0-value">
<label for="edit-message-0-value" class="js-form-required form-required">Message</label>
<div class="form-textarea-wrapper">
<textarea class="js-text-full text-full form-textarea required resize-vertical" data-drupal-selector="edit-message-0-value" id="edit-message-0-value" name="message[0][value]" rows="12" cols="60" placeholder="" required="required" aria-required="true"></textarea>
</div>
</div>
</div>
<input autocomplete="off" data-drupal-selector="form-lwquakpt8l5bxm-ajiv0wujn9qn7n1km-xufaeerxls" type="hidden" name="form_build_id" value="form-LwqUakpt8L5bxm_ajiv0wujN9qN7n1km_XUfAEERXLs" />
<input data-drupal-selector="edit-contact-message-allgemeine-anfragen-form" type="hidden" name="form_id" value="contact_message_allgemeine_anfragen_form" />
<input data-drupal-selector="edit-antibot-key" type="hidden" name="antibot_key" value="" />
<div data-drupal-selector="edit-actions" class="form-actions js-form-wrapper form-wrapper" id="edit-actions"><input data-drupal-selector="edit-submit" type="submit" id="edit-submit" name="op" value="Send message" class="button button--primary js-form-submit form-submit" />
<input data-drupal-selector="edit-preview" type="submit" id="edit-preview" name="op" value="Preview" class="button js-form-submit form-submit" />
</div>
</form>
</div>
</div>
</div> </div>

2
core/assets/jquery-3.7.1.min.js vendored Normal file

File diff suppressed because one or more lines are too long