j1-template 2021.1.4 → 2021.1.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (57) hide show
  1. checksums.yaml +4 -4
  2. data/_includes/themes/j1/modules/connectors/ad/google-adsense.html +7 -15
  3. data/_includes/themes/j1/modules/connectors/analytic/google-analytics.html +9 -5
  4. data/_includes/themes/j1/modules/navigator/generator.html +2 -2
  5. data/_layouts/default.html +4 -7
  6. data/assets/data/cookieconsent.html +249 -0
  7. data/assets/data/quicklinks.html +18 -16
  8. data/assets/themes/j1/adapter/js/{cookiebar.js → cookieConsent.js} +102 -54
  9. data/assets/themes/j1/adapter/js/j1.js +40 -15
  10. data/assets/themes/j1/core/css/themes/uno-light/bootstrap.css +2 -2
  11. data/assets/themes/j1/core/css/themes/uno-light/bootstrap.min.css +1 -1
  12. data/assets/themes/j1/core/js/template.js +3 -9
  13. data/assets/themes/j1/core/js/template.js.map +1 -1
  14. data/assets/themes/j1/core/js/template.min.js +3 -9
  15. data/assets/themes/j1/core/js/template.min.js.map +1 -1
  16. data/assets/themes/j1/modules/cookieConsent/LICENSE +21 -0
  17. data/assets/themes/j1/modules/cookieConsent/js/cookieConsent.js +286 -0
  18. data/assets/themes/j1/modules/cookieConsent/js/cookieConsent.min.js +28 -0
  19. data/assets/themes/j1/modules/iframeResizer/examples/frame.absolute.html +4 -2
  20. data/assets/themes/j1/modules/iframeResizer/examples/frame.content.html +4 -3
  21. data/assets/themes/j1/modules/iframeResizer/examples/frame.hover.html +4 -2
  22. data/assets/themes/j1/modules/iframeResizer/examples/frame.nested.html +4 -2
  23. data/assets/themes/j1/modules/iframeResizer/examples/frame.textarea.html +4 -2
  24. data/assets/themes/j1/modules/iframeResizer/examples/frame.tolerance.html +4 -2
  25. data/assets/themes/j1/modules/iframeResizer/examples/index.html +2 -0
  26. data/assets/themes/j1/modules/iframeResizer/examples/two.html +4 -2
  27. data/assets/themes/j1/modules/util/js/domready.js +146 -0
  28. data/assets/themes/j1/modules/util/js/gtag-opt-in.js +1 -0
  29. data/lib/j1/version.rb +3 -3
  30. data/lib/starter_web/Gemfile +1 -1
  31. data/lib/starter_web/_config.yml +2 -1
  32. data/lib/starter_web/_data/_defaults/resources.yml +11 -8
  33. data/lib/starter_web/_data/modules/{cookiebar.yml → cookieconsent.yml} +4 -4
  34. data/lib/starter_web/_data/modules/defaults/cookieconsent.yml +135 -0
  35. data/lib/starter_web/_data/pages/builder.yml +7 -7
  36. data/lib/starter_web/_data/private.yml +6 -6
  37. data/lib/starter_web/_data/resources.yml +9 -7
  38. data/lib/starter_web/_includes/attributes.asciidoc +10 -1
  39. data/lib/starter_web/_plugins/lunr_index.rb +1 -1
  40. data/lib/starter_web/assets/images/modules/attics/{cookies-1920x1200-bw.jpg → cookies-1920x1200.jpg} +0 -0
  41. data/lib/starter_web/assets/images/modules/attics/lianhao-1920x1280.jpg +0 -0
  42. data/lib/starter_web/collections/posts/public/featured/_posts/2020-01-01-about-cookies.adoc +2 -2
  43. data/lib/starter_web/package.json +1 -1
  44. data/lib/starter_web/pages/public/cookieConsent.adoc +93 -0
  45. data/lib/starter_web/pages/public/learn/roundtrip/400_asciidoc_extensions.adoc +2 -1
  46. data/lib/starter_web/pages/public/legal/en/300_privacy.adoc +104 -209
  47. data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
  48. data/lib/starter_web/utilsrv/package.json +1 -1
  49. metadata +14 -13
  50. data/_includes/themes/j1/modules/navigator/generator.org.html +0 -232
  51. data/assets/data/cookiebar.html +0 -288
  52. data/assets/data/footer.new.1.html +0 -256
  53. data/assets/data/footer.new.2.html +0 -256
  54. data/assets/data/footer.org.html +0 -249
  55. data/assets/themes/j1/adapter/js/j1.new.js +0 -1878
  56. data/assets/themes/j1/adapter/js/j1.org.js +0 -1874
  57. data/lib/starter_web/_data/modules/defaults/cookiebar.yml +0 -133
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "private": true,
3
3
  "name": "utls",
4
- "version": "2021.1.4",
4
+ "version": "2021.1.5",
5
5
  "description": "J1 Template Utility Server",
6
6
  "homepage": "https://jekyll.one",
7
7
  "author": {
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: j1-template
3
3
  version: !ruby/object:Gem::Version
4
- version: 2021.1.4
4
+ version: 2021.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - juergen_jekyll_one
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-06-22 00:00:00.000000000 Z
11
+ date: 2021-06-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -284,7 +284,6 @@ files:
284
284
  - _includes/themes/j1/modules/connectors/translators/custom-translator.html
285
285
  - _includes/themes/j1/modules/connectors/translators/google-translator.html
286
286
  - _includes/themes/j1/modules/navigator/generator.html
287
- - _includes/themes/j1/modules/navigator/generator.org.html
288
287
  - _includes/themes/j1/modules/navigator/procedures/topsearch.proc
289
288
  - _includes/themes/j1/modules/search/algolia.html
290
289
  - _includes/themes/j1/modules/search/docsearch.html
@@ -335,12 +334,9 @@ files:
335
334
  - assets/data/authclient.html
336
335
  - assets/data/banner.html
337
336
  - assets/data/carousel.json
338
- - assets/data/cookiebar.html
337
+ - assets/data/cookieconsent.html
339
338
  - assets/data/fam.html
340
339
  - assets/data/footer.html
341
- - assets/data/footer.new.1.html
342
- - assets/data/footer.new.2.html
343
- - assets/data/footer.org.html
344
340
  - assets/data/galleries.json
345
341
  - assets/data/gallery_customizer.html
346
342
  - assets/data/mdi_icons.json
@@ -370,12 +366,10 @@ files:
370
366
  - assets/themes/j1/adapter/js/bmd.js
371
367
  - assets/themes/j1/adapter/js/carousel.js
372
368
  - assets/themes/j1/adapter/js/clipboard.js
373
- - assets/themes/j1/adapter/js/cookiebar.js
369
+ - assets/themes/j1/adapter/js/cookieConsent.js
374
370
  - assets/themes/j1/adapter/js/fam.js
375
371
  - assets/themes/j1/adapter/js/framer.js
376
372
  - assets/themes/j1/adapter/js/j1.js
377
- - assets/themes/j1/adapter/js/j1.new.js
378
- - assets/themes/j1/adapter/js/j1.org.js
379
373
  - assets/themes/j1/adapter/js/justifiedGallery.js
380
374
  - assets/themes/j1/adapter/js/justifiedGalleryCustomizer.js
381
375
  - assets/themes/j1/adapter/js/lightbox.js
@@ -553,6 +547,9 @@ files:
553
547
  - assets/themes/j1/modules/clipboard/css/theme/uno.min.css
554
548
  - assets/themes/j1/modules/clipboard/js/clipboard.js
555
549
  - assets/themes/j1/modules/clipboard/js/clipboard.min.js
550
+ - assets/themes/j1/modules/cookieConsent/LICENSE
551
+ - assets/themes/j1/modules/cookieConsent/js/cookieConsent.js
552
+ - assets/themes/j1/modules/cookieConsent/js/cookieConsent.min.js
556
553
  - assets/themes/j1/modules/datatables/css/DataTables-1.10.16/images/sort_asc.png
557
554
  - assets/themes/j1/modules/datatables/css/DataTables-1.10.16/images/sort_asc_disabled.png
558
555
  - assets/themes/j1/modules/datatables/css/DataTables-1.10.16/images/sort_both.png
@@ -874,6 +871,8 @@ files:
874
871
  - assets/themes/j1/modules/twemoji/js/picker/twemoji-picker.min.js
875
872
  - assets/themes/j1/modules/twemoji/js/twemoji.js
876
873
  - assets/themes/j1/modules/twemoji/js/twemoji.min.js
874
+ - assets/themes/j1/modules/util/js/domready.js
875
+ - assets/themes/j1/modules/util/js/gtag-opt-in.js
877
876
  - assets/themes/j1/modules/util/js/js.cookie.js
878
877
  - assets/themes/j1/modules/util/js/lite-url.js
879
878
  - assets/themes/j1/modules/util/js/lite-url.min.js
@@ -1014,10 +1013,10 @@ files:
1014
1013
  - lib/starter_web/_data/modules/advertising.yml
1015
1014
  - lib/starter_web/_data/modules/attics.yml
1016
1015
  - lib/starter_web/_data/modules/authentication.yml
1017
- - lib/starter_web/_data/modules/cookiebar.yml
1016
+ - lib/starter_web/_data/modules/cookieconsent.yml
1018
1017
  - lib/starter_web/_data/modules/defaults/attics.yml
1019
1018
  - lib/starter_web/_data/modules/defaults/authentication.yml
1020
- - lib/starter_web/_data/modules/defaults/cookiebar.yml
1019
+ - lib/starter_web/_data/modules/defaults/cookieconsent.yml
1021
1020
  - lib/starter_web/_data/modules/defaults/fam.yml
1022
1021
  - lib/starter_web/_data/modules/defaults/framer.yml
1023
1022
  - lib/starter_web/_data/modules/defaults/log4javascript.yml
@@ -1094,12 +1093,13 @@ files:
1094
1093
  - lib/starter_web/assets/images/modules/attics/banner/lunr-banner-1280x800.jpg
1095
1094
  - lib/starter_web/assets/images/modules/attics/building-blocks-1920x1280-bw.jpg
1096
1095
  - lib/starter_web/assets/images/modules/attics/christa-dodoo-1920x1280.jpg
1097
- - lib/starter_web/assets/images/modules/attics/cookies-1920x1200-bw.jpg
1096
+ - lib/starter_web/assets/images/modules/attics/cookies-1920x1200.jpg
1098
1097
  - lib/starter_web/assets/images/modules/attics/giammarco-boscaro-1920x1280.jpg
1099
1098
  - lib/starter_web/assets/images/modules/attics/ideas-start-here-1920x1280-bw.jpg
1100
1099
  - lib/starter_web/assets/images/modules/attics/jessica-ruscello-1920x1280.jpg
1101
1100
  - lib/starter_web/assets/images/modules/attics/katie-moum-1920x1280.jpg
1102
1101
  - lib/starter_web/assets/images/modules/attics/leon-1920x1280.jpg
1102
+ - lib/starter_web/assets/images/modules/attics/lianhao-1920x1280.jpg
1103
1103
  - lib/starter_web/assets/images/modules/attics/machine-generator-1920x1280.jpg
1104
1104
  - lib/starter_web/assets/images/modules/attics/markus-spiske4-1920x1280.jpg
1105
1105
  - lib/starter_web/assets/images/modules/attics/matthaeus-1920x1280.jpg
@@ -1349,6 +1349,7 @@ files:
1349
1349
  - lib/starter_web/pages/public/blog/navigator/archive/dateview.html
1350
1350
  - lib/starter_web/pages/public/blog/navigator/archive/tagview.html
1351
1351
  - lib/starter_web/pages/public/blog/navigator/index.html
1352
+ - lib/starter_web/pages/public/cookieConsent.adoc
1352
1353
  - lib/starter_web/pages/public/learn/roundtrip/100_present_images.adoc
1353
1354
  - lib/starter_web/pages/public/learn/roundtrip/100_present_images.org.asciidoc
1354
1355
  - lib/starter_web/pages/public/learn/roundtrip/100_present_videos.adoc
@@ -1,232 +0,0 @@
1
- {% comment %}
2
- # -----------------------------------------------------------------------------
3
- # ~/_includes/themes/j1/modules/navigator/generator.html
4
- # Liquid HTML template to create the Navigation System for J1 Template
5
- # (includes all containers needed for MMenu)
6
- #
7
- # Product/Info:
8
- # https://jekyll.one
9
- #
10
- # Copyright (C) 2021 Juergen Adams
11
- #
12
- # J1 Template is licensed under the MIT License.
13
- # See: https://github.com/jekyll-one-org/J1 Template/blob/master/LICENSE
14
- #
15
- # -----------------------------------------------------------------------------
16
- # Test data:
17
- # liquid_var: {{ liquid_var | debug }}
18
- #
19
- # -----------------------------------------------------------------------------
20
- {% endcomment %}
21
-
22
- {% comment %} Liquid procedures
23
- -------------------------------------------------------------------------------- {% endcomment %}
24
- {% include themes/{{site.template.name}}/procedures/global/setup.proc %}
25
- {% capture select_color %}themes/{{site.template.name}}/procedures/global/select_color.proc{% endcapture %}
26
- {% capture topsearch_create %}themes/{{site.template.name}}/modules/navigator/procedures/topsearch.proc{% endcapture %}
27
-
28
- {% comment %} Not longer used (loaded via AJAX)
29
- --------------------------------------------------------------------------------
30
- {% capture sidebar_create %}themes/{{site.template.name}}/modules/navigator/procedures/sidebar.proc{% endcapture %}
31
- {% capture quicklinks_create %}themes/{{site.template.name}}/modules/navigator/procedures/quicklinks.proc{% endcapture %}
32
- --------------------------------------------------------------------------------
33
- {% endcomment %}
34
-
35
-
36
- {% comment %} Process YML config data
37
- ================================================================================ {% endcomment %}
38
-
39
- {% comment %} Set config files
40
- -------------------------------------------------------------------------------- {% endcomment %}
41
- {% assign template_config = site.data.j1_config %}
42
- {% assign blocks = site.data.blocks %}
43
- {% assign modules = site.data.modules %}
44
-
45
- {% comment %} Set config files
46
- -------------------------------------------------------------------------------- {% endcomment %}
47
- {% assign authentication_defaults = modules.defaults.authentication.defaults %}
48
- {% assign authentication_settings = modules.authentication.settings %}
49
-
50
- {% assign navigator_defaults = site.data.modules.defaults.navigator.defaults %}
51
- {% assign navigator_settings = site.data.modules.navigator.settings %}
52
-
53
- {% comment %} Cookie Consent module NOT used anymore
54
- --------------------------------------------------------------------------------
55
- {% assign consent_defaults = site.data.modules.defaults.cookie_consent.defaults %}
56
- {% assign consent_settings = site.data.modules.cookie_consent.settings %}
57
- {% assign cookie_consent_options = consent_defaults | merge: consent_settings %}
58
- -------------------------------------------------------------------------------- {% endcomment %}
59
-
60
- {% assign cookiebar_defaults = site.data.modules.defaults.cookiebar.defaults %}
61
- {% assign cookiebar_settings = site.data.modules.cookiebar.settings %}
62
-
63
- {% comment %} SSM module NOT used anymore
64
- --------------------------------------------------------------------------------
65
- {% assign ssm_settings = modules.ssm.settings %}
66
- {% assign ssm_defaults = modules.defaults.ssm.defaults %}
67
- {% assign ssm_options = ssm_defaults | merge: ssm_settings %}
68
- -------------------------------------------------------------------------------- {% endcomment %}
69
-
70
- {% comment %} Set config data
71
- -------------------------------------------------------------------------------- {% endcomment %}
72
- {% assign nav_bar_defaults = navigator_defaults.nav_bar %}
73
- {% assign nav_bar_settings = navigator_settings.nav_bar %}
74
- {% assign nav_quicklinks_defaults = navigator_defaults.nav_quicklinks %}
75
- {% assign nav_quicklinks_settings = navigator_settings.nav_quicklinks %}
76
- {% assign nav_topsearch_defaults = navigator_defaults.nav_topsearch %}
77
- {% assign nav_topsearch_settings = navigator_settings.nav_topsearch %}
78
-
79
- {% assign nav_authclient_defaults = authentication_defaults.auth_client %}
80
- {% assign nav_authclient_settings = authentication_settings.auth_client %}
81
-
82
- {% assign nav_mmenu_defaults = navigator_defaults.nav_mmenu %}
83
- {% assign nav_mmenu_settings = navigator_settings.nav_mmenu %}
84
-
85
- {% comment %} Set config options
86
- -------------------------------------------------------------------------------- {% endcomment %}
87
- {% assign nav_bar_options = nav_bar_defaults | merge: nav_bar_settings %}
88
- {% assign quicklinks_options = nav_quicklinks_defaults | merge: nav_quicklinks_settings %}
89
- {% assign topsearch_options = nav_topsearch_defaults | merge: nav_topsearch_settings %}
90
- {% assign authclient_options = nav_authclient_defaults | merge: nav_authclient_settings %}
91
- {% assign authentication_options = authentication_defaults | merge: authentication_settings %}
92
- {% assign auth_manager_options = authentication_options.j1_auth %}
93
- {% assign nav_mmenu_options = nav_mmenu_defaults | merge: nav_mmenu_settings %}
94
-
95
-
96
- {% comment %} Set navBarOptions
97
- -------------------------------------------------------------------------------- {% endcomment %}
98
- {% assign brand_position = nav_bar_options.brand_position %}
99
- {% assign nav_fixed = nav_bar_options.fixed %}
100
- {% assign nav_style = nav_bar_options.style %}
101
- {% assign nav_color = nav_bar_options.color %}
102
-
103
- {% comment %} Set global settings
104
- -------------------------------------------------------------------------------- {% endcomment %}
105
- {% assign nav_bar_id = navigator_defaults.nav_bar.xhr_container_id %}
106
- {% assign nav_menu_id = navigator_defaults.nav_menu.xhr_container_id %}
107
- {% assign nav_mmenu_id = navigator_defaults.nav_mmenu.xhr_container_id %}
108
- {% assign nav_sidebar_id = navigator_defaults.nav_sidebar.xhr_container_id %}
109
- {% assign nav_quicklinks_id = navigator_defaults.nav_quicklinks.xhr_container_id %}
110
- {% assign authclient_modals_id = authclient_options.xhr_container_id %}
111
- {% assign nav_navbar_media_breakpoint = navigator_defaults.nav_bar.media_breakpoint %}
112
-
113
- {% comment %} Set navBarProperties
114
- -------------------------------------------------------------------------------- {% endcomment %}
115
- {% if nav_fixed %}
116
- {% assign nav_bar_fixed = 'navbar-fixed' %}
117
- {% if nav_style == 'overlay' %} {% assign nav_bar_style = 'navbar-transparent' %} {% endif %}
118
- {% endif %}
119
-
120
- {% if nav_color == 'light' %}
121
- {% assign nav_bar_color = 'light' %}
122
- {% endif %}
123
-
124
- {% capture nav_bar_default_css_classes %}navbar navigator navbar-expand-{{nav_navbar_media_breakpoint}} navbar-default{% endcapture %}
125
-
126
- {% comment %} Main
127
- -------------------------------------------------------------------------------- {% endcomment %}
128
-
129
- {% comment %} Generate SSM container (not used anymore)
130
- --------------------------------------------------------------------------------
131
- <!-- [INFO ] [j1.modules.navigator.generator.html ] [ check for ssm ] -->
132
- {% if ssm_options.enabled %}
133
- <!-- [INFO ] [j1.modules.navigator.generator.html ] [ place ssm container for AJAX load ] -->
134
- <nav id="ssm-container" class="ssm-btns-right ssm-anim-slide no-r-text"></nav>
135
- {% endif %}
136
- -------------------------------------------------------------------------------- {% endcomment %}
137
-
138
- {% comment %} Generate TopSearch container
139
- -------------------------------------------------------------------------------- {% endcomment %}
140
- <!-- [INFO ] [j1.modules.navigator.generator.html ] [ check for topsearch ] -->
141
- {% if topsearch_options.enabled %}
142
- <!-- [INFO ] [j1.modules.navigator.generator.html ] [ start processing: topsearch ] -->
143
- {% include {{ topsearch_create }} options=topsearch_options %}
144
- <!-- [INFO ] [j1.modules.navigator.generator.html ] [ end processing: topsearch ] -->
145
- {% endif %}
146
-
147
- {% comment %} Place MMobile NAV menu containers (HTML data loaded via AJAX)
148
- -------------------------------------------------------------------------------- {% endcomment %}
149
- <!-- [INFO ] [j1.modules.navigator.generator.html ] [ start processing: mmenu ] -->
150
- {% for item in nav_mmenu_options.menus %}
151
- <!-- [INFO ] [j1.modules.navigator.generator.html ] [ processing: {{item.menu.xhr_container_id}} ] -->
152
-
153
- {% comment %} Condition DISABLED for testing
154
- --------------------------------------------------------------------------------
155
- {% if item.menu.enabled %}
156
- <!-- [INFO ] [j1.modules.navigator.generator.html ] [ place mmenu container for AJAX load ] -->
157
- <nav id="{{item.menu.xhr_container_id}}"></nav>
158
- {% endif %}
159
- -------------------------------------------------------------------------------- {% endcomment %}
160
-
161
- <!-- [INFO ] [j1.modules.navigator.generator.html ] [ place mmenu container for AJAX load ] -->
162
- <nav id="{{item.menu.xhr_container_id}}"></nav>
163
-
164
- {% endfor %}
165
-
166
- <!-- [INFO ] [j1.modules.navigator.generator.html ] [ start processing: navigation ] -->
167
- <nav id="{{nav_bar_id}}" class="{{nav_bar_default_css_classes}} {{nav_bar_color}} {{nav_bar_fixed}} {{nav_bar_style}}">
168
-
169
- {% comment %} Place brand image
170
- ------------------------------------------------------------------------------ {% endcomment %}
171
- <!-- [INFO ] [j1.modules.navigator.generator.html ] [ end processing: sidebar ] -->
172
- <!-- [INFO ] [j1.modules.navigator.generator.html ] [ start processing: main menue ] -->
173
- {% if brand_position == "left" %}
174
- <!-- [INFO ] [j1.modules.navigator.generator.html ] [ place brand image to the: left ] -->
175
- {% if site.brand.image %}
176
- <a href="#" id="navbar-brand" class="navbar-brand"> <img src="{{ site.data.j1_config.image_path }}/{{ site.brand.image }}" height="{{ site.brand.image_height }}" alt="{{ site.brand.text }}"></a>
177
- {% else %}
178
- <a href="#" id="navbar-brand" class="navbar-brand"> <b><font color="{{site.brand.text_color}}">{{ site.brand.text }}</font></b></a>
179
- {% endif %}
180
- <button id="navbar-toggler" type="button" class="navigator navbar-toggler animated fadeIn" data-toggle="collapse" data-target="#{{nav_menu_id}}" aria-controls="{{nav_menu_id}}" aria-expanded="false" aria-label="Toggle navigation">
181
- <i class="mdi mdi-menu mdi-48px"></i>
182
- </button>
183
- {% elsif brand_position == "right" %}
184
- <!-- [INFO ] [j1.modules.navigator.generator.html ] [ place brand to the: right ] -->
185
- {% if site.brand.image %}
186
- <a href="#" id="navbar-brand" class="navbar-brand"> <img src="{{ site.data.j1_config.image_path }}/{{ site.brand.image }}" height="{{ site.brand.image_height }}" alt="{{ site.brand.text }}"></a>
187
- {% else %}
188
- <a href="#" id="navbar-brand" class="navbar-brand"> <b><font color="{{site.brand.text_color}}">{{ site.brand.text }}</font></b></a>
189
- {% endif %}
190
- <!-- [INFO ] [j1.modules.navigator.generator.html ] [ place mobile menu button to the: left ] -->
191
- <button id="mmenu-button" type="button" class="navigator navbar-toggler animated fadeIn" data-toggle="collapse" data-target="#{{nav_menu_id}}" aria-controls="{{nav_menu_id}}" aria-expanded="false" aria-label="Toggle navigation">
192
- <i class="mdi mdi-menu mdi-36px"></i>
193
- </button>
194
- {% else %}
195
- <!-- [INFO ] [j1.modules.navigator.generator.html ] [ place brand to default position: left ] -->
196
- {% if site.brand.image %}
197
- <a href="#" id="navbar-brand" class="navbar-brand"> <img src="{{ site.data.j1_config.image_path }}/{{ site.brand.image }}" height="{{ site.brand.image_height }}" alt="{{ site.brand.text }}"></a>
198
- {% else %}
199
- <a href="#" id="navbar-brand" class="navbar-brand"> <b><font color="{{site.brand.text_color}}">{{ site.brand.text }}</font></b></a>
200
- {% endif %}
201
- <!-- [INFO ] [j1.modules.navigator.generator.html ] [ place menu toggler to the: right ] -->
202
- <button id="navbar-toggler" type="button" class="navigator navbar-toggler animated fadeIn" data-toggle="collapse" data-target="#{{nav_menu_id}}" aria-controls="{{nav_menu_id}}" aria-expanded="false" aria-label="Toggle navigation">
203
- <i class="mdi mdi-menu mdi-48px"></i>
204
- </button>
205
- {% endif %}
206
-
207
- {% comment %} Place Desktop NAV menu container (HTML data loaded via AJAX)
208
- ------------------------------------------------------------------------------ {% endcomment %}
209
- <!-- [INFO ] [j1.modules.navigator.generator.html ] [ start processing: nav bar ] -->
210
- <!-- [INFO ] [j1.modules.navigator.generator.html ] [ place nav menu container for AJAX load (desktop) ] -->
211
- <div id="{{nav_menu_id}}" class="collapse"></div>
212
-
213
- {% comment %} Place|Hide Quicklinks container (HTML data loaded via AJAX)
214
- ------------------------------------------------------------------------------ {% endcomment %}
215
- <!-- [INFO ] [j1.modules.navigator.generator.html ] [ check for quicklinks ] -->
216
- <!-- [INFO ] [j1.modules.navigator.generator.html ] [ quicklinks enabled: {{quicklinks_options.enabled}} ] -->
217
- {% if quicklinks_options.enabled %}
218
- <!-- [INFO ] [j1.modules.navigator.generator.html ] [ place container for: quicklinks ] -->
219
- <div id="{{nav_quicklinks_id}}" class="attr-nav collapse navbar-collapse justify-content-end"></div>
220
- {% endif %}
221
- <!-- [INFO ] [j1.modules.navigator.generator.html ] [ end processing for: quicklinks ] -->
222
-
223
- </nav>
224
-
225
- {% comment %} Place container for sign in|out dialog used by J1 AuthClient
226
- -------------------------------------------------------------------------------- {% endcomment %}
227
- <!-- [INFO ] [j1.modules.navigator.generator.html ] [ check for: authclient ] -->
228
- <!-- [INFO ] [j1.modules.navigator.generator.html ] [ authclient enabled: {{auth_manager_options.enabled}} ] -->
229
- <!-- [INFO ] [j1.modules.navigator.generator.html ] [ place container for: authclient ] -->
230
- <div id="{{authclient_modals_id}}" class="authclient_modals"></div>
231
- <!-- [INFO ] [j1.modules.navigator.generator.html ] [ end processing: auth_client ] -->
232
- <!-- [INFO ] [j1.modules.navigator.generator.html ] [ end processing: navigation ] -->
@@ -1,288 +0,0 @@
1
- ---
2
- regenerate: true
3
- ---
4
-
5
- {% capture cache %}
6
-
7
- {% comment %}
8
- # -----------------------------------------------------------------------------
9
- # ~/assets/data/cookiebar_modals.html
10
- # Liquid PROCEDURE to generate the HTML (data) portion of all modals used
11
- # by J1 Cookiebar 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 cookie_defaults = modules.defaults.cookiebar.defaults %}
44
- {% assign cookie_settings = modules.cookiebar.settings %}
45
-
46
- {% comment %} Set config options
47
- -------------------------------------------------------------------------------- {% endcomment %}
48
- {% assign cookie_options = cookie_defaults | merge: cookie_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
- <div id="{{cookie_options.xhr_data_element}}">
64
-
65
- {% comment %} Modal cookie consent dialog
66
- -------------------------------------------------------------------------------- {% endcomment %}
67
- <div id="topFullCookieConsent" class="modal fade top"
68
- tabindex="-1"
69
- role="dialog"
70
- data-backdrop="false"
71
- aria-labelledby="myModalLabel"
72
- aria-hidden="true">
73
- <div class="modal-dialog modal-frame modal-top modal-notify modal-primary" role="document">
74
-
75
- <!-- Content -->
76
- <div class="modal-content">
77
-
78
- <!--Header-->
79
- <div class="modal-header">
80
- <p class="lead">{{cookie_options.consent_modals_title}}</p>
81
- </div>
82
-
83
- <!-- Body -->
84
- <div class="modal-body">
85
-
86
- <!-- About cookies -->
87
- <div class="px-2">
88
- <p class="pt-1 pr-2">{{cookie_options.policy_about}}</p>
89
- </div>
90
- </div> <!-- END Body -->
91
-
92
- <!-- Footer -->
93
- <div class="modal-footer justify-content-center">
94
- {% if cookie_options.buttons.policy_button %}
95
- <a id="policyButton" type="button"
96
- class="btn btn-raised btn-flex btn-primary mb-2 mr-2" style="width: 20rem">
97
- <i class="mdi mdi-18px mdi-white mdi-read mr-2"></i>
98
- {{cookie_options.buttons.policy_button_text}}
99
- </a>
100
- {% endif %}
101
- <a id="acceptButton" type="button"
102
- class="btn btn-raised btn-flex btn-primary mb-2 mr-2" style="width: 20rem"
103
- data-dismiss="modal">
104
- <i class="mdi mdi-18px mdi-white mdi-check mr-2"></i>
105
- {{cookie_options.buttons.accept_button_text}}
106
- </a>
107
- {% if cookie_options.buttons.decline_button %}
108
- <a id="declineButton" type="button"
109
- class="btn btn-raised btn-flex btn-primary mb-2 mr-2" style="width: 20rem"
110
- data-dismiss="modal">
111
- <i class="mdi mdi-18px mdi-white mdi-close mr-2"></i>
112
- {{cookie_options.buttons.decline_button_text}}
113
- </a>
114
- {% endif %}
115
- </div> <!-- END Footer -->
116
-
117
- <!-- Hidden Content -->
118
- <div class="cookie-policy">
119
- {% if cookie_options.buttons.policy_button_text %}
120
- <div id="modal-footer" class="modal-footer-hidden">
121
- <div id="cookiePolicyInfo" class="card card-flat" style="display: none">
122
- <div class="content">
123
- <h4 class="notoc card-title">{{cookie_options.cookie_policy_title}}</h4>
124
- <h6 class="notoc category text-gray">{{cookie_options.cookie_policy_tagline | asciidocify}}</h6>
125
-
126
- <!-- Cookie categories -->
127
- {% if cookie_options.categories.enabled %}
128
- <div class="px-2">
129
- <h6 class="card-subtitle text-muted mb-2 mr-2">{{cookie_options.categories.category_title}}</h6>
130
- <table class="tableblock frame-all grid-all stretch table-responsive-stacked-lg">
131
- <colgroup>
132
- <col style="width: 33.3333%;">
133
- <col style="width: 16.6666%;">
134
- <col style="width: 50.0001%;">
135
- </colgroup>
136
- <thead>
137
- <tr>
138
- <th class="tableblock halign-left valign-top">Cookie</th>
139
- <th class="tableblock halign-left valign-top">Usage</th>
140
- <th class="tableblock halign-left valign-top">Description</th>
141
- </tr>
142
- </thead>
143
- <tbody>
144
- <tr>
145
- <td class="tableblock halign-left valign-top">
146
- <p class="tableblock">{{cookie_options.categories.category_session}}</p>
147
- </td>
148
- <td class="tableblock halign-left valign-top">
149
- <div class="content"><i class="fa md-green fa-check"></i></div>
150
- </td>
151
- <td class="tableblock halign-left valign-top">
152
- <p class="tableblock">{{cookie_options.categories.category_description_text}}</p>
153
- </td>
154
- </tr>
155
- <tr>
156
- <td class="tableblock halign-left valign-top">
157
- <p class="tableblock">{{cookie_options.categories.category_persistent}}</p>
158
- </td>
159
- <td class="tableblock halign-left valign-top">
160
- <div class="content"><i class="fa md-green fa-check"></i></div>
161
- </td>
162
- <td class="tableblock halign-left valign-top">
163
- <p class="tableblock">{{cookie_options.categories.category_description_text}}</p>
164
- </td>
165
- </tr>
166
- <tr>
167
- <td class="tableblock halign-left valign-top">
168
- <p class="tableblock">{{cookie_options.categories.category_first_party}}</p>
169
- </td>
170
- <td class="tableblock halign-left valign-top">
171
- <div class="content"><i class="fa md-green fa-check"></i></div>
172
- </td>
173
- <td class="tableblock halign-left valign-top">
174
- <p class="tableblock">{{cookie_options.categories.category_description_text}}</p>
175
- </td>
176
- </tr>
177
- <tr>
178
- <td class="tableblock halign-left valign-top">
179
- <p class="tableblock">{{cookie_options.categories.category_second_party}}</p>
180
- </td>
181
- <td class="tableblock halign-left valign-top">
182
- <div class="content"><i class="fa md-green fa-check"></i></div>
183
- </td>
184
- <td class="tableblock halign-left valign-top">
185
- <p class="tableblock">{{cookie_options.categories.category_description_text}}</p>
186
- </td>
187
- </tr>
188
- </tbody>
189
- </table>
190
- </div>
191
- {% endif %}
192
- <div class="card-description">{{ cookie_options.cookie_policy_text | asciidocify}}</div>
193
- </div>
194
- </div>
195
- </div>
196
- {% endif %}
197
- </div> <!-- END Hidden Content -->
198
- </div> <!-- END Content -->
199
- </div>
200
- </div> <!-- END Modal -->
201
- {% comment %} END Modal cookie consent dialog
202
- -------------------------------------------------------------------------------- {% endcomment %}
203
-
204
- {% comment %} Modal revoke cookies dialog
205
- -------------------------------------------------------------------------------- {% endcomment %}
206
- <div id="cookieRevokeCentralDanger"
207
- class="modal fade top"
208
- tabindex="-1"
209
- role="dialog"
210
- data-backdrop="false"
211
- aria-modal="true"
212
- aria-labelledby="RevokeCookieConsent">
213
- <div class="modal-dialog modal-frame modal-top modal-notify modal-danger" role="document">
214
- <!-- Content -->
215
- <div class="modal-content">
216
- <!--Header-->
217
- <div class="modal-header">
218
- <p class="lead">Revoke Cookie Consent</p>
219
- </div>
220
- <!--END Header-->
221
- <!-- Body -->
222
- <div class="modal-body">
223
- <div class="text-left">
224
- <div class="sectionbody">
225
- <div class="paragraph">
226
- <p>If you do <strong>not</strong> wish to receive <strong>cookies</strong> anymore from <strong>this site</strong>, you can
227
- revoke the cookie consent you’ve given. Furthermore, you may be able to refuse
228
- them by adjusting your <strong>browser</strong> settings to <strong>reject on cookies</strong>.
229
- </p>
230
- </div>
231
- <!-- div class="admonitionblock caution">
232
- <table>
233
- <tbody>
234
- <tr>
235
- <td class="icon">
236
- <i class="fa icon-caution" title="Caution"></i>
237
- </td>
238
- <td class="content">
239
- If you have previously visited our website&thinsp;—&thinsp;or any pages this
240
- session&thinsp;—&thinsp;<strong>and</strong> agreed on the use of cookies, you may also have to
241
- <strong>delete</strong> already existing <strong>cookies</strong> by your <strong>browser</strong> in order to clean
242
- all cookies left.
243
- </td>
244
- </tr>
245
- </tbody>
246
- </table>
247
- </div -->
248
- <!-- div class="paragraph">
249
- <p>
250
- You are about to <strong>disagree</strong> on cookies used by this site.
251
- If you do so, this site is <strong>unable</strong> to offer you any of our
252
- <strong>functionalities</strong>, <strong>services</strong> or <strong>support</strong>.
253
- </p>
254
- </div -->
255
- </div>
256
- </div>
257
- <!-- END Body -->
258
- <!-- Footer -->
259
- <div class="modal-footer justify-content-center">
260
- <a id="revokeCookies" type="button"
261
- class="btn btn-raised btn-flex btn-danger mb-2 mr-2" style="width: 25rem"
262
- data-dismiss="modal">
263
- <i class="mdi mdi-18px mdi-white mdi-check mr-2"></i>
264
- {{cookie_options.buttons.revoke_button_text}}
265
- </a>
266
- <a id="remainCookies" type="button"
267
- class="btn btn-raised btn-flex btn-primary mb-2 mr-2" style="width: 25rem"
268
- data-dismiss="modal">
269
- <i class="mdi mdi-18px mdi-white mdi-close mr-2"></i>
270
- {{cookie_options.buttons.do_nothing_button_text}}
271
- </a>
272
- </div> <!-- END Footer -->
273
- </div> <!-- END Body -->
274
- </div> <!-- END Content -->
275
- </div>
276
- </div> <!-- END Modal -->
277
- {% comment %} END Modal revoke cookies dialog
278
- -------------------------------------------------------------------------------- {% endcomment %}
279
- </div>
280
-
281
- {% endcapture %}
282
-
283
- {% if production %}
284
- {% 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 %}
285
- {% else %}
286
- {{ cache | pretty_print | remove:'<html><body>' | remove:'</body></html>' | strip_empty_lines }}
287
- {% endif %}
288
- {% assign cache = nil %}