j1-template 2022.0.1 → 2022.0.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (157) hide show
  1. checksums.yaml +4 -4
  2. data/_includes/themes/j1/blocks/ads/ad.html +14 -14
  3. data/_includes/themes/j1/layouts/content_generator_post.html +1 -1
  4. data/_includes/themes/j1/modules/connectors/analytic/google-analytics.html +3 -13
  5. data/_includes/themes/j1/modules/connectors/comment/hyvor.html +4 -5
  6. data/_includes/themes/j1/modules/navigator/generator.html +3 -3
  7. data/_includes/themes/j1/modules/search/docsearch.html +1 -1
  8. data/_includes/themes/j1/procedures/global/create_bs_button.proc +4 -4
  9. data/_includes/themes/j1/procedures/posts/collate_timeline.proc +2 -2
  10. data/_includes/themes/j1/procedures/posts/create_series_header.proc +1 -1
  11. data/_includes/themes/j1/procedures/posts/pager.proc +2 -2
  12. data/_layouts/default.html +3 -11
  13. data/assets/data/authclient.html +11 -11
  14. data/assets/data/cookieconsent.html +8 -8
  15. data/assets/data/gallery_customizer.html +4 -4
  16. data/assets/data/menu.html +13 -13
  17. data/assets/data/mmenu.html +2 -2
  18. data/assets/data/private.json +1 -5
  19. data/assets/data/quicklinks.html +62 -47
  20. data/assets/data/rtext_resizer.html +1 -1
  21. data/assets/data/themes.bootswatch.json +2 -2
  22. data/assets/data/themes.json +4 -4
  23. data/assets/data/translator.html +8 -8
  24. data/assets/themes/j1/adapter/js/clipboard.js +1 -1
  25. data/assets/themes/j1/adapter/js/cookieConsent.js +18 -13
  26. data/assets/themes/j1/adapter/js/j1.js +23 -23
  27. data/assets/themes/j1/adapter/js/navigator.js +3 -3
  28. data/assets/themes/j1/adapter/js/themer.js +13 -4
  29. data/assets/themes/j1/adapter/js/translator.js +10 -6
  30. data/assets/themes/j1/core/css/themes/{uno-dark → unodark}/bootstrap.css +0 -0
  31. data/assets/themes/j1/core/css/themes/{uno-dark → unodark}/bootstrap.min.css +0 -0
  32. data/assets/themes/j1/core/css/themes/{uno-light → unolight}/bootstrap.css +326 -18
  33. data/assets/themes/j1/core/css/themes/{uno-light → unolight}/bootstrap.min.css +1 -1
  34. data/assets/themes/j1/core/js/template.js +143 -65
  35. data/assets/themes/j1/core/js/template.min.js +5 -5
  36. data/assets/themes/j1/core/js/template.min.js.map +1 -1
  37. data/assets/themes/j1/modules/bmd/js/bmd.js +3 -3
  38. data/assets/themes/j1/modules/bmd/js/bmd.min.js +1 -1
  39. data/assets/themes/j1/modules/cryptoJS/js/aes.js +35 -0
  40. data/assets/themes/j1/modules/cryptoJS/js/aes.min.js +35 -0
  41. data/assets/themes/j1/modules/cryptoJS/js/hmac-md5.js +21 -0
  42. data/assets/themes/j1/modules/cryptoJS/js/hmac-ripemd160.js +31 -0
  43. data/assets/themes/j1/modules/cryptoJS/js/hmac-sha1.js +17 -0
  44. data/assets/themes/j1/modules/cryptoJS/js/hmac-sha224.js +19 -0
  45. data/assets/themes/j1/modules/cryptoJS/js/hmac-sha256.js +18 -0
  46. data/assets/themes/j1/modules/cryptoJS/js/hmac-sha3.js +21 -0
  47. data/assets/themes/j1/modules/cryptoJS/js/hmac-sha384.js +27 -0
  48. data/assets/themes/j1/modules/cryptoJS/js/hmac-sha512.js +25 -0
  49. data/assets/themes/j1/modules/cryptoJS/js/md5.js +19 -0
  50. data/assets/themes/j1/modules/cryptoJS/js/pbkdf2.js +19 -0
  51. data/assets/themes/j1/modules/cryptoJS/js/rabbit-legacy.js +36 -0
  52. data/assets/themes/j1/modules/cryptoJS/js/rabbit.js +36 -0
  53. data/assets/themes/j1/modules/cryptoJS/js/rc4.js +33 -0
  54. data/assets/themes/j1/modules/cryptoJS/js/ripemd160.js +29 -0
  55. data/assets/themes/j1/modules/cryptoJS/js/sha1.js +15 -0
  56. data/assets/themes/j1/modules/cryptoJS/js/sha224.js +17 -0
  57. data/assets/themes/j1/modules/cryptoJS/js/sha256.js +16 -0
  58. data/assets/themes/j1/modules/cryptoJS/js/sha3.js +19 -0
  59. data/assets/themes/j1/modules/cryptoJS/js/sha384.js +25 -0
  60. data/assets/themes/j1/modules/cryptoJS/js/sha512.js +23 -0
  61. data/assets/themes/j1/modules/cryptoJS/js/tripledes.js +51 -0
  62. data/assets/themes/j1/modules/deeplAPI/js/deeplAPI.2.js +460 -0
  63. data/assets/themes/j1/modules/deeplAPI/js/deeplAPI.js +379 -353
  64. data/assets/themes/j1/modules/deeplAPI/js/deeplAPI.min.js +1 -1
  65. data/assets/themes/j1/modules/gtag-opt-in/js/gtag-opt-in.js +93 -1
  66. data/assets/themes/j1/modules/materialize/js/autocomplete.js +1 -1
  67. data/assets/themes/j1/modules/materialize/js/bin/materialize.js +4 -4
  68. data/assets/themes/j1/modules/materialize/js/bin/materialize.min.js +1 -1
  69. data/assets/themes/j1/modules/materialize/js/global.js +1 -1
  70. data/assets/themes/j1/modules/materialize/js/select.js +1 -1
  71. data/assets/themes/j1/modules/materialize/js/tapTarget.cash.js +1 -1
  72. data/assets/themes/j1/modules/scroller/js/scroller.js +6 -6
  73. data/assets/themes/j1/modules/scroller/js/scroller.min.js +1 -1
  74. data/assets/themes/j1/modules/twemoji/js/picker/twemoji-picker.js +2 -2
  75. data/assets/themes/j1/modules/twemoji/js/picker/twemoji-picker.min.js +1 -1
  76. data/exe/j1 +6 -7
  77. data/lib/j1/commands/generate.rb +15 -16
  78. data/lib/j1/version.rb +1 -1
  79. data/lib/starter_web/Gemfile +7 -1
  80. data/lib/starter_web/_config.yml +1 -1
  81. data/lib/starter_web/_data/_defaults/j1_config.yml +1 -1
  82. data/lib/starter_web/_data/_defaults/private.yml +3 -2
  83. data/lib/starter_web/_data/_defaults/resources.yml +1 -1
  84. data/lib/starter_web/_data/blocks/banner.yml +5 -5
  85. data/lib/starter_web/_data/blocks/defaults/banner.yml +5 -5
  86. data/lib/starter_web/_data/blocks/defaults/panel.yml +3 -3
  87. data/lib/starter_web/_data/builder/defaults/blog_navigator.yml +50 -44
  88. data/lib/starter_web/_data/j1_config.yml +2 -2
  89. data/lib/starter_web/_data/modules/defaults/attics.yml +1 -1
  90. data/lib/starter_web/_data/modules/defaults/navigator.yml +31 -11
  91. data/lib/starter_web/_data/modules/translator.yml +3 -3
  92. data/lib/starter_web/_data/private.yml +3 -2
  93. data/lib/starter_web/_data/resources.yml +28 -3
  94. data/lib/starter_web/_includes/attributes.asciidoc +1 -1
  95. data/lib/starter_web/_plugins/encodeBase64.rb +46 -0
  96. data/lib/starter_web/_plugins/encryptAES.rb +53 -0
  97. data/lib/starter_web/_plugins/filters.rb +2 -1
  98. data/lib/starter_web/_plugins/lunr_index.rb +1 -1
  99. data/lib/starter_web/_plugins/minifyJSON.rb +2 -2
  100. data/lib/starter_web/assets/images/pages/roundtrip/500_themes/themes-menu-1280x800.jpg +0 -0
  101. data/lib/starter_web/package.json +1 -1
  102. data/lib/starter_web/pages/_test_pages/100_side-bar-tester.adoc +1 -1
  103. data/lib/starter_web/pages/_test_pages/_includes/documents/410_bottom_info.asciidoc +3 -3
  104. data/lib/starter_web/pages/_test_pages/_includes/documents/410_bottom_left_warning.asciidoc +1 -1
  105. data/lib/starter_web/pages/_test_pages/_includes/documents/410_bottom_right_danger.asciidoc +1 -1
  106. data/lib/starter_web/pages/_test_pages/_includes/documents/410_central_success.asciidoc +1 -1
  107. data/lib/starter_web/pages/_test_pages/_includes/documents/410_full_height_left_info.asciidoc +1 -1
  108. data/lib/starter_web/pages/_test_pages/_includes/documents/410_full_height_right_success.asciidoc +1 -1
  109. data/lib/starter_web/pages/_test_pages/_includes/documents/410_top_info.asciidoc +1 -1
  110. data/lib/starter_web/pages/_test_pages/_includes/documents/410_top_left_info.asciidoc +1 -1
  111. data/lib/starter_web/pages/_test_pages/_includes/documents/410_top_right_success.asciidoc +1 -1
  112. data/lib/starter_web/pages/_test_pages/_includes/documents/419_advanced_modals_demo.asciidoc +22 -22
  113. data/lib/starter_web/pages/_test_pages/accordion-01-tester.adoc +3 -3
  114. data/lib/starter_web/pages/_test_pages/accordion-02-tester.adoc +3 -3
  115. data/lib/starter_web/pages/_test_pages/accordion-03-tester.adoc +4 -4
  116. data/lib/starter_web/pages/_test_pages/backdrop-tester.adoc +3 -3
  117. data/lib/starter_web/pages/_test_pages/button-tester-1.adoc +2 -2
  118. data/lib/starter_web/pages/_test_pages/cookieConsent.adoc +1 -1
  119. data/lib/starter_web/pages/_test_pages/infinite-scroll-tester.adoc +3 -3
  120. data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/documentation.adoc +1 -1
  121. data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/multi.adoc +1 -1
  122. data/lib/starter_web/pages/public/asciidoc_skeletons/simple-document/simple.adoc +1 -1
  123. data/lib/starter_web/pages/public/blog/navigator/archive/categoryview.html +0 -21
  124. data/lib/starter_web/pages/public/blog/navigator/archive/dateview.html +1 -1
  125. data/lib/starter_web/pages/public/blog/navigator/archive/tagview.html +1 -0
  126. data/lib/starter_web/pages/public/blog/navigator/archive.html +1 -1
  127. data/lib/starter_web/pages/public/learn/quickstart.adoc +1 -1
  128. data/lib/starter_web/pages/public/learn/roundtrip/200_typography.adoc +4 -5
  129. data/lib/starter_web/pages/public/learn/roundtrip/410_bs_modals_extentions.adoc +1 -1
  130. data/lib/starter_web/pages/public/learn/roundtrip/500_themes.adoc +2 -2
  131. data/lib/starter_web/pages/public/learn/roundtrip/_includes/documents/410_bottom_info.asciidoc +3 -3
  132. data/lib/starter_web/pages/public/learn/roundtrip/_includes/documents/410_bottom_left_warning.asciidoc +1 -1
  133. data/lib/starter_web/pages/public/learn/roundtrip/_includes/documents/410_bottom_right_danger.asciidoc +1 -1
  134. data/lib/starter_web/pages/public/learn/roundtrip/_includes/documents/410_central_success.asciidoc +1 -1
  135. data/lib/starter_web/pages/public/learn/roundtrip/_includes/documents/410_full_height_left_info.asciidoc +1 -1
  136. data/lib/starter_web/pages/public/learn/roundtrip/_includes/documents/410_full_height_right_success.asciidoc +1 -1
  137. data/lib/starter_web/pages/public/learn/roundtrip/_includes/documents/410_top_info.asciidoc +1 -1
  138. data/lib/starter_web/pages/public/learn/roundtrip/_includes/documents/410_top_left_info.asciidoc +1 -1
  139. data/lib/starter_web/pages/public/learn/roundtrip/_includes/documents/410_top_right_success.asciidoc +1 -1
  140. data/lib/starter_web/pages/public/learn/roundtrip/_includes/documents/419_advanced_modals_demo.asciidoc +51 -51
  141. data/lib/starter_web/pages/public/learn/where_to_go.adoc +1 -1
  142. data/lib/starter_web/pages/public/legal/de/100_copyright.adoc +1 -1
  143. data/lib/starter_web/pages/public/legal/de/100_impress.adoc +1 -1
  144. data/lib/starter_web/pages/public/legal/de/300_privacy.adoc +5 -5
  145. data/lib/starter_web/pages/public/legal/de/400_comment_policy.adoc +1 -1
  146. data/lib/starter_web/pages/public/legal/en/100_copyright.adoc +1 -1
  147. data/lib/starter_web/pages/public/legal/en/200_impress.adoc +1 -1
  148. data/lib/starter_web/pages/public/legal/en/300_privacy.adoc +4 -5
  149. data/lib/starter_web/pages/public/legal/en/400_comment_policy.adoc +1 -1
  150. data/lib/starter_web/pages/public/panels/intro_panel/_includes/attributes.asciidoc +55 -0
  151. data/lib/starter_web/pages/public/panels/intro_panel/panel.adoc +51 -3
  152. data/lib/starter_web/pages/public/previewer/preview_bootstrap_theme.adoc +163 -73
  153. data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
  154. data/lib/starter_web/utilsrv/package.json +1 -1
  155. metadata +34 -9
  156. data/lib/j1/commands/help.rb +0 -32
  157. data/lib/j1/commands/module.rb +0 -69
@@ -78,30 +78,15 @@ exclude_from_search: true
78
78
  -------------------------------------------------------------------------------- {% endcomment %}
79
79
  {% assign icon_family = quicklinks_options.icon_family | downcase %}
80
80
 
81
- {% assign cookies_icon = quicklinks_options.cookies_icon %}
82
-
83
- {% assign translate_icon = quicklinks_options.translate_icon %}
84
-
85
- {% assign search_icon = quicklinks_options.top_search_icon %}
86
- {% assign sidebar_icon = quicklinks_options.sidebar_icon %}
87
-
88
- {% assign signin_icon = auth_client_config.signin_icon %}
89
- {% assign signout_icon = auth_client_config.signout_icon %}
90
-
91
- {% assign control_center_icon = cc_app_config_options.quicklinks_icon %}
92
- {% assign control_center_url = cc_app_config_options.quicklinks_url %}
93
-
94
- {% assign translator_icon = quicklinks_options.translator_icon %}
95
-
81
+ {% comment %} Link buttons
82
+ -------------------------------------------------------------------------------- {% endcomment %}
96
83
  {% assign home_icon = quicklinks_options.home_icon %}
97
84
  {% assign home_url = quicklinks_options.home_url %}
98
-
99
- {% assign r_text_icon = quicklinks_options.r_text_icon %}
100
-
101
- {% assign toc_icon = quicklinks_options.toc_icon %}
85
+ {% assign home_label = quicklinks_options.home_label %}
102
86
 
103
87
  {% assign back_icon = quicklinks_options.back_icon %}
104
88
  {% assign back_url = quicklinks_options.back_url %}
89
+ {% assign back_label = quicklinks_options.back_label %}
105
90
 
106
91
  {% assign disqus_icon = quicklinks_options.disqus_icon %}
107
92
  {% assign github_icon = quicklinks_options.github_icon %}
@@ -115,15 +100,50 @@ exclude_from_search: true
115
100
  {% assign facebook_url = quicklinks_options.facebook_url %}
116
101
  {% assign twitter_url = quicklinks_options.twitter_url %}
117
102
 
103
+ {% assign disqus_label = quicklinks_options.disqus_label %}
104
+ {% assign github_label = quicklinks_options.github_label %}
105
+ {% assign patreon_label = quicklinks_options.patreon_label %}
106
+ {% assign facebook_label = quicklinks_options.facebook_label %}
107
+ {% assign twitter_label = quicklinks_options.twitter_label %}
108
+
109
+ {% comment %} Action buttons
110
+ -------------------------------------------------------------------------------- {% endcomment %}
111
+ {% assign cookies_icon = quicklinks_options.cookies_icon %}
112
+ {% assign cookies_action = quicklinks_options.cookies_action %}
113
+ {% assign cookies_label = quicklinks_options.cookies_label %}
114
+
115
+ {% assign translate_icon = quicklinks_options.translate_icon %}
116
+ {% assign translate_action = quicklinks_options.translate_action %}
117
+ {% assign translate_label = quicklinks_options.translate_label %}
118
+
119
+ {% assign quicksearch_icon = quicklinks_options.quicksearch_icon %}
120
+ {% assign quicksearch_action = quicklinks_options.quicksearch_action %}
121
+ {% assign quicksearch_label = quicklinks_options.quicksearch_label %}
122
+
123
+ {% assign translator_icon = quicklinks_options.translator_icon %}
124
+ {% assign translator_action = quicklinks_options.translator_action %}
125
+ {% assign translator_label = quicklinks_options.translator_label %}
126
+
127
+ {% assign r_text_icon = quicklinks_options.r_text_icon %}
128
+ {% assign r_text_action = quicklinks_options.r_text_action %}
129
+ {% assign r_text_label = quicklinks_options.r_text_label %}
130
+
131
+ {% comment %} Legacy buttons
132
+ -------------------------------------------------------------------------------- {% endcomment %}
133
+ {% assign signin_icon = auth_client_config.signin_icon %}
134
+ {% assign signout_icon = auth_client_config.signout_icon %}
118
135
  {% assign signin_modal_id = auth_client_config.signin_modal_id %}
119
136
 
137
+ {% assign control_center_icon = cc_app_config_options.quicklinks_icon %}
138
+ {% assign control_center_url = cc_app_config_options.quicklinks_url %}
139
+
120
140
 
121
141
  {% comment %} Show|Hide Quicksearch icon
122
142
  -------------------------------------------------------------------------------- {% endcomment %}
123
143
  {% if quick_search_options.enabled %}
124
- {% assign show_quick_search_icon = true %}
144
+ {% assign show_quicksearch_icon = true %}
125
145
  {% else %}
126
- {% assign show_quick_search_icon = false %}
146
+ {% assign show_quicksearch_icon = false %}
127
147
  {% endif %}
128
148
 
129
149
  {% comment %} Show|Hide Translator icon
@@ -154,19 +174,9 @@ exclude_from_search: true
154
174
  {% assign show_control_center_icon = false %}
155
175
  {% endif %}
156
176
 
157
- {% comment %} Show|Hide Sidebar icon
158
- -------------------------------------------------------------------------------- {% endcomment %}
159
- {% if quicklinks_options.sidebar %}
160
- {% assign show_sidebar_icon = true %}
161
- {% else %}
162
- {% assign show_sidebar_icon = false %}
163
- {% endif %}
164
-
165
- {% assign show_sidebar_icon = false %}
166
-
167
177
  {% comment %} Show|Hide RSizer icon
168
178
  -------------------------------------------------------------------------------- {% endcomment %}
169
- {% if quicklinks_options.r_text_sizer %}
179
+ {% if quicklinks_options.r_text_icon %}
170
180
  {% assign show_r_text_icon = true %}
171
181
  {% else %}
172
182
  {% assign show_r_text_icon = false %}
@@ -238,24 +248,29 @@ exclude_from_search: true
238
248
 
239
249
  <ul id="{{quicklinks_options.xhr_data_element}}" class="navbar-nav show">
240
250
 
241
- {% if back_url != "none" %}<li id="quickLinksHomeButton" class="nav-item"><a id="page_back_id" class="nav-icon" href="{{back_url}}" aria-label="Page back"><i class="{{icon_family}} {{icon_family}}-{{back_icon}} {{icon_size}}"></i></a></li>{% endif %}
242
- {% if home_url != "none" %}<li id="quickLinksHomeButton" class="nav-item"><a id="home_id" class="nav-icon" href="{{home_url}}" aria-label="Home"><i class="{{icon_family}} {{icon_family}}-{{home_icon}} {{icon_size}}"></i></a></li>{% endif %}
243
- {% if disqus_url != "none" %}<li id="quickLinksDisqusButton" class="nav-item"><a id="disqus_id" class="nav-icon" href="{{disqus_url}}" aria-label="Disqus" target="blank"><i class="{{icon_family}} {{icon_family}}-{{disqus_icon}} {{icon_size}}"></i></a></li>{% endif %}
244
- {% if github_url != "none" %}<li id="quickLinksGithubButton" class="nav-item"><a id="github_id" class="nav-icon" href="{{github_url}}" aria-label="Github" target="blank"><i class="{{icon_family}} {{icon_family}}-{{github_icon}} {{icon_size}}"></i></a></li>{% endif %}
245
- {% if patreon_url != "none" %}<li id="quickLinksPatreonButton" class="nav-item"><a id="patreon_id" class="nav-icon" href="{{patreon_url}}" aria-label="Patreon" target="blank"><i class="{{icon_family}} {{icon_family}}-{{patreon_icon}} {{icon_size}}"></i></a></li>{% endif %}
246
- {% 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 %}
247
- {% 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 %}
248
- {% 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 %}
249
- {% if show_cookieconsent_icon %}<li id="quickLinksCookieButton" class="nav-item" style="display: block;"><a href="#" aria-label="Cookie Consent"><i class="{{icon_family}} {{icon_family}}-{{cookies_icon}} {{icon_size}}"></i></a></li>{% endif %}
250
- {% 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 %}
251
- {% 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 %}
252
- {% if show_r_text_icon %}<li id="quickLinksRTextButton" class="nav-item control-center" style="display: block;"><a class="nav-icon" href="#" aria-label="TextResizer" data-toggle="modal" data-target="#fluidModalRTextResizer"><i class="{{icon_family}} {{icon_family}}-{{r_text_icon}} {{icon_size}}"></i></a></li>{% endif %}
253
- {% if show_google_translate_icon %}<li id="quickLinksTranslateButton" class="nav-item" style="display: block;"><a href="#" aria-label="Google Translate"><i class="{{icon_family}} {{icon_family}}-{{translate_icon}} {{icon_size}}"></i></a></li>{% endif %}
251
+ {% comment %} Link buttons
252
+ ------------------------------------------------------------------------------ {% endcomment %}
253
+ {% if back_url != "none" %}<li id="quickLinksBackButton" class="nav-item"><a id="page_back_id" class="nav-icon" href="{{back_url}}" aria-label="{{back_label}}"><i class="{{icon_family}} {{icon_family}}-{{back_icon}} {{icon_size}}"></i></a></li>{% endif %}
254
+ {% if home_url != "none" %}<li id="quickLinksHomeButton" class="nav-item"><a id="home_id" class="nav-icon" href="{{home_url}}" aria-label="{{home_label}}"><i class="{{icon_family}} {{icon_family}}-{{home_icon}} {{icon_size}}"></i></a></li>{% endif %}
255
+ {% if disqus_url != "none" %}<li id="quickLinksDisqusButton" class="nav-item"><a id="disqus_id" class="nav-icon" href="{{disqus_url}}" aria-label="{{disqus_label}}" target="blank"><i class="nav-icon {{icon_family}} {{icon_family}}-{{disqus_icon}} {{icon_size}}"></i></a></li>{% endif %}
256
+ {% if github_url != "none" %}<li id="quickLinksGithubButton" class="nav-item"><a id="github_id" class="nav-icon" href="{{github_url}}" aria-label="{{github_label}}" target="blank"><i class="nav-icon {{icon_family}} {{icon_family}}-{{github_icon}} {{icon_size}}"></i></a></li>{% endif %}
257
+ {% if patreon_url != "none" %}<li id="quickLinksPatreonButton" class="nav-item"><a id="patreon_id" class="nav-icon" href="{{patreon_url}}" aria-label="{{patreon_label}}" target="blank"><i class="nav-icon {{icon_family}} {{icon_family}}-{{patreon_icon}} {{icon_size}}"></i></a></li>{% endif %}
258
+ {% if facebook_url != "none" %}<li id="quickLinksFacebookButton" class="nav-item"><a id="facebook_id" class="nav-icon" href="{{facebook_url}}" aria-label="{{facebook_label}}" target="blank"><i class="nav-icon {{icon_family}} {{icon_family}}-{{facebook_icon}} {{icon_size}}"></i></a></li>{% endif %}
259
+ {% if twitter_url != "none" %}<li id="quickLinksTwitterButton" class="nav-item"><a id="twitter_id" class="nav-icon" href="{{twitter_url}}" aria-label="{{twitter_label}}" target="blank"><i class="nav-icon {{icon_family}} {{icon_family}}-{{twitter_icon}} {{icon_size}}"></i></a></li>{% endif %}
260
+
261
+ {% comment %} Action buttons
262
+ ------------------------------------------------------------------------------ {% endcomment %}
263
+ {% if show_quicksearch_icon %}<li id="quickLinksSearchButton" class="nav-item {{quicksearch_action}}"><a class="nav-icon" href="#" aria-label="{{quicksearch_label}}"><i class="nav-icon {{icon_family}} {{icon_family}}-{{quicksearch_icon}} {{icon_size}}"></i></a></li>{% endif %}
264
+ {% if show_auth_manager_icon %}<li id="quickLinksSignInOutButton" class="nav-item sign-inout" style="display: none;"><a class="nav-icon" id="navLinkSignInOut" aria-label="SignOut" href="#" data-bs-toggle="modal" data-bs-target="#{{signin_modal_id}}"><i id="iconSignInOut" class="nav-icon {{icon_family}} {{icon_family}}-{{signin_icon}} {{icon_size}}"></i></a></li>{% endif %}
265
+ {% if show_cookieconsent_icon %}<li id="quickLinksCookieButton" class="nav-item {{cookies_action}}" style="display: block;"><a href="#" aria-label="{{cookies_label}}"><i class="nav-icon {{icon_family}} {{icon_family}}-{{cookies_icon}} {{icon_size}}"></i></a></li>{% endif %}
266
+ {% if show_r_text_icon %}<li id="quickLinksRTextButton" class="nav-item {{r_text_action}}" style="display: block;"><a class="nav-icon" href="#" aria-label="{{r_text_label}}" data-bs-toggle="modal" data-bs-target="#fluidModalRTextResizer"><i class="nav-icon {{icon_family}} {{icon_family}}-{{r_text_icon}} {{icon_size}}"></i></a></li>{% endif %}
267
+ {% if show_google_translate_icon %}<li id="quickLinksTranslateButton" class="nav-item {{translate_action}}" style="display: block;"><a href="#" aria-label="{{translate_label}}"><i class="nav-icon {{icon_family}} {{icon_family}}-{{translate_icon}} {{icon_size}}"></i></a></li>{% endif %}
254
268
 
255
269
  {% comment %} Unused
256
270
  --------------------------------------------------------------------------------
257
- {% if show_translator_icon %}<li id="quickLinksLanguageButton" class="nav-item translator"><a class="nav-icon" href="#void" aria-label="Translator"><i class="{{icon_family}} {{icon_family}}-{{translator_icon}} {{icon_size}}"></i></a></li>{% endif %}
258
- {% if show_google_translate_lang %}<li id="quickLinksTranslateLangButton" class="nav-item" style="display: block;"><a href="javascript:j1.translator.showDialog()" aria-label="Google Translate"><i class="flag-icon flag-icon-{{translate_lang}} rectangle size-md"></i></a></li>{% endif %}
271
+ {% 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 %}
272
+ {% if show_translator_icon %}<li id="quickLinksLanguageButton" class="nav-item translator"><a class="nav-icon" href="#void" aria-label="Translator"><i class="nav-icon {{icon_family}} {{icon_family}}-{{translator_icon}} {{icon_size}}"></i></a></li>{% endif %}
273
+ {% if show_google_translate_lang %}<li id="quickLinksTranslateLangButton" class="nav-item" style="display: block;"><a href="javascript:j1.translator.showDialog()" aria-label="Google Translate"><i class="nav-icon flag-icon flag-icon-{{translate_lang}} rectangle size-md"></i></a></li>{% endif %}
259
274
  -------------------------------------------------------------------------------- {% endcomment %}
260
275
 
261
276
  </ul>
@@ -79,7 +79,7 @@ exclude_from_search: true
79
79
  <!--Header-->
80
80
  <div class="modal-header">
81
81
  <p class="lead">Text Resizer</p>
82
- <button type="button" class="close" data-dismiss="modal" aria-label="Close">
82
+ <button type="button" class="close" data-bs-dismiss="modal" aria-label="Close">
83
83
  <i class="mdi mdi-close mdi-dark mdi-48px"></i>
84
84
  </button>
85
85
  </div>
@@ -48,7 +48,7 @@ exclude_from_search: true
48
48
  {
49
49
  "themes":
50
50
  [
51
- {"name": "UnoLight", "css": "{{asset_path}}/core/css/themes/uno-light/bootstrap.css"},
51
+ {"name": "UnoLight", "css": "{{asset_path}}/core/css/themes/unolight/bootstrap.css"},
52
52
  {"name": "UnoDark", "css": "{{asset_path}}/core/css/themes/uno-dark/bootstrap.css"},
53
53
  {"name": "Vapor", "css": "{{asset_path}}/core/css/themes/theme_vapor/bootstrap.css"},
54
54
  {"name": "Bootstrap", "css": "{{asset_path}}/core/css/themes/bootstrap/bootstrap.css"}
@@ -58,7 +58,7 @@ exclude_from_search: true
58
58
  {
59
59
  "themes":
60
60
  [
61
- {"name": "UnoLight", "css": "{{asset_path}}/core/css/themes/uno-light/bootstrap.min.css"},
61
+ {"name": "UnoLight", "css": "{{asset_path}}/core/css/themes/unolight/bootstrap.min.css"},
62
62
  {"name": "UnoDark", "css": "{{asset_path}}/core/css/themes/uno-dark/bootstrap.min.css"},
63
63
  {"name": "Vapor", "css": "{{asset_path}}/core/css/themes/theme_vapor/bootstrap.min.css"},
64
64
  {"name": "Bootstrap", "css": "{{asset_path}}/core/css/themes/bootstrap/bootstrap.min.css"}
@@ -48,8 +48,8 @@ exclude_from_search: true
48
48
  {
49
49
  "themes":
50
50
  [
51
- {"name": "UnoLight", "css": "{{asset_path}}/core/css/themes/uno-light/bootstrap.css"},
52
- {"name": "UnoDark", "css": "{{asset_path}}/core/css/themes/uno-dark/bootstrap.css"},
51
+ {"name": "UnoLight", "css": "{{asset_path}}/core/css/themes/unolight/bootstrap.css"},
52
+ {"name": "UnoDark", "css": "{{asset_path}}/core/css/themes/unodark/bootstrap.css"},
53
53
  {"name": "Bootstrap", "css": "{{asset_path}}/core/css/themes/bootstrap/bootstrap.css"}
54
54
  ]
55
55
  }
@@ -57,8 +57,8 @@ exclude_from_search: true
57
57
  {
58
58
  "themes":
59
59
  [
60
- {"name": "UnoLight", "css": "{{asset_path}}/core/css/themes/uno-light/bootstrap.min.css"},
61
- {"name": "UnoDark", "css": "{{asset_path}}/core/css/themes/uno-dark/bootstrap.min.css"},
60
+ {"name": "UnoLight", "css": "{{asset_path}}/core/css/themes/unolight/bootstrap.min.css"},
61
+ {"name": "UnoDark", "css": "{{asset_path}}/core/css/themes/unodark/bootstrap.min.css"},
62
62
  {"name": "Bootstrap", "css": "{{asset_path}}/core/css/themes/bootstrap/bootstrap.min.css"}
63
63
  ]
64
64
  }
@@ -150,16 +150,16 @@ exclude_from_search: true
150
150
  </div>
151
151
 
152
152
  <div class="modal-footer">
153
- <button id="translator-buttonDoNotAgree" type="button" class="btn btn-outline-secondary mr-2" style="min-width: 20rem">
153
+ <button id="translator-buttonDoNotAgree" type="button" class="btn btn-outline-secondary mb-1 mr-2" style="min-width: 20rem">
154
154
  No, disable translation
155
155
  </button>
156
- <button id="translator-buttonAgree" type="button" class="btn btn-primary" style="min-width: 20rem">
156
+ <button id="translator-buttonAgree" type="button" class="btn btn-primary mb-1 mr-2" style="min-width: 20rem">
157
157
  Yes, please translate
158
158
  </button>
159
- <button id="translator-buttonSave" type="button" class="btn btn-outline-secondary mr-2" style="display:none; min-width: 20rem">
159
+ <button id="translator-buttonSave" type="button" class="btn btn-outline-secondary mb-1 mr-2" style="display:none; min-width: 20rem">
160
160
  Save selection
161
161
  </button>
162
- <button id="translator-buttonAgreeAll" type="button" class="btn btn-primary" style="display:none; min-width: 20rem">
162
+ <button id="translator-buttonAgreeAll" type="button" class="btn btn-primary mb-1 mr-2" style="display:none; min-width: 20rem">
163
163
  I Agree on all
164
164
  </button>
165
165
  </div>
@@ -265,16 +265,16 @@ exclude_from_search: true
265
265
  </div>
266
266
 
267
267
  <div class="modal-footer">
268
- <button id="translator-buttonDoNotAgree" type="button" class="btn btn-outline-secondary mr-2" style="min-width: 20rem">
268
+ <button id="translator-buttonDoNotAgree" type="button" class="btn btn-outline-secondary mb-1 mr-2" style="min-width: 20rem">
269
269
  Nein, Übersetzung abschalten
270
270
  </button>
271
- <button id="translator-buttonAgree" type="button" class="btn btn-primary" style="min-width: 20rem">
271
+ <button id="translator-buttonAgree" type="button" class="btn btn-primary mb-1 mr-2" style="min-width: 20rem">
272
272
  Ja, bitte übersetzen
273
273
  </button>
274
- <button id="translator-buttonSave" type="button" class="btn btn-outline-secondary mr-2" style="display:none; min-width: 20rem">
274
+ <button id="translator-buttonSave" type="button" class="btn btn-outline-secondary mb-1 mr-2" style="display:none; min-width: 20rem">
275
275
  Auswahl speichern
276
276
  </button>
277
- <button id="translator-buttonAgreeAll" type="button" class="btn btn-primary" style="display:none; min-width: 20rem">
277
+ <button id="translator-buttonAgreeAll" type="button" class="btn btn-primary mb-1 mr-2" style="display:none; min-width: 20rem">
278
278
  Allen zustimmen
279
279
  </button>
280
280
  </div>
@@ -160,7 +160,7 @@ j1.adapter['clipboard'] = (function (j1, window) {
160
160
  if ( isNoClip.length == 0) {
161
161
  var btnHtml = '';
162
162
 
163
- btnHtml = '<div class="j1-clipboard"><span class="btn-clipboard j1-tooltip" data-toggle="tooltip" data-placement="left" title="' + btnTitle +'">' + btnText + '</span></div>';
163
+ btnHtml = '<div class="j1-clipboard"><span class="btn-clipboard j1-tooltip" data-bs-toggle="tooltip" data-placement="left" title="' + btnTitle +'">' + btnText + '</span></div>';
164
164
 
165
165
  $(this).before(btnHtml);
166
166
  $('.btn-clipboard').tooltip();
@@ -190,10 +190,12 @@ j1.adapter['cookieConsent'] = (function (j1, window) {
190
190
  logger.info('\n' + 'state: ' + _this.getState());
191
191
  logger.debug('\n' + 'module initialized successfully');
192
192
 
193
- $('#quickLinksCookieButton').click(function(e) {
194
- logger.info('\n' + 'call default action');
195
- j1.cookieConsent.showDialog();
196
- });
193
+ // Click events moved to Navigator (core)
194
+ //
195
+ // $('#quickLinksCookieButton').click(function(e) {
196
+ // logger.info('\n' + 'call default action');
197
+ // j1.cookieConsent.showDialog();
198
+ // });
197
199
 
198
200
  clearInterval(dependencies_met_page_ready);
199
201
  }
@@ -267,15 +269,18 @@ j1.adapter['cookieConsent'] = (function (j1, window) {
267
269
  $('#quickLinksCookieButton').css('display', 'block');
268
270
  }
269
271
 
270
- logger.debug('\n' + 'j1 cookies found:' + j1Cookies.length);
271
- j1Cookies.forEach(item => console.log('j1.core.switcher: ' + item));
272
- logger.debug('\n' + 'ga cookies found:' + gaCookies.length);
273
- gaCookies.forEach(item => console.log('j1.core.switcher: ' + item));
274
-
275
- if (user_agent.includes('iPad')) {
276
- logger.warn('\n' + 'product detected : ' + platform.product);
277
- logger.warn('\n' + 'skip deleting (unwanted) cookies for this platform');
278
- }
272
+ // jadams, 2021-11-29: disabled additional logs to verify the existance
273
+ // of J1 and GA cookies (testing only)
274
+ //
275
+ // logger.debug('\n' + 'j1 cookies found:' + j1Cookies.length);
276
+ // j1Cookies.forEach(item => console.log('j1.core.switcher: ' + item));
277
+ // logger.debug('\n' + 'ga cookies found:' + gaCookies.length);
278
+ // gaCookies.forEach(item => console.log('j1.core.switcher: ' + item));
279
+ //
280
+ // if (user_agent.includes('iPad')) {
281
+ // logger.warn('\n' + 'product detected : ' + platform.product);
282
+ // logger.warn('\n' + 'skip deleting (unwanted) cookies for this platform');
283
+ // }
279
284
 
280
285
  // Manage Google Analytics OptIn/Out
281
286
  // See: https://github.com/luciomartinez/gtag-opt-in/wiki
@@ -234,9 +234,9 @@ var j1 = (function () {
234
234
  };
235
235
  var user_state = {
236
236
  'writer': 'j1.adapter',
237
- 'theme_name': '',
237
+ 'theme_name': 'UnoLight',
238
238
  'theme_css': '',
239
- 'theme_author': '',
239
+ 'theme_author': 'J1 Team',
240
240
  'theme_version': '{{template_version}}',
241
241
  'session_active': false,
242
242
  'google_translate': 'disabled',
@@ -540,12 +540,12 @@ var j1 = (function () {
540
540
  if (user_session.authenticated === 'true') {
541
541
  // set signout
542
542
  logger.info('\n' + 'show signout icon');
543
- $('#navLinkSignInOut').attr('data-target','#modalOmniSignOut');
543
+ $('#navLinkSignInOut').attr('data-bs-target','#modalOmniSignOut');
544
544
  $('#iconSignInOut').removeClass('mdi-login').addClass('mdi-logout');
545
545
  } else {
546
546
  // set signin
547
547
  logger.info('\n' + 'show signin icon');
548
- $('#navLinkSignInOut').attr('data-target','#modalOmniSignIn');
548
+ $('#navLinkSignInOut').attr('data-bs-target','#modalOmniSignIn');
549
549
  $('#iconSignInOut').removeClass('mdi-logout').addClass('mdi-login');
550
550
  }
551
551
  logger.info('\n' + 'authentication detected as: ' + user_session.authenticated);
@@ -776,7 +776,7 @@ var j1 = (function () {
776
776
  }
777
777
  } else {
778
778
  logText = '\n' + 'no banner found in site';
779
- logger.warn(logText);
779
+ logger.debug(logText);
780
780
  return false;
781
781
  }
782
782
  return true;
@@ -879,7 +879,7 @@ var j1 = (function () {
879
879
  }
880
880
  } else {
881
881
  logText = '\n' + 'no panel found in site';
882
- logger.warn(logText);
882
+ logger.debug(logText);
883
883
  return false;
884
884
  }
885
885
  return true;
@@ -931,7 +931,7 @@ var j1 = (function () {
931
931
  selector.load(footer_data_path, cb_load_closure(id));
932
932
  } else {
933
933
  logText = '\n' + 'data not loaded';
934
- logger.warn(logText);
934
+ logger.debug(logText);
935
935
  j1.setXhrDataState(id, 'not loaded');
936
936
  j1.setXhrDomState(id, 'pending');
937
937
  return false;
@@ -1041,8 +1041,8 @@ var j1 = (function () {
1041
1041
  setTimeout (function() {
1042
1042
  // Manage providers for personalization OptIn/Out (Comments|Ads)
1043
1043
  if (!user_consent.personalization) {
1044
- logger.warn('\n' + 'disable comment provider: ' + comment_provider);
1045
- logger.warn('\n' + 'personalization not allowed, privacy settings for personalization: ' + user_consent.personalization);
1044
+ logger.debug('\n' + 'disable comment provider: ' + comment_provider);
1045
+ logger.debug('\n' + 'personalization not allowed, privacy settings for personalization: ' + user_consent.personalization);
1046
1046
  $('#leave-a-comment').remove();
1047
1047
  if (comment_provider === 'disqus') {
1048
1048
  $('#dsq-count-scr').remove();
@@ -1079,7 +1079,7 @@ var j1 = (function () {
1079
1079
  // no dropcaps if translation enabled
1080
1080
  if (user_translate.translationEnabled) {
1081
1081
  logger.info('\n' + 'translation enabled: ' + user_translate.translationEnabled);
1082
- logger.warn('\n' + 'skipped processing of dropcaps');
1082
+ logger.debug('\n' + 'skipped processing of dropcaps');
1083
1083
  } else {
1084
1084
  // initialize dropcaps
1085
1085
  logger.info('\n' + 'post processing: createDropCap');
@@ -1107,7 +1107,7 @@ var j1 = (function () {
1107
1107
  logger.info('\n' + 'tracking disabled, tracking id found: ' + tracking_id);
1108
1108
  }
1109
1109
  } else {
1110
- logger.warn('\n' + 'tracking not allowed, privacy settings for analysis: ' + user_consent.analysis);
1110
+ logger.debug('\n' + 'tracking not allowed, privacy settings for analysis: ' + user_consent.analysis);
1111
1111
  }
1112
1112
 
1113
1113
  // show|hide cookie icon (should MOVED to Cookiebar ???)
@@ -1137,12 +1137,12 @@ var j1 = (function () {
1137
1137
  if (user_session.authenticated === 'true') {
1138
1138
  // set signout
1139
1139
  logger.info('\n' + 'show signout icon');
1140
- $('#navLinkSignInOut').attr('data-target','#modalOmniSignOut');
1140
+ $('#navLinkSignInOut').attr('data-bs-target','#modalOmniSignOut');
1141
1141
  $('#iconSignInOut').removeClass('mdi-login').addClass('mdi-logout');
1142
1142
  } else {
1143
1143
  // set signin
1144
1144
  logger.info('\n' + 'show signin icon');
1145
- $('#navLinkSignInOut').attr('data-target','#modalOmniSignIn');
1145
+ $('#navLinkSignInOut').attr('data-bs-target','#modalOmniSignIn');
1146
1146
  $('#iconSignInOut').removeClass('mdi-logout').addClass('mdi-login');
1147
1147
  }
1148
1148
  logger.info('\n' + 'authentication detected as: ' + user_session.authenticated);
@@ -1155,8 +1155,8 @@ var j1 = (function () {
1155
1155
  // for GDPR compliance, themes feature may disabled on
1156
1156
  // privacy settings
1157
1157
  if (!user_consent.personalization) {
1158
- logger.warn('\n' + 'disable themes feature because of privacy settings');
1159
- logger.warn('\n' + 'personalization not allowed, privacy settings for personalization: ' + user_consent.personalization);
1158
+ logger.debug('\n' + 'disable themes feature because of privacy settings');
1159
+ logger.debug('\n' + 'personalization not allowed, privacy settings for personalization: ' + user_consent.personalization);
1160
1160
  $("#themes_menu").hide();
1161
1161
  } else {
1162
1162
  $("#themes_menu").show();
@@ -1198,8 +1198,8 @@ var j1 = (function () {
1198
1198
 
1199
1199
  // Manage providers for personalization OptIn/Out (Comments|Ads)
1200
1200
  if (!user_consent.personalization) {
1201
- logger.warn('\n' + 'disable comment provider: ' + comment_provider);
1202
- logger.warn('\n' + 'personalization not allowed, privacy settings for personalization: ' + user_consent.personalization);
1201
+ logger.debug('\n' + 'disable comment provider: ' + comment_provider);
1202
+ logger.debug('\n' + 'personalization not allowed, privacy settings for personalization: ' + user_consent.personalization);
1203
1203
  $('#leave-a-comment').remove();
1204
1204
  if (comment_provider === 'disqus') {
1205
1205
  $('#dsq-count-scr').remove();
@@ -1260,7 +1260,7 @@ var j1 = (function () {
1260
1260
  // no dropcaps if translation enabled
1261
1261
  if (user_translate.translationEnabled) {
1262
1262
  logger.info('\n' + 'translation enabled: ' + user_translate.translationEnabled);
1263
- logger.warn('\n' + 'skipped processing of dropcaps');
1263
+ logger.debug('\n' + 'skipped processing of dropcaps');
1264
1264
  } else {
1265
1265
  // initialize dropcaps
1266
1266
  logger.info('\n' + 'post processing: createDropCap');
@@ -1289,7 +1289,7 @@ var j1 = (function () {
1289
1289
  logger.info('\n' + 'tracking disabled, tracking id found: ' + tracking_id);
1290
1290
  }
1291
1291
  } else {
1292
- logger.warn('\n' + 'tracking not allowed, privacy settings for analysis: ' + user_consent.analysis);
1292
+ logger.debug('\n' + 'tracking not allowed, privacy settings for analysis: ' + user_consent.analysis);
1293
1293
  }
1294
1294
 
1295
1295
  logger.info('\n' + 'mode detected: web');
@@ -1338,8 +1338,8 @@ var j1 = (function () {
1338
1338
  // for GDPR compliance, themes feature may disabled on
1339
1339
  // privacy settings
1340
1340
  if (!user_consent.personalization) {
1341
- logger.warn('\n' + 'disable themes feature because of privacy settings');
1342
- logger.warn('\n' + 'personalization not allowed, privacy settings for personalization: ' + user_consent.personalization);
1341
+ logger.debug('\n' + 'disable themes feature because of privacy settings');
1342
+ logger.debug('\n' + 'personalization not allowed, privacy settings for personalization: ' + user_consent.personalization);
1343
1343
  $("#themes_menu").hide();
1344
1344
  } else {
1345
1345
  $("#themes_menu").show();
@@ -1594,7 +1594,7 @@ var j1 = (function () {
1594
1594
  if (options.xhr_data_element !== '') {
1595
1595
  logger.info('\n' + 'XHR data element found: ' + options.xhr_data_element);
1596
1596
  } else {
1597
- logger.warn('\n' + 'no XHR data element found, loading data aborted');
1597
+ logger.debug('\n' + 'no XHR data element found, loading data aborted');
1598
1598
  return;
1599
1599
  }
1600
1600
 
@@ -1626,7 +1626,7 @@ var j1 = (function () {
1626
1626
  // failsafe - prevent XHR load errors
1627
1627
  if (id != '#undefined') {
1628
1628
  logText = '\n' + 'data not loaded on id:' + id;
1629
- logger.warn(logText);
1629
+ logger.debug(logText);
1630
1630
  j1.setXhrDataState(id, 'not loaded');
1631
1631
  j1.setXhrDomState(id, 'not loaded');
1632
1632
  // Set processing state to 'finished' to complete module load
@@ -499,11 +499,11 @@ j1.adapter['navigator'] = (function (j1, window) {
499
499
  // See: https://stackoverflow.com/questions/13524107/how-to-set-data-attributes-in-html-elements
500
500
  if (user_session.authenticated === 'true') {
501
501
  // Set SignOut
502
- $('#navLinkSignInOut').attr('data-target', '#modalOmniSignOut');
502
+ $('#navLinkSignInOut').attr('data-bs-target', '#modalOmniSignOut');
503
503
  $('#iconSignInOut').removeClass('mdi-login').addClass('mdi-logout');
504
504
  } else {
505
505
  // Set SignIn
506
- $('#navLinkSignInOut').attr('data-target', '#modalOmniSignIn');
506
+ $('#navLinkSignInOut').attr('data-bs-target', '#modalOmniSignIn');
507
507
  $('#iconSignInOut').removeClass('mdi-logout').addClass('mdi-login');
508
508
  }
509
509
  }
@@ -806,7 +806,7 @@ j1.adapter['navigator'] = (function (j1, window) {
806
806
  // $('#navigator_nav_menu')
807
807
  // .find('li.dropdown.nav-item')
808
808
 
809
- $('[data-toggle]').closest('li')
809
+ $('[data-bs-toggle]').closest('li')
810
810
  .on('mouseenter', function (inEvent) {
811
811
  if (theElement) theElement.removeClass('open');
812
812
  window.clearTimeout(theTimer);
@@ -118,14 +118,12 @@ j1.adapter['themer'] = (function (j1, window) {
118
118
  var logText;
119
119
  var cookie_written;
120
120
 
121
- var cssExtension = (environment === 'production')
122
- ? '.min.css'
123
- : '.css';
121
+ var cssExtension = (environment === 'production') ? '.min.css' : '.css';
124
122
 
125
123
  var default_theme_name = '{{default_theme.name}}';
126
124
  var default_theme_author = '{{default_theme.author}}';
127
125
  var default_theme_author_url = '{{default_theme.author_url}}';
128
- var default_theme_css_name = default_theme_name.toLowerCase().replace(' ', '-');
126
+ var default_theme_css_name = default_theme_name.toLowerCase();
129
127
  var default_theme_css = '{{asset_path}}/{{theme_base}}/' + default_theme_css_name + '/bootstrap' + cssExtension;
130
128
 
131
129
  var interval_count = 0;
@@ -201,6 +199,17 @@ j1.adapter['themer'] = (function (j1, window) {
201
199
  user_state.theme_css = default_theme_css;
202
200
  user_state.theme_author = default_theme_author;
203
201
  user_state.theme_author_url = default_theme_author_url;
202
+
203
+ cookie_written = j1.writeCookie({
204
+ name: cookie_names.user_state,
205
+ data: user_state,
206
+ samesite: 'Strict',
207
+ secure: secure,
208
+ expires: 365
209
+ });
210
+ if (!cookie_written) {
211
+ logger.error('\n' + 'failed to write cookie: ' + cookie_names.user_consent);
212
+ }
204
213
  }
205
214
 
206
215
  styleLoaded = styleSheetLoaded(user_state.theme_css);
@@ -98,7 +98,6 @@ j1.adapter['translator'] = (function (j1, window) {
98
98
  var secure;
99
99
  var logText;
100
100
  var cookie_written;
101
- var modal_language;
102
101
  var navigator_language;
103
102
  var translation_language;
104
103
  var ddSourceLanguage;
@@ -171,7 +170,6 @@ j1.adapter['translator'] = (function (j1, window) {
171
170
  domain = hostname.substring(hostname.lastIndexOf('.', hostname.lastIndexOf('.') - 1) + 1);
172
171
  cookie_domain = (domain.includes('.')) ? '.' + domain : domain;
173
172
  secure = (url.protocol.includes('https')) ? true : false;
174
- modal_language = "{{site.language}}";
175
173
  navigator_language = navigator.language || navigator.userLanguage; // userLanguage for MS IE compatibility
176
174
  translation_language = navigator_language.split('-')[0];
177
175
  cookie_names = j1.getCookieNames();
@@ -270,6 +268,10 @@ j1.adapter['translator'] = (function (j1, window) {
270
268
  expires: 365
271
269
  });
272
270
 
271
+ if (moduleOptions.dialogLanguage === 'auto') {
272
+ moduleOptions.dialogLanguage = '{{contentLanguage}}';
273
+ }
274
+
273
275
  j1.translator = new Translator({
274
276
  contentURL: moduleOptions.contentURL, // dialog content (modals) for all supported languages
275
277
  cookieName: moduleOptions.cookieName, // the name of the User State Cookie (primary data)
@@ -302,10 +304,12 @@ j1.adapter['translator'] = (function (j1, window) {
302
304
  }
303
305
  }
304
306
 
305
- $('#quickLinksTranslateButton').click(function(e) {
306
- logger.info('\n' + 'call default action');
307
- j1.translator.showDialog();
308
- });
307
+ // Click events moved to Navigator (core)
308
+ //
309
+ // $('#quickLinksTranslateButton').click(function(e) {
310
+ // logger.info('\n' + 'call default action');
311
+ // j1.translator.showDialog();
312
+ // });
309
313
 
310
314
  _this.setState('finished');
311
315
  logger.info('\n' + 'state: ' + _this.getState());