Kontakt-Popup wird zum Testzugang-Formular, nur noch ein Knopf
Im Kontakt-Abschnitt steht nur noch "Testzugang anfragen" und oeffnet das Popup. Darin liegt jetzt das Testzugang-Formular ohne die Frage nach dem Thema, also Name, Behoerde, Funktion, Telefon, dienstliche E-Mail und Nutzerzahl. Die Freemail-Sperre und die Erkennung von Behoerdendomains greifen dort genauso wie auf der Seite. Wer zuerst eine Frage hat, findet unter dem Knopf einen direkten Mail-Hinweis. Das alte submitContact in app.js entfaellt, beide Formulare laufen ueber js/trial-form.js. Die gemeinsamen Formular-Styles liegen jetzt in css/style.css statt doppelt in den Seiten.
Dieser Commit ist enthalten in:
@@ -650,11 +650,11 @@
|
||||
<section class="section section-base" id="contact">
|
||||
<div class="container cta-container">
|
||||
<h2 class="section-title">Interested in AegisSight Monitor?</h2>
|
||||
<p class="cta-text">Test the Monitor for one week with your own topic, or talk to us about your use case first.</p>
|
||||
<p class="cta-text">Test the Monitor for one week with your own topic, free of charge and without obligation.</p>
|
||||
<div class="cta-buttons">
|
||||
<a class="btn btn-primary btn-lg" href="/en/trial-access/">Request trial access</a>
|
||||
<button class="btn btn-outline btn-lg" onclick="openContactModal()">Get in touch</button>
|
||||
<button class="btn btn-primary btn-lg" onclick="openContactModal()">Request trial access</button>
|
||||
</div>
|
||||
<p class="contact-alt">Have a question first. Write to us at <a href="mailto:info@aegis-sight.de">info@aegis-sight.de</a>.</p>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
@@ -768,38 +768,75 @@
|
||||
<div class="modal-overlay" id="contact-modal" style="display:none">
|
||||
<div class="modal-content">
|
||||
<button class="modal-close" onclick="closeContactModal()" aria-label="Close">×</button>
|
||||
<h2>Get in touch</h2>
|
||||
<p class="modal-sub">Talk to us about your use case.</p>
|
||||
<form id="contact-form" onsubmit="return submitContact(event)">
|
||||
<h2>Request trial access</h2>
|
||||
<p class="modal-sub">Test the Monitor for one week with the full feature set, free of charge and without obligation. We need your work email address for the request.</p>
|
||||
|
||||
<div class="tf-error" id="tf-error" role="alert"></div>
|
||||
|
||||
<form id="trial-form" novalidate>
|
||||
<div class="form-row">
|
||||
<div class="form-group">
|
||||
<label for="cf-name">Name</label>
|
||||
<input type="text" id="cf-name" name="name" required>
|
||||
<label for="tf-name">Name</label>
|
||||
<input type="text" id="tf-name" name="name" autocomplete="name" required>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="cf-org">Organisation</label>
|
||||
<input type="text" id="cf-org" name="organisation">
|
||||
<label for="tf-org">Authority or organisation</label>
|
||||
<input type="text" id="tf-org" name="organisation" autocomplete="organization" required>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-row">
|
||||
<div class="form-group">
|
||||
<label for="tf-role">Role or department</label>
|
||||
<input type="text" id="tf-role" name="role" autocomplete="organization-title" required>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="tf-phone">Phone <span class="tf-hint">optional</span></label>
|
||||
<input type="tel" id="tf-phone" name="phone" autocomplete="tel">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="cf-email">Email</label>
|
||||
<input type="email" id="cf-email" name="email" required>
|
||||
<label for="tf-email">Work email address</label>
|
||||
<input type="email" id="tf-email" name="email" autocomplete="email" required aria-describedby="tf-email-note">
|
||||
<span class="tf-note" id="tf-email-note"></span>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="cf-message">Message</label>
|
||||
<textarea id="cf-message" name="message" rows="4" required></textarea>
|
||||
<label for="tf-users">Planned number of users <span class="tf-hint">optional</span></label>
|
||||
<select id="tf-users" name="users">
|
||||
<option value="">Please select</option>
|
||||
<option value="1 person">1 person</option>
|
||||
<option value="2 to 5 people">2 to 5 people</option>
|
||||
<option value="6 to 20 people">6 to 20 people</option>
|
||||
<option value="more than 20 people">more than 20 people</option>
|
||||
</select>
|
||||
</div>
|
||||
<button type="submit" class="btn btn-primary btn-block">Send message</button>
|
||||
|
||||
<div class="tf-hp" aria-hidden="true">
|
||||
<label for="tf-website">Website</label>
|
||||
<input type="text" id="tf-website" name="website" tabindex="-1" autocomplete="off">
|
||||
</div>
|
||||
|
||||
<div class="tf-consent">
|
||||
<input type="checkbox" id="tf-consent" name="consent" required>
|
||||
<label for="tf-consent">I agree that my details may be stored and processed in order to handle this request. Further information is available in the <a href="/en/privacy.html">privacy policy</a>.</label>
|
||||
</div>
|
||||
|
||||
<button type="submit" class="btn btn-primary btn-block">Request trial access</button>
|
||||
</form>
|
||||
<div class="form-success" id="form-success" style="display:none">
|
||||
<p>Thank you for your message. We will get back to you shortly.</p>
|
||||
|
||||
<div class="tf-success" id="tf-success">
|
||||
<h3>Thank you for your request</h3>
|
||||
<p>We have received your details and will normally get back to you within two working days.</p>
|
||||
<p>If you have any questions in the meantime, you can reach us at <a href="mailto:info@aegis-sight.de">info@aegis-sight.de</a>.</p>
|
||||
</div>
|
||||
|
||||
<p class="tf-privacy">All details about the trial are on the <a href="/en/trial-access/">trial access page</a>.</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script src="/assets/vendor/leaflet/leaflet.js"></script>
|
||||
<script src="/assets/vendor/leaflet/leaflet.markercluster.js"></script>
|
||||
<script src="/js/app.js"></script>
|
||||
<script src="/js/trial-form.js"></script>
|
||||
<script src="/cookie-consent.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
In neuem Issue referenzieren
Einen Benutzer sperren