This commit is contained in:
parent
5cc4a3b03d
commit
61c21ba97f
60 changed files with 777 additions and 93 deletions
|
@ -223,6 +223,18 @@ ikiwiki will include your shortcut in the standard underlay.</p>
|
|||
|
||||
<form method="post" action="https://notif.ilot.io/subscription/form" class="listmonk-form">
|
||||
|
||||
<!-- 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">
|
||||
|
@ -233,7 +245,7 @@ ikiwiki will include your shortcut in the standard underlay.</p>
|
|||
<div class="modal-dialog">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<h5 class="modal-title" id="exampleModalLabel">Modal title</h5>
|
||||
<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">
|
||||
|
|
|
@ -224,6 +224,15 @@ futures versions d'ikiwiki incluront automatiquement ce raccourci.</p>
|
|||
|
||||
<form method="post" action="https://notif.ilot.io/subscription/form" class="listmonk-form">
|
||||
|
||||
|
||||
<!-- 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">
|
||||
|
@ -231,14 +240,14 @@ name="l" value="9c490957-b50b-4162-898d-92259e350cd6" />
|
|||
placeholder="Courriel" />
|
||||
</div>
|
||||
<button aria-label="Subscribe" class="btn" type="button"
|
||||
data-bs-toggle="modal" data-bs-target="#hcaptchamodal">Subscribe</button>
|
||||
data-bs-toggle="modal" data-bs-target="#hcaptchamodal">S'abonner</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="exampleModalLabel">Modal title</h5>
|
||||
<h5 class="modal-title" id="hcapatchamodallabel">Êtes-vous un robot?</h5>
|
||||
<button type="button" class="btn-close" data-bs-dismiss="modal"
|
||||
aria-label="Close"></button>
|
||||
aria-label="Fermer"></button>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<div class="h-captcha" data-sitekey="be08a59e-ae24-472e-8a80-22d07016ee90" data-callback="submitSubscribe"></div>
|
||||
|
@ -246,8 +255,8 @@ aria-label="Close"></button>
|
|||
</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>
|
||||
data-bs-dismiss="modal">Fermer</button> <button aria-label="Subscribe"
|
||||
class="btn" type="submit">S'abonner</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue