intia-theme 0.1.33 → 0.1.34
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_includes/contact.html +15 -2
- data/_includes/head-scripts.html +1 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7d8b0195d80fb69a9a2177a7769f02349333680f98daa8f8c504089157b5f6ca
|
4
|
+
data.tar.gz: 72c76f141f9836ee8d9e59c9d31d827b08eb9a501a602d7f85cc65c2901f6dbf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b6625d581bc2505c47b9dd3dbfdaf61c91d6d3d1b8ecf4e1257c10d7b6d2d4c5d02c0398ab5b153822a7660f7e237688a8fdf73a2147eeaeb7e631c9734fd8a4
|
7
|
+
data.tar.gz: da66ba79347f070acd22926429bd0528cb9997c2b6ac62fe77d60ec60aa0d1730d9f4b7ce82c1953ee3e66faec8ee18f42d67f507fe610b4a5d18dde10378c30
|
data/_includes/contact.html
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
<div class="container contact">
|
3
3
|
<h1>{{ site.data.contact.title }}</h1>
|
4
4
|
{{ site.data.contact.introduction }}
|
5
|
-
<form action="{{ site.data.contact.action }}" class="columns">
|
5
|
+
<form id="form" action="{{ site.data.contact.action }}" data-botpoison-public-key="{{ site.data.contact.botpoison_key }}" class="columns">
|
6
6
|
<div class="column is-6">
|
7
7
|
<div class="field">
|
8
8
|
<label class="label">Vor- und Nachname</label>
|
@@ -53,10 +53,23 @@
|
|
53
53
|
|
54
54
|
<div class="column contact-agree">
|
55
55
|
<label for="agree">{{ site.data.contact.checkbox }}</label><br><br>
|
56
|
-
<button class="button is-rounded is-dark" type="submit">Abschicken</button>
|
56
|
+
<button id="button" class="button is-rounded is-dark" type="submit">Abschicken</button>
|
57
57
|
</div>
|
58
58
|
</div>
|
59
59
|
</div>
|
60
60
|
</form>
|
61
|
+
<script>
|
62
|
+
var formElement = document.getElementById("form");
|
63
|
+
var buttonElement = document.getElementById("button");
|
64
|
+
formElement.addEventListener("botpoison-challenge-start", function () {
|
65
|
+
buttonElement.setAttribute("disabled", "disabled");
|
66
|
+
});
|
67
|
+
formElement.addEventListener("botpoison-challenge-success", function () {
|
68
|
+
buttonElement.removeAttribute("disabled");
|
69
|
+
});
|
70
|
+
formElement.addEventListener("botpoison-challenge-error", function () {
|
71
|
+
buttonElement.removeAttribute("disabled");
|
72
|
+
});
|
73
|
+
</script>
|
61
74
|
</div>
|
62
75
|
{% endif %}
|
data/_includes/head-scripts.html
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: intia-theme
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.34
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Marc Schmidt
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-12-
|
11
|
+
date: 2021-12-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|