j1-template 2021.1.4 → 2021.1.5
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/themes/j1/modules/connectors/ad/google-adsense.html +7 -15
- data/_includes/themes/j1/modules/connectors/analytic/google-analytics.html +9 -5
- data/_includes/themes/j1/modules/navigator/generator.html +2 -2
- data/_layouts/default.html +4 -7
- data/assets/data/cookieconsent.html +249 -0
- data/assets/data/quicklinks.html +18 -16
- data/assets/themes/j1/adapter/js/{cookiebar.js → cookieConsent.js} +102 -54
- data/assets/themes/j1/adapter/js/j1.js +40 -15
- data/assets/themes/j1/core/css/themes/uno-light/bootstrap.css +2 -2
- data/assets/themes/j1/core/css/themes/uno-light/bootstrap.min.css +1 -1
- data/assets/themes/j1/core/js/template.js +3 -9
- data/assets/themes/j1/core/js/template.js.map +1 -1
- data/assets/themes/j1/core/js/template.min.js +3 -9
- data/assets/themes/j1/core/js/template.min.js.map +1 -1
- data/assets/themes/j1/modules/cookieConsent/LICENSE +21 -0
- data/assets/themes/j1/modules/cookieConsent/js/cookieConsent.js +286 -0
- data/assets/themes/j1/modules/cookieConsent/js/cookieConsent.min.js +28 -0
- data/assets/themes/j1/modules/iframeResizer/examples/frame.absolute.html +4 -2
- data/assets/themes/j1/modules/iframeResizer/examples/frame.content.html +4 -3
- data/assets/themes/j1/modules/iframeResizer/examples/frame.hover.html +4 -2
- data/assets/themes/j1/modules/iframeResizer/examples/frame.nested.html +4 -2
- data/assets/themes/j1/modules/iframeResizer/examples/frame.textarea.html +4 -2
- data/assets/themes/j1/modules/iframeResizer/examples/frame.tolerance.html +4 -2
- data/assets/themes/j1/modules/iframeResizer/examples/index.html +2 -0
- data/assets/themes/j1/modules/iframeResizer/examples/two.html +4 -2
- data/assets/themes/j1/modules/util/js/domready.js +146 -0
- data/assets/themes/j1/modules/util/js/gtag-opt-in.js +1 -0
- data/lib/j1/version.rb +3 -3
- data/lib/starter_web/Gemfile +1 -1
- data/lib/starter_web/_config.yml +2 -1
- data/lib/starter_web/_data/_defaults/resources.yml +11 -8
- data/lib/starter_web/_data/modules/{cookiebar.yml → cookieconsent.yml} +4 -4
- data/lib/starter_web/_data/modules/defaults/cookieconsent.yml +135 -0
- data/lib/starter_web/_data/pages/builder.yml +7 -7
- data/lib/starter_web/_data/private.yml +6 -6
- data/lib/starter_web/_data/resources.yml +9 -7
- data/lib/starter_web/_includes/attributes.asciidoc +10 -1
- data/lib/starter_web/_plugins/lunr_index.rb +1 -1
- data/lib/starter_web/assets/images/modules/attics/{cookies-1920x1200-bw.jpg → cookies-1920x1200.jpg} +0 -0
- data/lib/starter_web/assets/images/modules/attics/lianhao-1920x1280.jpg +0 -0
- data/lib/starter_web/collections/posts/public/featured/_posts/2020-01-01-about-cookies.adoc +2 -2
- data/lib/starter_web/package.json +1 -1
- data/lib/starter_web/pages/public/cookieConsent.adoc +93 -0
- data/lib/starter_web/pages/public/learn/roundtrip/400_asciidoc_extensions.adoc +2 -1
- data/lib/starter_web/pages/public/legal/en/300_privacy.adoc +104 -209
- data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
- data/lib/starter_web/utilsrv/package.json +1 -1
- metadata +14 -13
- data/_includes/themes/j1/modules/navigator/generator.org.html +0 -232
- data/assets/data/cookiebar.html +0 -288
- data/assets/data/footer.new.1.html +0 -256
- data/assets/data/footer.new.2.html +0 -256
- data/assets/data/footer.org.html +0 -249
- data/assets/themes/j1/adapter/js/j1.new.js +0 -1878
- data/assets/themes/j1/adapter/js/j1.org.js +0 -1874
- data/lib/starter_web/_data/modules/defaults/cookiebar.yml +0 -133
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0e93fb15ef56819b92a0d748c7e809c7381ac50e69868be5777ce21f01acf066
|
|
4
|
+
data.tar.gz: 2b710cb4d00181ee1b027fd6ea406a3e2c293a27cae544c3e72d5de055c43833
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 88e8c900a10010e9bc600663c22fb7b0f0b292ea71e3bc700022519c3929cdec359b5af9d07bdfafd970fafd70933548fcc819e808a34acfe0b97ddd9ee8485a
|
|
7
|
+
data.tar.gz: 4edee51b60f67d1066729ef1fce3e1106cd957e9f06fbfbcfbd232aa7bcedb7d173af6955a516f76b52724f22f4d194227826b59083cfe15c752c0ea86f6a624
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{% comment %}
|
|
2
2
|
# -----------------------------------------------------------------------------
|
|
3
3
|
# ~/_includes/themes/j1/procedures/provider/ad/google-adsense.html
|
|
4
|
-
# Support of
|
|
4
|
+
# Support of advertising provider Google Adsense for J1 Template
|
|
5
5
|
#
|
|
6
6
|
# Product/Info:
|
|
7
7
|
# http://jekyll.one
|
|
@@ -26,20 +26,6 @@
|
|
|
26
26
|
{% comment %} Main
|
|
27
27
|
-------------------------------------------------------------------------------- {% endcomment %}
|
|
28
28
|
|
|
29
|
-
<!-- Google Adsense -->
|
|
30
|
-
<script data-ad-client="{{publisher_id}}"
|
|
31
|
-
async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js">
|
|
32
|
-
</script>
|
|
33
|
-
|
|
34
|
-
{% comment %} to be checked
|
|
35
|
-
--------------------------------------------------------------------------------
|
|
36
|
-
<script data-ad-client="{{publisher_id}}"
|
|
37
|
-
async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js">
|
|
38
|
-
</script>
|
|
39
|
-
-------------------------------------------------------------------------------- {% endcomment %}
|
|
40
|
-
|
|
41
|
-
{% comment %} to be checked
|
|
42
|
-
--------------------------------------------------------------------------------
|
|
43
29
|
<script data-ad-client="{{publisher_id}}"
|
|
44
30
|
$(document).ready(function() {
|
|
45
31
|
var dependencies_met_page_finished = setInterval (function () {
|
|
@@ -49,6 +35,12 @@
|
|
|
49
35
|
}
|
|
50
36
|
}, 25); // END dependencies_met_page_finished
|
|
51
37
|
</script>
|
|
38
|
+
|
|
39
|
+
{% comment %} to be checked
|
|
40
|
+
--------------------------------------------------------------------------------
|
|
41
|
+
<script data-ad-client="{{publisher_id}}"
|
|
42
|
+
async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js">
|
|
43
|
+
</script>
|
|
52
44
|
-------------------------------------------------------------------------------- {% endcomment %}
|
|
53
45
|
|
|
54
46
|
{% comment %} Old Ads code
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{% comment %}
|
|
2
2
|
# -----------------------------------------------------------------------------
|
|
3
3
|
# ~/_includes/themes/j1/modules/connectors/analytic/google-analytics.html
|
|
4
|
-
# Support of
|
|
4
|
+
# Support of analytics provider Google Analytics for J1 Template
|
|
5
5
|
#
|
|
6
6
|
# Product/Info:
|
|
7
7
|
# http://jekyll.one
|
|
@@ -21,16 +21,20 @@
|
|
|
21
21
|
|
|
22
22
|
{% comment %} Variables
|
|
23
23
|
-------------------------------------------------------------------------------- {% endcomment %}
|
|
24
|
-
{% assign tracking_id = site.data.j1_config.analytics.google.tracking_id
|
|
24
|
+
{% assign tracking_id = site.data.j1_config.analytics.google.tracking_id %}
|
|
25
25
|
|
|
26
26
|
{% comment %} Main
|
|
27
27
|
-------------------------------------------------------------------------------- {% endcomment %}
|
|
28
28
|
|
|
29
|
-
|
|
29
|
+
|
|
30
|
+
<!-- Google Analytics: load the GA library -->
|
|
30
31
|
<script async src="https://www.googletagmanager.com/gtag/js?id={{tracking_id}}"></script>
|
|
31
|
-
|
|
32
|
+
<!-- Google Analytics: GA cookies disabled by default -->
|
|
33
|
+
<!-- GA cookies disabled by default -->
|
|
34
|
+
<!-- GA depends on the cookie consent and is enabled/disabled on OptIn/Out-->
|
|
35
|
+
<!--script>
|
|
32
36
|
window.dataLayer = window.dataLayer || [];
|
|
33
37
|
function gtag(){dataLayer.push(arguments);}
|
|
34
38
|
gtag('js', new Date());
|
|
35
39
|
gtag('config', '{{tracking_id}}');
|
|
36
|
-
</script
|
|
40
|
+
</script-->
|
|
@@ -50,8 +50,8 @@
|
|
|
50
50
|
{% assign navigator_defaults = site.data.modules.defaults.navigator.defaults %}
|
|
51
51
|
{% assign navigator_settings = site.data.modules.navigator.settings %}
|
|
52
52
|
|
|
53
|
-
{% assign
|
|
54
|
-
{% assign
|
|
53
|
+
{% assign consent_defaults = site.data.modules.defaults.cookieconsent.defaults %}
|
|
54
|
+
{% assign consent_settings = site.data.modules.cookieconsent.settings %}
|
|
55
55
|
|
|
56
56
|
{% comment %} Set config data
|
|
57
57
|
-------------------------------------------------------------------------------- {% endcomment %}
|
data/_layouts/default.html
CHANGED
|
@@ -62,8 +62,6 @@ layout: compress
|
|
|
62
62
|
|
|
63
63
|
{% comment %} Set config data
|
|
64
64
|
-------------------------------------------------------------------------------- {% endcomment %}
|
|
65
|
-
{% assign cookiebar_settings = modules.cookiebar.settings %}
|
|
66
|
-
{% assign cookiebar_defaults = modules.defaults.cookiebar.defaults %}
|
|
67
65
|
|
|
68
66
|
{% comment %} Webhooks disabled
|
|
69
67
|
--------------------------------------------------------------------------------
|
|
@@ -73,7 +71,6 @@ layout: compress
|
|
|
73
71
|
|
|
74
72
|
{% comment %} Set config options
|
|
75
73
|
-------------------------------------------------------------------------------- {% endcomment %}
|
|
76
|
-
{% assign cookiebar_options = cookiebar_defaults | merge: cookiebar_settings %}
|
|
77
74
|
{% assign tooltips_options = template_config.bootstrap.tooltips %}
|
|
78
75
|
{% assign popovers_options = template_config.bootstrap.popovers %}
|
|
79
76
|
|
|
@@ -160,14 +157,14 @@ layout: compress
|
|
|
160
157
|
</body>
|
|
161
158
|
|
|
162
159
|
{% comment %} Place|Initialize module components
|
|
160
|
+
------------------------------------------------------------------------------
|
|
161
|
+
NOTE: xhr_container should be DYNAMICALLY placed by
|
|
162
|
+
the module using it !!!
|
|
163
|
+
Example CookieConsent
|
|
163
164
|
------------------------------------------------------------------------------ {% endcomment %}
|
|
164
165
|
|
|
165
166
|
{% comment %} Place container for Cookiebar modals
|
|
166
167
|
------------------------------------------------------------------------------ {% endcomment %}
|
|
167
|
-
{% if cookiebar_options.enabled %}
|
|
168
|
-
<!-- [INFO ] [j1.layout.default.html ] [ place container for Cookiebar modals ] -->
|
|
169
|
-
<div id="{{cookiebar_options.xhr_container_id}}"></div>
|
|
170
|
-
{% endif %}
|
|
171
168
|
|
|
172
169
|
{% comment %} Place container for WebHook modals
|
|
173
170
|
------------------------------------------------------------------------------ {% endcomment %}
|
|
@@ -0,0 +1,249 @@
|
|
|
1
|
+
---
|
|
2
|
+
regenerate: true
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
{% capture cache %}
|
|
6
|
+
|
|
7
|
+
{% comment %}
|
|
8
|
+
# -----------------------------------------------------------------------------
|
|
9
|
+
# ~/assets/data/cookieconsent.html
|
|
10
|
+
# Liquid PROCEDURE to generate the HTML (data) portion of all modals used
|
|
11
|
+
# by J1 Cookie Consent module
|
|
12
|
+
#
|
|
13
|
+
# Product/Info:
|
|
14
|
+
# https://jekyll.one
|
|
15
|
+
#
|
|
16
|
+
# Copyright (C) 2021 Juergen Adams
|
|
17
|
+
#
|
|
18
|
+
# J1 Template is licensed under the MIT License.
|
|
19
|
+
# See: https://github.com/jekyll-one-org/J1 Template/blob/master/LICENSE
|
|
20
|
+
# -----------------------------------------------------------------------------
|
|
21
|
+
# Test data:
|
|
22
|
+
# liquid_var: {{ liquid_var | debug }}
|
|
23
|
+
# config: {{ config | debug }}
|
|
24
|
+
# -----------------------------------------------------------------------------
|
|
25
|
+
{% endcomment %}
|
|
26
|
+
|
|
27
|
+
{% comment %} Liquid procedures
|
|
28
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
|
29
|
+
|
|
30
|
+
{% comment %} Set global settings
|
|
31
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
|
32
|
+
{% assign environment = site.environment %}
|
|
33
|
+
|
|
34
|
+
{% comment %} Set config files
|
|
35
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
|
36
|
+
{% assign modules = site.data.modules %}
|
|
37
|
+
|
|
38
|
+
{% comment %} Process YML config data
|
|
39
|
+
================================================================================ {% endcomment %}
|
|
40
|
+
|
|
41
|
+
{% comment %} Set config files
|
|
42
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
|
43
|
+
{% assign consent_defaults = modules.defaults.cookieconsent.defaults %}
|
|
44
|
+
{% assign consent_settings = modules.cookieconsent.settings %}
|
|
45
|
+
|
|
46
|
+
{% comment %} Set config options
|
|
47
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
|
48
|
+
{% assign consent_options = consent_defaults | merge: consent_settings %}
|
|
49
|
+
|
|
50
|
+
{% assign production = false %}
|
|
51
|
+
{% if environment == 'prod' or environment == 'production' %}
|
|
52
|
+
{% assign production = true %}
|
|
53
|
+
{% endif %}
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
{% comment %} Main
|
|
57
|
+
================================================================================ {% endcomment %}
|
|
58
|
+
<!-- [INFO ] [j1.assets.data.cookiebar.html ] [ set meta data (robots) to exclude HTML datafiles from index ] -->
|
|
59
|
+
<head>
|
|
60
|
+
<meta name="robots" content="noindex, nofollow" />
|
|
61
|
+
</head>
|
|
62
|
+
|
|
63
|
+
{% comment %} Modal cookie consent dialog (default: en-EN)
|
|
64
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
|
65
|
+
<div id="consent-data-en">
|
|
66
|
+
<div id="modal-consent-en" class="modal-dialog modal-frame modal-top modal-notify modal-primary" role="document">
|
|
67
|
+
<div class="modal-content">
|
|
68
|
+
<div class="modal-header">
|
|
69
|
+
<p class="lead">{{consent_options.consent_modal_title.en}}</p>
|
|
70
|
+
</div>
|
|
71
|
+
<div class="modal-body">
|
|
72
|
+
<div class="bccs-body-text" style="font-size: 90%">
|
|
73
|
+
<p class="mb-4">{{consent_options.body_text.en}}</p>
|
|
74
|
+
</div>
|
|
75
|
+
<p>
|
|
76
|
+
<a href="#bccs-privacy" data-toggle="collapse" class="">Privacy Notice</a>
|
|
77
|
+
<a href="#bccs-options" data-toggle="collapse" class="float-right">Settings</a>
|
|
78
|
+
</p>
|
|
79
|
+
|
|
80
|
+
<div id="bccs-privacy" class="collapse">
|
|
81
|
+
<div class="bccs-body-text" style="font-size: 90%">
|
|
82
|
+
<p class="mb-4">{{consent_options.privacy_notice.en}}</p>
|
|
83
|
+
</div>
|
|
84
|
+
</div>
|
|
85
|
+
|
|
86
|
+
<div id="bccs-options" class="collapse">
|
|
87
|
+
<p class="tagline mt-4 mb-1"><b>Your settings</b></p>
|
|
88
|
+
<div class="d-inline-block g-width-50 g-height-2 bg-primary mb-3"></div>
|
|
89
|
+
|
|
90
|
+
<div class="bccs-option" data-name="necessary">
|
|
91
|
+
<div class="switch">
|
|
92
|
+
<label>
|
|
93
|
+
<input id="bccs-checkboxNecessary" type="checkbox" name="bccs-checkboxNecessary" disabled="" checked="">
|
|
94
|
+
<span class="bmd-switch-track"></span>
|
|
95
|
+
Necessary
|
|
96
|
+
</label>
|
|
97
|
+
<ul>
|
|
98
|
+
<li>Required to run the website</li>
|
|
99
|
+
</ul>
|
|
100
|
+
</div>
|
|
101
|
+
</div>
|
|
102
|
+
<div class="bccs-option" data-name="analyses">
|
|
103
|
+
<div class="switch">
|
|
104
|
+
<label>
|
|
105
|
+
<input id="bccs-checkboxAnalyses" type="checkbox" name="bccs-checkboxAnalyses" checked="">
|
|
106
|
+
<span class="bmd-switch-track"></span>
|
|
107
|
+
Analyses
|
|
108
|
+
</label>
|
|
109
|
+
<ul>
|
|
110
|
+
<li>Monitoring website usage</li>
|
|
111
|
+
<li>Optimizing the user experience</li>
|
|
112
|
+
</ul>
|
|
113
|
+
</div>
|
|
114
|
+
</div>
|
|
115
|
+
<div class="bccs-option" data-name="personalization">
|
|
116
|
+
<div class="switch">
|
|
117
|
+
<label>
|
|
118
|
+
<input id="bccs-checkboxPersonalization" type="checkbox" name="bccs-checkboxPersonalization" checked="">
|
|
119
|
+
<span class="bmd-switch-track"></span>
|
|
120
|
+
Personalization
|
|
121
|
+
</label>
|
|
122
|
+
<ul>
|
|
123
|
+
<li>Storage of your preferences from previous visits</li>
|
|
124
|
+
<li>Collecting user feedback to improve our website</li>
|
|
125
|
+
<li>Recording of your interests in order to provide customised content and offers</li>
|
|
126
|
+
</ul>
|
|
127
|
+
</div>
|
|
128
|
+
</div>
|
|
129
|
+
</div>
|
|
130
|
+
</div>
|
|
131
|
+
<div class="modal-footer">
|
|
132
|
+
<button id="bccs-buttonDoNotAgree" type="button" class="btn btn-link text-decoration-none" style="">
|
|
133
|
+
I do not agree
|
|
134
|
+
</button>
|
|
135
|
+
<button id="bccs-buttonAgree" type="button" class="btn btn-primary btn-raised" style="">
|
|
136
|
+
Agree
|
|
137
|
+
</button>
|
|
138
|
+
<button id="bccs-buttonSave" type="button" class="btn btn-primary" style="display: none;">
|
|
139
|
+
Save selection
|
|
140
|
+
</button>
|
|
141
|
+
<button id="bccs-buttonAgreeAll" type="button" class="btn btn-primary btn-raised" style="display: none;">
|
|
142
|
+
Agree on all
|
|
143
|
+
</button>
|
|
144
|
+
</div>
|
|
145
|
+
</div>
|
|
146
|
+
</div>
|
|
147
|
+
</div>
|
|
148
|
+
|
|
149
|
+
{% comment %} END Modal cookie consent dialog (en-EN)
|
|
150
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
|
151
|
+
|
|
152
|
+
|
|
153
|
+
|
|
154
|
+
{% comment %} Modal cookie consent dialog (de-DE)
|
|
155
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
|
156
|
+
<div id="consent-data-de">
|
|
157
|
+
<div id="modal-consent-de" class="modal-dialog modal-frame modal-top modal-notify modal-primary" role="document">
|
|
158
|
+
<div class="modal-content">
|
|
159
|
+
<div class="modal-header">
|
|
160
|
+
<p class="lead">{{consent_options.consent_modal_title.de}}</p>
|
|
161
|
+
</div>
|
|
162
|
+
<div class="modal-body">
|
|
163
|
+
<div class="bccs-body-text" style="font-size: 90%">
|
|
164
|
+
<p class="mb-4">{{consent_options.body_text.de}}</p>
|
|
165
|
+
</div>
|
|
166
|
+
<p>
|
|
167
|
+
<a href="#bccs-privacy" data-toggle="collapse" class="">Datenschutzerklärung</a>
|
|
168
|
+
<a href="#bccs-options" data-toggle="collapse" class="float-right">Einstellungen</a>
|
|
169
|
+
</p>
|
|
170
|
+
|
|
171
|
+
<div id="bccs-privacy" class="collapse">
|
|
172
|
+
<div class="bccs-body-text" style="font-size: 90%">
|
|
173
|
+
<p class="mb-4">{{consent_options.privacy_notice.de}}</p>
|
|
174
|
+
</div>
|
|
175
|
+
</div>
|
|
176
|
+
|
|
177
|
+
<div id="bccs-options" class="collapse">
|
|
178
|
+
<p class="tagline mt-4 mb-1"><b>Ihre Einstellungen</b></p>
|
|
179
|
+
<div class="d-inline-block g-width-50 g-height-2 bg-primary mb-3"></div>
|
|
180
|
+
|
|
181
|
+
<div class="bccs-option" data-name="necessary">
|
|
182
|
+
<div class="switch">
|
|
183
|
+
<label>
|
|
184
|
+
<input id="bccs-checkboxNecessary" type="checkbox" name="bccs-checkboxNecessary" disabled="" checked="">
|
|
185
|
+
<span class="bmd-switch-track"></span>
|
|
186
|
+
Notwendig
|
|
187
|
+
</label>
|
|
188
|
+
<ul>
|
|
189
|
+
<li>Zum Betrieb der Website erforderlich</li>
|
|
190
|
+
</ul>
|
|
191
|
+
</div>
|
|
192
|
+
</div>
|
|
193
|
+
<div class="bccs-option" data-name="analyses">
|
|
194
|
+
<div class="switch">
|
|
195
|
+
<label>
|
|
196
|
+
<input id="bccs-checkboxAnalyses" type="checkbox" name="bccs-checkboxAnalyses" checked="">
|
|
197
|
+
<span class="bmd-switch-track"></span>
|
|
198
|
+
Analysen
|
|
199
|
+
</label>
|
|
200
|
+
<ul>
|
|
201
|
+
<li>Beobachtung der Website-Nutzung</li>
|
|
202
|
+
<li>Optimierung der Benutzererfahrung</li>
|
|
203
|
+
</ul>
|
|
204
|
+
</div>
|
|
205
|
+
</div>
|
|
206
|
+
<div class="bccs-option" data-name="personalization">
|
|
207
|
+
<div class="switch">
|
|
208
|
+
<label>
|
|
209
|
+
<input id="bccs-checkboxPersonalization" type="checkbox" name="bccs-checkboxPersonalization" checked="">
|
|
210
|
+
<span class="bmd-switch-track"></span>
|
|
211
|
+
Personalisierung
|
|
212
|
+
</label>
|
|
213
|
+
<ul>
|
|
214
|
+
<li>Speicherung Ihrer Präfererenzen aus frühreren Besuchen</li>
|
|
215
|
+
<li>Sammeln von Benutzer-Feedback zur Verbesserung unserer Website</li>
|
|
216
|
+
<li>Erfassung Ihrer Interessen, um maßgeschneiderte Inhalte und Angebote anzubieten</li>
|
|
217
|
+
</ul>
|
|
218
|
+
</div>
|
|
219
|
+
</div>
|
|
220
|
+
</div>
|
|
221
|
+
</div>
|
|
222
|
+
<div class="modal-footer">
|
|
223
|
+
<button id="bccs-buttonDoNotAgree" type="button" class="btn btn-link text-decoration-none" style="">
|
|
224
|
+
Ich bin nicht einverstanden
|
|
225
|
+
</button>
|
|
226
|
+
<button id="bccs-buttonAgree" type="button" class="btn btn-primary btn-raised" style="">
|
|
227
|
+
Einverstanden
|
|
228
|
+
</button>
|
|
229
|
+
<button id="bccs-buttonSave" type="button" class="btn btn-primary" style="display: none;">
|
|
230
|
+
Auswahl speichern
|
|
231
|
+
</button>
|
|
232
|
+
<button id="bccs-buttonAgreeAll" type="button" class="btn btn-primary btn-raised" style="display: none;">
|
|
233
|
+
Allen zustimmen
|
|
234
|
+
</button>
|
|
235
|
+
</div>
|
|
236
|
+
</div>
|
|
237
|
+
</div>
|
|
238
|
+
</div>
|
|
239
|
+
{% comment %} END Modal cookie consent dialog (de-DE)
|
|
240
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
|
241
|
+
|
|
242
|
+
{% endcapture %}
|
|
243
|
+
|
|
244
|
+
{% if production %}
|
|
245
|
+
{% capture _LINE_FEED %}{% endcapture %}{% if site.compress_html.ignore.envs contains jekyll.environment %}{{ cache | strip_html_comments }}{% else %}{% capture _content %}{{ cache | strip_html_comments }}{% endcapture %}{% assign _profile = site.compress_html.profile %}{% if site.compress_html.endings == "all" %}{% assign _endings = "html head body li dt dd p rt rp optgroup option colgroup caption thead tbody tfoot tr td th" | split: " " %}{% else %}{% assign _endings = site.compress_html.endings %}{% endif %}{% for _element in _endings %}{% capture _end %}</{{ _element }}>{% endcapture %}{% assign _content = _content | remove: _end %}{% endfor %}{% if _profile and _endings %}{% assign _profile_endings = _content | size | plus: 1 %}{% endif %}{% for _element in site.compress_html.startings %}{% capture _start %}<{{ _element }}>{% endcapture %}{% assign _content = _content | remove: _start %}{% endfor %}{% if _profile and site.compress_html.startings %}{% assign _profile_startings = _content | size | plus: 1 %}{% endif %}{% if site.compress_html.comments == "all" %}{% assign _comments = "<!-- -->" | split: " " %}{% else %}{% assign _comments = site.compress_html.comments %}{% endif %}{% if _comments.size == 2 %}{% capture _comment_befores %}.{{ _content }}{% endcapture %}{% assign _comment_befores = _comment_befores | split: _comments.first %}{% for _comment_before in _comment_befores %}{% if forloop.first %}{% continue %}{% endif %}{% capture _comment_outside %}{% if _carry %}{{ _comments.first }}{% endif %}{{ _comment_before }}{% endcapture %}{% capture _comment %}{% unless _carry %}{{ _comments.first }}{% endunless %}{{ _comment_outside | split: _comments.last | first }}{% if _comment_outside contains _comments.last %}{{ _comments.last }}{% assign _carry = false %}{% else %}{% assign _carry = true %}{% endif %}{% endcapture %}{% assign _content = _content | remove_first: _comment %}{% endfor %}{% if _profile %}{% assign _profile_comments = _content | size | plus: 1 %}{% endif %}{% endif %}{% assign _pre_befores = _content | split: "<pre" %}{% assign _content = "" %}{% for _pre_before in _pre_befores %}{% assign _pres = _pre_before | split: "</pre>" %}{% assign _pres_after = "" %}{% if _pres.size != 0 %}{% if site.compress_html.blanklines %}{% assign _lines = _pres.last | split: _LINE_FEED %}{% capture _pres_after %}{% for _line in _lines %}{% assign _trimmed = _line | split: " " | join: " " %}{% if _trimmed != empty or forloop.last %}{% unless forloop.first %}{{ _LINE_FEED }}{% endunless %}{{ _line }}{% endif %}{% endfor %}{% endcapture %}{% else %}{% assign _pres_after = _pres.last | split: " " | join: " " %}{% endif %}{% endif %}{% capture _content %}{{ _content }}{% if _pre_before contains "</pre>" %}<pre{{ _pres.first }}</pre>{% endif %}{% unless _pre_before contains "</pre>" and _pres.size == 1 %}{{ _pres_after }}{% endunless %}{% endcapture %}{% endfor %}{% if _profile %}{% assign _profile_collapse = _content | size | plus: 1 %}{% endif %}{% if site.compress_html.clippings == "all" %}{% assign _clippings = "html head title base link meta style body article section nav aside h1 h2 h3 h4 h5 h6 hgroup header footer address p hr blockquote ol ul li dl dt dd figure figcaption main div table caption colgroup col tbody thead tfoot tr td th" | split: " " %}{% else %}{% assign _clippings = site.compress_html.clippings %}{% endif %}{% for _element in _clippings %}{% assign _edges = " <e;<e; </e>;</e>;</e> ;</e>" | replace: "e", _element | split: ";" %}{% assign _content = _content | replace: _edges[0], _edges[1] | replace: _edges[2], _edges[3] | replace: _edges[4], _edges[5] %}{% endfor %}{% if _profile and _clippings %}{% assign _profile_clippings = _content | size | plus: 1 %}{% endif %}{{ _content }}{% if _profile %} <table id="compress_html_profile_{{ site.time | date: "%Y%m%d" }}" class="compress_html_profile"> <thead> <tr> <td>Step <td>Bytes <tbody> <tr> <td>raw <td>{{ cache | strip_html_comments | size }}{% if _profile_endings %} <tr> <td>endings <td>{{ _profile_endings }}{% endif %}{% if _profile_startings %} <tr> <td>startings <td>{{ _profile_startings }}{% endif %}{% if _profile_comments %} <tr> <td>comments <td>{{ _profile_comments }}{% endif %}{% if _profile_collapse %} <tr> <td>collapse <td>{{ _profile_collapse }}{% endif %}{% if _profile_clippings %} <tr> <td>clippings <td>{{ _profile_clippings }}{% endif %} </table>{% endif %}{% endif %}
|
|
246
|
+
{% else %}
|
|
247
|
+
{{ cache | pretty_print | remove:'<html><body>' | remove:'</body></html>' | strip_empty_lines }}
|
|
248
|
+
{% endif %}
|
|
249
|
+
{% assign cache = nil %}
|
data/assets/data/quicklinks.html
CHANGED
|
@@ -33,13 +33,13 @@ regenerate: true
|
|
|
33
33
|
|
|
34
34
|
{% comment %} Set config files
|
|
35
35
|
-------------------------------------------------------------------------------- {% endcomment %}
|
|
36
|
-
{% assign j1_config
|
|
36
|
+
{% assign j1_config = site.data.j1_config %}
|
|
37
37
|
{% assign authentication_defaults = modules.defaults.authentication.defaults %}
|
|
38
38
|
{% assign authentication_settings = modules.authentication.settings %}
|
|
39
39
|
{% assign navigator_defaults = modules.defaults.navigator.defaults %}
|
|
40
40
|
{% assign navigator_settings = modules.navigator.settings %}
|
|
41
|
-
{% assign
|
|
42
|
-
{% assign
|
|
41
|
+
{% assign consent_defaults = modules.defaults.cookieconsent.defaults %}
|
|
42
|
+
{% assign consent_settings = modules.cookieconsent.settings %}
|
|
43
43
|
{% assign quick_search_defaults = modules.defaults.quicksearch.defaults %}
|
|
44
44
|
{% assign quick_search_settings = modules.quicksearch.settings %}
|
|
45
45
|
|
|
@@ -61,7 +61,9 @@ regenerate: true
|
|
|
61
61
|
{% assign authentication_options = authentication_defaults | merge: authentication_settings %}
|
|
62
62
|
{% assign quick_search_options = quick_search_defaults | merge: quick_search_settings %}
|
|
63
63
|
{% assign quicklinks_options = nav_quicklinks_defaults | merge: nav_quicklinks_settings %}
|
|
64
|
-
{% assign
|
|
64
|
+
{% assign consent_options = consent_defaults | merge: consent_settings %}
|
|
65
|
+
|
|
66
|
+
consent_options: {{ consent_options | debug }}
|
|
65
67
|
|
|
66
68
|
{% comment %} Control Center disabled
|
|
67
69
|
--------------------------------------------------------------------------------
|
|
@@ -172,22 +174,22 @@ regenerate: true
|
|
|
172
174
|
|
|
173
175
|
{% comment %} Show|Hide CookieConsent icon
|
|
174
176
|
-------------------------------------------------------------------------------- {% endcomment %}
|
|
175
|
-
{% if
|
|
176
|
-
{% assign
|
|
177
|
+
{% if consent_options.enabled %}
|
|
178
|
+
{% assign consent_enabled = true %}
|
|
177
179
|
{% else %}
|
|
178
|
-
{% assign
|
|
180
|
+
{% assign consent_enabled = false %}
|
|
179
181
|
{% endif %}
|
|
180
182
|
|
|
181
|
-
{% if
|
|
182
|
-
{% assign
|
|
183
|
+
{% if consent_options.show_cookie_icon %}
|
|
184
|
+
{% assign consent_icon_enabled = true %}
|
|
183
185
|
{% else %}
|
|
184
|
-
{% assign
|
|
186
|
+
{% assign consent_icon_enabled = false %}
|
|
185
187
|
{% endif %}
|
|
186
188
|
|
|
187
|
-
{% if
|
|
188
|
-
{% assign
|
|
189
|
+
{% if consent_enabled and consent_icon_enabled %}
|
|
190
|
+
{% assign show_cookieconsent_icon = true %}
|
|
189
191
|
{% else %}
|
|
190
|
-
{% assign
|
|
192
|
+
{% assign show_cookieconsent_icon = false %}
|
|
191
193
|
{% endif %}
|
|
192
194
|
|
|
193
195
|
|
|
@@ -218,8 +220,8 @@ regenerate: true
|
|
|
218
220
|
{% comment %} Main
|
|
219
221
|
-------------------------------------------------------------------------------- {% endcomment %}
|
|
220
222
|
<!-- [INFO ] [j1.modules.navigator.quicklinks.html ] [AuthManager detected as: {{ show_auth_manager_icon }}] -->
|
|
221
|
-
<!-- [INFO ] [j1.modules.navigator.quicklinks.html ] [CookieConsent detected as: {{
|
|
222
|
-
<!-- [INFO ] [j1.modules.navigator.quicklinks.html ] [Show CookieConsent icon detected as: {{
|
|
223
|
+
<!-- [INFO ] [j1.modules.navigator.quicklinks.html ] [CookieConsent detected as: {{ consent_enabled }}] -->
|
|
224
|
+
<!-- [INFO ] [j1.modules.navigator.quicklinks.html ] [Show CookieConsent icon detected as: {{ show_cookieconsent_icon }}] -->
|
|
223
225
|
<!-- [INFO ] [j1.modules.navigator.quicklinks.html ] [Show ControlCenter icon detected as: {{ show_control_center_icon }}] -->
|
|
224
226
|
<!-- [INFO ] [j1.modules.navigator.quicklinks.html ] [Set icon familiy as: {{ icon_family }}] -->
|
|
225
227
|
<!-- [INFO ] [j1.modules.navigator.quicklinks.html ] [Set icon size as: {{ icon_size }}] -->
|
|
@@ -233,7 +235,7 @@ regenerate: true
|
|
|
233
235
|
{% if facebook_url != "none" %}<li id="quickLinksFacebookButton" class="nav-item"><a id="facebook_id" class="nav-icon" href="{{facebook_url}}" aria-label="Facebook" target="blank"><i class="{{icon_family}} {{icon_family}}-{{facebook_icon}} {{icon_size}}"></i></a></li>{% endif %}
|
|
234
236
|
{% if twitter_url != "none" %}<li id="quickLinksTwitterButton" class="nav-item"><a id="twitter_id" class="nav-icon" href="{{twitter_url}}" aria-label="Twitter" target="blank"><i class="{{icon_family}} {{icon_family}}-{{twitter_icon}} {{icon_size}}"></i></a></li>{% endif %}
|
|
235
237
|
{% if show_auth_manager_icon %}<li id="quickLinksSignInOutButton" class="nav-item" style="display: none;"><a class="nav-icon" id="navLinkSignInOut" aria-label="SignOut" href="#" data-toggle="modal" data-target="#{{signin_modal_id}}"><i id="iconSignInOut" class="{{icon_family}} {{icon_family}}-{{signin_icon}} {{icon_size}}"></i></a></li>{% endif %}
|
|
236
|
-
{% if
|
|
238
|
+
{% if show_cookieconsent_icon %}<li id="quickLinksCookieButton" class="nav-item" style="display: block;"><a href="javascript:j1.cookieConsent.showDialog()" aria-label="Cookie Consent"><i class="{{icon_family}} {{icon_family}}-{{cookies_icon}} {{icon_size}}"></i></a></li>{% endif %}
|
|
237
239
|
{% if show_translator_icon %}<li id="quickLinksLanguageButton" class="nav-item translator"><a class="nav-icon" href="#" aria-label="Translator"><i class="{{icon_family}} {{icon_family}}-{{translator_icon}} {{icon_size}}"></i></a></li>{% endif %}
|
|
238
240
|
{% if show_quick_search_icon %}<li id="quickLinksSearchButton" class="nav-item search"><a class="nav-icon" href="#" aria-label="Search"><i class="{{icon_family}} {{icon_family}}-{{search_icon}} {{icon_size}}"></i></a></li>{% endif %}
|
|
239
241
|
{% if show_control_center_icon %}<li id="quickLinksControlCenterButton" class="nav-item control-center" style="display: block;"><a class="nav-icon" href="{{control_center_url}}" aria-label="ControlCenter"><i class="{{icon_family}} {{icon_family}}-{{control_center_icon}} {{icon_size}}"></i></a></li>{% endif %}
|