This commit is contained in:
parent
14830116c2
commit
8cf4359066
59 changed files with 2176 additions and 347 deletions
|
@ -301,13 +301,44 @@ Creative Commons may be contacted at <a href="//creativecommons.org/">creativeco
|
|||
|
||||
<form method="post" action="https://notif.ilot.io/subscription/form" class="listmonk-form">
|
||||
|
||||
<input type="hidden" name="nonce" />
|
||||
<input id="9c490" type="hidden" name="l" value="9c490957-b50b-4162-898d-92259e350cd6" />
|
||||
<div class="t">
|
||||
<input aria-label="Email" class="btn" type="email" name="email" required placeholder="E-mail" />
|
||||
</div>
|
||||
<button aria-label="Subscribe" class="btn" type="submit">Subscribe</button>
|
||||
<!-- Converts enter key to tab -->
|
||||
<script>
|
||||
document.addEventListener('keydown', function (event) {
|
||||
if (event.keyCode === 13 && event.target.nodeName === 'INPUT') {
|
||||
var form = event.target.form;
|
||||
var index = Array.prototype.indexOf.call(form, event.target);
|
||||
form.elements[index + 1].focus();
|
||||
event.preventDefault();
|
||||
}
|
||||
});
|
||||
</script>
|
||||
|
||||
<input type="hidden" name="nonce" />
|
||||
<input id="9c490" type="hidden" name="l" value="9c490957-b50b-4162-898d-92259e350cd6" />
|
||||
<div class="t">
|
||||
<input aria-label="Email" class="btn" type="email" name="email" required placeholder="E-mail" />
|
||||
</div>
|
||||
<button aria-label="Subscribe" class="btn" type="button" data-bs-toggle="modal" data-bs-target="#hcaptchamodal">Subscribe</button>
|
||||
<div class="modal fade" id="hcaptchamodal" tabindex="-1" aria-labelledby="haptcha" aria-hidden="true">
|
||||
<div class="modal-dialog">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<h5 class="modal-title" id="hcapatchamodallabel">Are you a robot?</h5>
|
||||
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<div class="h-captcha" data-sitekey="be08a59e-ae24-472e-8a80-22d07016ee90" data-callback="submitSubscribe"></div>
|
||||
<script src="https://js.hcaptcha.com/1/api.js" async defer></script>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Close</button>
|
||||
<button aria-label="Subscribe" class="btn" type="submit">Subscribe</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue