jekyll-theme-glueckkanja 1.2.2 → 1.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/_includes/footer.html +3 -14
- data/_includes/scripts.html +1 -1
- data/assets/js/guk.js +17 -22
- 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: 6b0d8967913f5dba2b1b85c4731232c565b342716683fccd8fa9cb52f9f0fe55
|
4
|
+
data.tar.gz: 113c284fba796999379bb9b16001315bb6ccc5a8fe240547abe5f5d7f799b204
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0f1ced044eefccac72ebaca81df265a8d5280497191df0d1259cf601b06cbd6aaaf54c018559bfb5b778804a7e1c71eaec355010f1cb35f12f4ee370ecb2031b
|
7
|
+
data.tar.gz: 5d0165e03643645da814e593d6090102d082fea2283f693b99b2abca1be4d238bfd219338052ec2902c357a6ed77f38468fbabf6c69b0a3b49741bb7790fcfd9
|
data/_includes/footer.html
CHANGED
@@ -2,24 +2,13 @@
|
|
2
2
|
|
3
3
|
<footer>
|
4
4
|
<div class="container">
|
5
|
-
{% if page.lang == "en" %}
|
6
5
|
<div class="col-md-10">
|
7
|
-
<p class="copyright"><strong>Copyright © {{ site.time | date: "%Y" }}</strong> {{ site.author }}.
|
8
|
-
reserved. <a href="/
|
9
|
-
</div>
|
6
|
+
<p class="copyright"><strong>Copyright © {{ site.time | date: "%Y" }}</strong> {{ site.author }}.
|
7
|
+
All rights reserved. <a href="/assets/misc/privacy-policy/">Privacy Policy</a> | <a href="/assets/misc/imprint/">Imprint</a> </div>
|
10
8
|
<div class="col-md-2">
|
11
9
|
<p class="text-primary"><a href="https://glueckkanja.com"><strong>glueckkanja.com</strong></a></p>
|
12
10
|
</div>
|
13
|
-
{% else %}
|
14
|
-
<div class="col-md-10">
|
15
|
-
<p class="copyright"><strong>Copyright © {{ site.time | date: "%Y" }}</strong> {{ site.author }}. All rights
|
16
|
-
reserved. <a href="/de/unternehmen/datenschutz">Datenschutz</a> | <a href="/de/unternehmen/impressum">Impressum</a>
|
17
|
-
</div>
|
18
|
-
<div class="col-md-2">
|
19
|
-
<p class="text-primary"><a href="https://glueckkanja.com"><strong>glueckkanja.com</strong></a></p>
|
20
|
-
</div>
|
21
|
-
{% endif %}
|
22
11
|
</div>
|
23
12
|
</footer>
|
24
13
|
|
25
|
-
<!-- Footer End -->
|
14
|
+
<!-- Footer End -->
|
data/_includes/scripts.html
CHANGED
@@ -11,7 +11,7 @@
|
|
11
11
|
|
12
12
|
<!-- jQuery -->
|
13
13
|
<!--script type="text/javascript" charset="UTF-8" src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script-->
|
14
|
-
<script src="https://code.jquery.com/jquery-3.4.1.
|
14
|
+
<script src="https://code.jquery.com/jquery-3.4.1.min.js" integrity="sha256-pasqAKBDmFT4eHoN2ndd6lN370kFiGUFyTiUHWhU7k8=" crossorigin="anonymous"></script>
|
15
15
|
|
16
16
|
<!-- Bootstrap Core JavaScript -->
|
17
17
|
<script src="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js" integrity="sha384-aJ21OjlMXNL5UyIl/XNwTMqvzeRMZH2w8c5cRVpzpU8Y5bApTppSuUkhZXN0VxHd" crossorigin="anonymous"></script>
|
data/assets/js/guk.js
CHANGED
@@ -1,18 +1,27 @@
|
|
1
1
|
|
2
2
|
function sendTheMail(formtype) {
|
3
3
|
InputName = $('#name').val();
|
4
|
-
InputEmail = $('#email').val();
|
5
4
|
InputCompany = $('#company').val();
|
6
5
|
InputMessage = $('#message').val();
|
6
|
+
InputPhone = $('#phone').val();
|
7
|
+
InputUsers = $('#users').val();
|
8
|
+
if (formtype != 'glueckkanja-subscribe') {
|
9
|
+
InputEmail = $('#email').val();
|
10
|
+
} else {
|
11
|
+
InputEmail = $('#subscriberemail').val();
|
12
|
+
}
|
7
13
|
|
8
14
|
if (validateEmail(InputEmail)) {
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
15
|
+
try {
|
16
|
+
FS.identify($('#email').val(), {
|
17
|
+
displayName: $('#name').val() + ' (' + $('#company').val() + ')',
|
18
|
+
email: $('#email').val()
|
19
|
+
});
|
20
|
+
} catch(error) {}
|
13
21
|
|
14
22
|
var req = { "inputcompany": InputCompany, "inputname": InputName,
|
15
|
-
"inputemail": InputEmail, "
|
23
|
+
"inputemail": InputEmail, "inputphone": InputPhone, "inputusers": InputUsers,
|
24
|
+
"inputmessage": InputMessage, "formtype": formtype };
|
16
25
|
|
17
26
|
$.ajax({
|
18
27
|
type: "POST",
|
@@ -26,13 +35,7 @@ function sendTheMail(formtype) {
|
|
26
35
|
}
|
27
36
|
});
|
28
37
|
switch(formtype) {
|
29
|
-
case "
|
30
|
-
$("#downloadtrial").replaceWith( "<p class='btn btn-primary btn-sm disabled'>Thanks. You'll receive an email within the next minutes.</p>" );
|
31
|
-
break;
|
32
|
-
case "partner":
|
33
|
-
$("#downloadtrial").replaceWith( "<p class='btn btn-primary btn-sm disabled'>Thanks. You'll receive an email within the next minutes.</p>" );
|
34
|
-
break;
|
35
|
-
case "subscribe":
|
38
|
+
case "glueckkanja-subscribe":
|
36
39
|
$("#subscribebtn").replaceWith( "<p class='btn btn-primary btn-sm disabled'>Thanks!</p>" );
|
37
40
|
}
|
38
41
|
}
|
@@ -41,16 +44,8 @@ function sendTheMail(formtype) {
|
|
41
44
|
}
|
42
45
|
}
|
43
46
|
|
44
|
-
function regform() {
|
45
|
-
sendTheMail('trial');
|
46
|
-
}
|
47
|
-
|
48
|
-
function partnerform() {
|
49
|
-
sendTheMail('partner');
|
50
|
-
}
|
51
|
-
|
52
47
|
function subscribeform() {
|
53
|
-
sendTheMail('subscribe');
|
48
|
+
sendTheMail('glueckkanja-subscribe');
|
54
49
|
}
|
55
50
|
|
56
51
|
function validateEmail(email) {
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-theme-glueckkanja
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- "@glueckkanja"
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-10-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|