j1-template 2022.0.9 → 2022.0.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_includes/themes/j1/modules/ads/google_ad_content_home.html +11 -0
- data/_includes/themes/j1/modules/ads/google_ad_top_home.html +11 -0
- data/apps/public/cc/index.adoc +0 -1
- data/assets/data/article_navigator/index.html +0 -1
- data/assets/data/news_panel_posts/index.html +0 -1
- data/assets/error_pages/HTTP445.html +5 -4
- data/assets/error_pages/HTTP446.html +2 -2
- data/assets/error_pages/HTTP447.html +110 -0
- data/assets/error_pages/HTTP448.html +111 -0
- data/assets/themes/j1/adapter/js/advertising.js +442 -0
- data/assets/themes/j1/adapter/js/algolia.js +10 -13
- data/assets/themes/j1/adapter/js/analytics.js +259 -0
- data/assets/themes/j1/adapter/js/asciidoctor.js +10 -13
- data/assets/themes/j1/adapter/js/attic.js +10 -5
- data/assets/themes/j1/adapter/js/bmd.js +10 -14
- data/assets/themes/j1/adapter/js/carousel.js +10 -13
- data/assets/themes/j1/adapter/js/clipboard.js +9 -10
- data/assets/themes/j1/adapter/js/comments.js +407 -0
- data/assets/themes/j1/adapter/js/cookieConsent.js +107 -84
- data/assets/themes/j1/adapter/js/fab.js +11 -11
- data/assets/themes/j1/adapter/js/framer.js +59 -64
- data/assets/themes/j1/adapter/js/j1.js +203 -258
- data/assets/themes/j1/adapter/js/justifiedGallery.js +12 -14
- data/assets/themes/j1/adapter/js/justifiedGalleryCustomizer.js +10 -13
- data/assets/themes/j1/adapter/js/lightbox.js +12 -9
- data/assets/themes/j1/adapter/js/logger.js +11 -5
- data/assets/themes/j1/adapter/js/mmenu.js +11 -12
- data/assets/themes/j1/adapter/js/navigator.js +13 -12
- data/assets/themes/j1/adapter/js/quicksearch.js +10 -13
- data/assets/themes/j1/adapter/js/rouge.js +11 -14
- data/assets/themes/j1/adapter/js/rtable.js +10 -13
- data/assets/themes/j1/adapter/js/rtextResizer.js +10 -13
- data/assets/themes/j1/adapter/js/scroller.js +14 -12
- data/assets/themes/j1/adapter/js/themer.js +12 -3
- data/assets/themes/j1/adapter/js/toccer.js +10 -13
- data/assets/themes/j1/adapter/js/translator.js +50 -96
- data/assets/themes/j1/core/css/themes/unolight/bootstrap.css +6 -0
- data/assets/themes/j1/core/css/themes/unolight/bootstrap.min.css +1 -1
- data/assets/themes/j1/core/js/template.js +13 -5
- data/assets/themes/j1/core/js/template.min.js +1 -1
- data/assets/themes/j1/core/js/template.min.js.map +1 -1
- data/assets/themes/j1/modules/advertising/js/google/adInitializer.js +127 -0
- data/assets/themes/j1/modules/cookieConsent/js/cookieConsent.js +11 -2
- data/assets/themes/j1/modules/cookieConsent/js/cookieConsent.min.js +1 -1
- data/assets/themes/j1/modules/deeplAPI/js/deeplAPI.2.js +1 -1
- data/assets/themes/j1/modules/deeplAPI/js/deeplAPI.js +1 -1
- data/assets/themes/j1/modules/scroller/js/scroller.js +1 -1
- data/lib/j1/version.rb +1 -1
- data/lib/starter_web/Gemfile +1 -1
- data/lib/starter_web/_config.yml +1 -13
- data/lib/starter_web/_data/apps/carousel.yml +2 -2
- data/lib/starter_web/_data/apps/defaults/carousel.yml +3 -2
- data/lib/starter_web/_data/apps/defaults/justifiedGallery.yml +2 -2
- data/lib/starter_web/_data/apps/defaults/justifiedGalleryCustomizer.yml +2 -2
- data/lib/starter_web/_data/apps/defaults/lightGallery.yml +2 -2
- data/lib/starter_web/_data/apps/defaults/lightbox.yml +2 -2
- data/lib/starter_web/_data/apps/justifiedGallery.yml +2 -2
- data/lib/starter_web/_data/apps/justifiedGalleryCustomizer.yml +2 -2
- data/lib/starter_web/_data/apps/lightGallery.yml +2 -2
- data/lib/starter_web/_data/apps/lightbox.yml +2 -2
- data/lib/starter_web/_data/blocks/banner.yml +3 -2
- data/lib/starter_web/_data/blocks/defaults/banner.yml +9 -0
- data/lib/starter_web/_data/blocks/defaults/footer.yml +9 -0
- data/lib/starter_web/_data/blocks/defaults/panel.yml +9 -0
- data/lib/starter_web/_data/blocks/footer.yml +3 -2
- data/lib/starter_web/_data/blocks/panel.yml +3 -2
- data/lib/starter_web/_data/builder/blog_navigator.yml +3 -2
- data/lib/starter_web/_data/builder/defaults/blog_navigator.yml +8 -8
- data/lib/starter_web/_data/j1_config.yml +0 -116
- data/lib/starter_web/_data/layouts/default.yml +21 -21
- data/lib/starter_web/_data/layouts/home.ads.yml +262 -0
- data/lib/starter_web/_data/layouts/home.no-ads.yml +262 -0
- data/lib/starter_web/_data/layouts/home.yml +24 -0
- data/lib/starter_web/_data/layouts/page.yml +7 -18
- data/lib/starter_web/_data/layouts/post.yml +0 -11
- data/lib/starter_web/_data/modules/advertising.yml +139 -12
- data/lib/starter_web/_data/modules/analytics.yml +99 -0
- data/lib/starter_web/_data/modules/attics.yml +3 -2
- data/lib/starter_web/_data/modules/comments.yml +55 -0
- data/lib/starter_web/_data/modules/cookieconsent.yml +2 -1
- data/lib/starter_web/_data/modules/cookies.yml +1 -1
- data/lib/starter_web/_data/modules/defaults/advertising.yml +105 -0
- data/lib/starter_web/_data/modules/defaults/analytics.yml +93 -0
- data/lib/starter_web/_data/modules/defaults/attics.yml +3 -2
- data/lib/starter_web/_data/modules/defaults/authentication.yml +51 -48
- data/lib/starter_web/_data/modules/defaults/comments.yml +114 -0
- data/lib/starter_web/_data/modules/defaults/cookieconsent.yml +3 -3
- data/lib/starter_web/_data/modules/defaults/cookies.yml +105 -26
- data/lib/starter_web/_data/modules/defaults/fab.yml +4 -2
- data/lib/starter_web/_data/modules/defaults/framer.yml +2 -3
- data/lib/starter_web/_data/modules/defaults/log4javascript.yml +3 -2
- data/lib/starter_web/_data/modules/defaults/log4r.yml +2 -2
- data/lib/starter_web/_data/modules/defaults/navigator.yml +4 -2
- data/lib/starter_web/_data/modules/defaults/quicksearch.yml +4 -3
- data/lib/starter_web/_data/modules/defaults/rtable.yml +3 -2
- data/lib/starter_web/_data/modules/defaults/scoller.yml +3 -2
- data/lib/starter_web/_data/modules/defaults/themer.yml +119 -118
- data/lib/starter_web/_data/modules/defaults/toccer.yml +1 -1
- data/lib/starter_web/_data/modules/defaults/translator.yml +1 -1
- data/lib/starter_web/_data/modules/fab.yml +3 -2
- data/lib/starter_web/_data/modules/framer.yml +3 -4
- data/lib/starter_web/_data/modules/log4r.yml +2 -2
- data/lib/starter_web/_data/modules/navigator.yml +4 -2
- data/lib/starter_web/_data/modules/quicksearch.yml +3 -3
- data/lib/starter_web/_data/modules/rtable.yml +3 -3
- data/lib/starter_web/_data/modules/scroller.yml +2 -3
- data/lib/starter_web/_data/modules/themer.yml +2 -3
- data/lib/starter_web/_data/modules/toccer.yml +3 -3
- data/lib/starter_web/_data/modules/translator.yml +1 -1
- data/lib/starter_web/_data/plugins/defaults/paginator.yml +2 -2
- data/lib/starter_web/_data/plugins/paginator.yml +2 -2
- data/lib/starter_web/_data/resources.yml +447 -290
- data/lib/starter_web/_includes/attributes.asciidoc +1 -1
- data/lib/starter_web/_includes/themes/j1/modules/ads/google_ad_content_home.html +11 -0
- data/lib/starter_web/_includes/themes/j1/modules/ads/google_ad_top_home.html +11 -0
- data/lib/starter_web/_plugins/lunr_index.rb +1 -1
- data/lib/starter_web/collections/posts/public/featured/_posts/0000-00-00-welcome-to-j1.adoc.erb +1 -1
- data/lib/starter_web/collections/posts/public/featured/_posts/2021-01-01-about-cookies.adoc +1 -1
- data/lib/starter_web/collections/posts/public/featured/_posts/2021-01-01-about-cookies.ads.asciidoc +196 -0
- data/lib/starter_web/collections/posts/public/featured/_posts/2021-01-01-about-cookies.comments.asciidoc +182 -0
- data/lib/starter_web/collections/posts/public/featured/_posts/2021-02-01-site-generators.adoc +1 -1
- data/lib/starter_web/collections/posts/public/featured/_posts/2021-03-03-about-j1.adoc +1 -1
- data/lib/starter_web/collections/posts/public/series/_posts/2020-01-01-post-wiki-series.adoc +1 -1
- data/lib/starter_web/collections/posts/public/series/_posts/2020-01-02-post-wiki-series.adoc +1 -1
- data/lib/starter_web/collections/posts/public/series/_posts/2020-01-03-post-wiki-series.adoc +1 -1
- data/lib/starter_web/index.html +0 -4
- data/lib/starter_web/package.json +1 -1
- data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/documentation.adoc +0 -1
- data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/multi.adoc +0 -1
- data/lib/starter_web/pages/public/asciidoc_skeletons/simple-document/simple.adoc +0 -1
- data/lib/starter_web/pages/public/blog/navigator/archive/categoryview.html +0 -1
- data/lib/starter_web/pages/public/blog/navigator/archive/dateview.html +0 -1
- data/lib/starter_web/pages/public/blog/navigator/archive/tagview.html +0 -1
- data/lib/starter_web/pages/public/blog/navigator/archive.html +0 -1
- data/lib/starter_web/pages/public/blog/navigator/index.html +0 -1
- data/lib/starter_web/pages/public/learn/roundtrip/100_present_images.adoc +4 -3
- data/lib/starter_web/pages/public/learn/roundtrip/100_present_images.ads.asciidoc +265 -0
- data/lib/starter_web/pages/public/learn/roundtrip/100_present_images.base.asciidoc +237 -0
- data/lib/starter_web/pages/public/learn/roundtrip/100_present_images.comments.asciidoc +237 -0
- data/lib/starter_web/pages/public/learn/roundtrip/100_present_videos.adoc +62 -0
- data/lib/starter_web/pages/public/learn/roundtrip/_includes/google-ad.js +130 -0
- data/lib/starter_web/pages/public/legal/en/100_copyright.adoc +0 -1
- data/lib/starter_web/pages/public/legal/en/200_impress.adoc +0 -1
- data/lib/starter_web/pages/public/legal/en/400_comment_policy.adoc +0 -1
- data/lib/starter_web/pages/public/manuals/dropdown-help.adoc +23 -2
- data/lib/starter_web/pages/public/previewer/preview_bootstrap_theme.adoc +100 -166
- data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
- data/lib/starter_web/utilsrv/package.json +1 -1
- metadata +25 -70
- data/_includes/themes/j1/blocks/ads/ad.html +0 -64
- data/_includes/themes/j1/modules/boards/news_pin_board.html +0 -183
- data/_includes/themes/j1/modules/connectors/ad/custom-provider.html +0 -30
- data/_includes/themes/j1/modules/connectors/ad/google-adsense.html +0 -62
- data/_includes/themes/j1/modules/connectors/ads +0 -56
- data/_includes/themes/j1/modules/connectors/analytic/custom-provider.html +0 -32
- data/_includes/themes/j1/modules/connectors/analytic/google-analytics.html +0 -30
- data/_includes/themes/j1/modules/connectors/analytics +0 -60
- data/_includes/themes/j1/modules/connectors/comment/commento.html +0 -31
- data/_includes/themes/j1/modules/connectors/comment/custom-provider.html +0 -30
- data/_includes/themes/j1/modules/connectors/comment/disqus.html +0 -32
- data/_includes/themes/j1/modules/connectors/comment/facebook.html +0 -30
- data/_includes/themes/j1/modules/connectors/comment/hyvor.html +0 -32
- data/_includes/themes/j1/modules/connectors/comment/just-comments.html +0 -31
- data/_includes/themes/j1/modules/connectors/comments +0 -64
- data/_includes/themes/j1/modules/connectors/sharing +0 -29
- data/_includes/themes/j1/modules/connectors/survey/custom-provider.html +0 -30
- data/_includes/themes/j1/modules/connectors/survey/jotform.html +0 -32
- data/_includes/themes/j1/modules/connectors/surveys +0 -58
- data/_includes/themes/j1/modules/connectors/translator +0 -58
- data/_includes/themes/j1/modules/connectors/translators/custom-translator.html +0 -32
- data/_includes/themes/j1/modules/connectors/translators/google-translator.html +0 -53
- data/_includes/themes/j1/modules/search/algolia.html +0 -181
- data/_includes/themes/j1/modules/search/docsearch.html +0 -42
- data/assets/data/disqus.js +0 -81
- data/assets/data/hyvor.js +0 -72
- data/lib/starter_web/pages/_test_pages/100_side-bar-tester.adoc +0 -244
- data/lib/starter_web/pages/_test_pages/_includes/attributes.asciidoc +0 -110
- data/lib/starter_web/pages/_test_pages/_includes/documents/100_gistblock.asciidoc +0 -28
- data/lib/starter_web/pages/_test_pages/_includes/documents/410_bottom_info.asciidoc +0 -14
- data/lib/starter_web/pages/_test_pages/_includes/documents/410_bottom_left_warning.asciidoc +0 -11
- data/lib/starter_web/pages/_test_pages/_includes/documents/410_bottom_right_danger.asciidoc +0 -11
- data/lib/starter_web/pages/_test_pages/_includes/documents/410_central_success.asciidoc +0 -11
- data/lib/starter_web/pages/_test_pages/_includes/documents/410_full_height_left_info.asciidoc +0 -11
- data/lib/starter_web/pages/_test_pages/_includes/documents/410_full_height_right_success.asciidoc +0 -11
- data/lib/starter_web/pages/_test_pages/_includes/documents/410_table_bs_modal_examples.asciidoc +0 -47
- data/lib/starter_web/pages/_test_pages/_includes/documents/410_top_info.asciidoc +0 -11
- data/lib/starter_web/pages/_test_pages/_includes/documents/410_top_left_info.asciidoc +0 -11
- data/lib/starter_web/pages/_test_pages/_includes/documents/410_top_right_success.asciidoc +0 -11
- data/lib/starter_web/pages/_test_pages/_includes/documents/419_advanced_modals_demo.asciidoc +0 -337
- data/lib/starter_web/pages/_test_pages/_includes/documents/tables/bs_modal_examples.asciidoc +0 -47
- data/lib/starter_web/pages/_test_pages/accordion-01-tester.adoc +0 -220
- data/lib/starter_web/pages/_test_pages/accordion-02-tester.adoc +0 -177
- data/lib/starter_web/pages/_test_pages/accordion-03-tester.adoc +0 -148
- data/lib/starter_web/pages/_test_pages/attribute-changes-01-tester.adoc +0 -226
- data/lib/starter_web/pages/_test_pages/backdrop-tester.adoc +0 -109
- data/lib/starter_web/pages/_test_pages/button-tester-1.adoc +0 -127
- data/lib/starter_web/pages/_test_pages/card-tester.adoc +0 -128
- data/lib/starter_web/pages/_test_pages/cookieConsent.adoc +0 -96
- data/lib/starter_web/pages/_test_pages/deepl.0.adoc +0 -258
- data/lib/starter_web/pages/_test_pages/deepl.adoc +0 -204
- data/lib/starter_web/pages/_test_pages/desandro-button.adoc +0 -171
- data/lib/starter_web/pages/_test_pages/desandro.adoc +0 -147
- data/lib/starter_web/pages/_test_pages/flipcard-1-tester.adoc +0 -308
- data/lib/starter_web/pages/_test_pages/formular-01-tester.adoc +0 -167
- data/lib/starter_web/pages/_test_pages/formular-02-tester.adoc +0 -727
- data/lib/starter_web/pages/_test_pages/google-translate-tester.0.adoc +0 -113
- data/lib/starter_web/pages/_test_pages/google-translate-tester.1.adoc +0 -231
- data/lib/starter_web/pages/_test_pages/google-translate-tester.3.adoc +0 -149
- data/lib/starter_web/pages/_test_pages/google-translate-tester.4.adoc +0 -237
- data/lib/starter_web/pages/_test_pages/infinite-scroll-tester-2.adoc +0 -183
- data/lib/starter_web/pages/_test_pages/infinite-scroll-tester-3.adoc +0 -235
- data/lib/starter_web/pages/_test_pages/infinite-scroll-tester-4.adoc +0 -222
- data/lib/starter_web/pages/_test_pages/infinite-scroll-tester-5.adoc +0 -119
- data/lib/starter_web/pages/_test_pages/infinite-scroll-tester.1.adoc +0 -236
- data/lib/starter_web/pages/_test_pages/infinite-scroll-tester.adoc +0 -225
- data/lib/starter_web/pages/_test_pages/list-group-tester.adoc +0 -265
- data/lib/starter_web/pages/_test_pages/tictok.adoc +0 -127
@@ -76,10 +76,7 @@ regenerate: true
|
|
76
76
|
/* eslint indent: "off" */
|
77
77
|
// -----------------------------------------------------------------------------
|
78
78
|
'use strict';
|
79
|
-
|
80
|
-
{% comment %} Main
|
81
|
-
-------------------------------------------------------------------------------- {% endcomment %}
|
82
|
-
j1.adapter['justifiedGallery'] = (function (j1, window) {
|
79
|
+
j1.adapter.justifiedGallery = (function (j1, window) {
|
83
80
|
|
84
81
|
{% comment %} Global variables
|
85
82
|
------------------------------------------------------------------------------ {% endcomment %}
|
@@ -103,16 +100,6 @@ j1.adapter['justifiedGallery'] = (function (j1, window) {
|
|
103
100
|
// -------------------------------------------------------------------------
|
104
101
|
init: function (options) {
|
105
102
|
|
106
|
-
{% comment %} Set global variables
|
107
|
-
-------------------------------------------------------------------------- {% endcomment %}
|
108
|
-
_this = j1.adapter.justifiedGallery;
|
109
|
-
logger = log4javascript.getLogger('j1.adapter.justifiedGallery');
|
110
|
-
|
111
|
-
// initialize state flag
|
112
|
-
_this.setState('started');
|
113
|
-
logger.info('\n' + 'state: ' + _this.getState());
|
114
|
-
logger.info('\n' + 'module is being initialized');
|
115
|
-
|
116
103
|
// -----------------------------------------------------------------------
|
117
104
|
// Default module settings
|
118
105
|
// -----------------------------------------------------------------------
|
@@ -121,6 +108,17 @@ j1.adapter['justifiedGallery'] = (function (j1, window) {
|
|
121
108
|
generated: '{{site.time}}'
|
122
109
|
}, options);
|
123
110
|
|
111
|
+
// -----------------------------------------------------------------------
|
112
|
+
// Global variable settings
|
113
|
+
// -----------------------------------------------------------------------
|
114
|
+
_this = j1.adapter.justifiedGallery;
|
115
|
+
logger = log4javascript.getLogger('j1.adapter.justifiedGallery');
|
116
|
+
|
117
|
+
// initialize state flag
|
118
|
+
_this.setState('started');
|
119
|
+
logger.info('\n' + 'state: ' + _this.getState());
|
120
|
+
logger.info('\n' + 'module is being initialized');
|
121
|
+
|
124
122
|
{% comment %} Load module config from yml data
|
125
123
|
-------------------------------------------------------------------------- {% endcomment %}
|
126
124
|
// Load module DEFAULTS|CONFIG
|
@@ -89,10 +89,7 @@ regenerate: true
|
|
89
89
|
/* eslint indent: "off" */
|
90
90
|
// -----------------------------------------------------------------------------
|
91
91
|
'use strict';
|
92
|
-
|
93
|
-
{% comment %} Main
|
94
|
-
-------------------------------------------------------------------------------- {% endcomment %}
|
95
|
-
j1.adapter['justifiedGalleryCustomizer'] = (function (j1, window) {
|
92
|
+
j1.adapter.justifiedGalleryCustomizer = (function (j1, window) {
|
96
93
|
|
97
94
|
{% comment %} Set global variables
|
98
95
|
------------------------------------------------------------------------------ {% endcomment %}
|
@@ -114,7 +111,15 @@ j1.adapter['justifiedGalleryCustomizer'] = (function (j1, window) {
|
|
114
111
|
init: function (options) {
|
115
112
|
|
116
113
|
// -----------------------------------------------------------------------
|
117
|
-
//
|
114
|
+
// Default module settings
|
115
|
+
// -----------------------------------------------------------------------
|
116
|
+
var settings = $.extend({
|
117
|
+
module_name: 'j1.adapter.justifiedGalleryCustomizer',
|
118
|
+
generated: '{{site.time}}'
|
119
|
+
}, options);
|
120
|
+
|
121
|
+
// -----------------------------------------------------------------------
|
122
|
+
// Global variable settings
|
118
123
|
// -----------------------------------------------------------------------
|
119
124
|
_this = j1.adapter.justifiedGalleryCustomizer;
|
120
125
|
logger = log4javascript.getLogger('j1.adapter.justifiedGalleryCustomizer');
|
@@ -124,14 +129,6 @@ j1.adapter['justifiedGalleryCustomizer'] = (function (j1, window) {
|
|
124
129
|
logger.info('\n' + 'state: ' + _this.getState());
|
125
130
|
logger.info('\n' + 'module is being initialized');
|
126
131
|
|
127
|
-
// -----------------------------------------------------------------------
|
128
|
-
// Default module settings
|
129
|
-
// -----------------------------------------------------------------------
|
130
|
-
var settings = $.extend({
|
131
|
-
module_name: 'j1.adapter.justifiedGalleryCustomizer',
|
132
|
-
generated: '{{site.time}}'
|
133
|
-
}, options);
|
134
|
-
|
135
132
|
{% comment %} Load gallery config from yml data
|
136
133
|
-------------------------------------------------------------------------- {% endcomment %}
|
137
134
|
/* eslint-disable */
|
@@ -80,11 +80,7 @@ regenerate: false
|
|
80
80
|
/* eslint indent: "off" */
|
81
81
|
// -----------------------------------------------------------------------------
|
82
82
|
'use strict';
|
83
|
-
|
84
|
-
{% comment %} Main
|
85
|
-
--------------------------------------------------------------- {% endcomment %}
|
86
|
-
// j1.Lightbox = (function (j1, window) {
|
87
|
-
j1.adapter['lightbox'] = (function (j1, window) {
|
83
|
+
j1.adapter.lightbox = (function (j1, window) {
|
88
84
|
|
89
85
|
{% comment %} Global variables
|
90
86
|
------------------------------------------------------------------------------ {% endcomment %}
|
@@ -106,16 +102,23 @@ j1.adapter['lightbox'] = (function (j1, window) {
|
|
106
102
|
// -------------------------------------------------------------------------
|
107
103
|
// Initializer
|
108
104
|
// -------------------------------------------------------------------------
|
109
|
-
init: function () {
|
110
|
-
|
111
|
-
|
105
|
+
init: function (options) {
|
106
|
+
|
107
|
+
// -----------------------------------------------------------------------
|
108
|
+
// Default module settings
|
109
|
+
// -----------------------------------------------------------------------
|
110
|
+
var settings = $.extend({
|
111
|
+
module_name: 'j1.adapter.lightbox',
|
112
|
+
generated: '{{site.time}}'
|
113
|
+
}, options);
|
112
114
|
|
113
115
|
// -----------------------------------------------------------------------
|
114
|
-
//
|
116
|
+
// Global variable settings
|
115
117
|
// -----------------------------------------------------------------------
|
116
118
|
_this = j1.adapter.lightbox;
|
117
119
|
logger = log4javascript.getLogger('j1.adapter.lightbox');
|
118
120
|
|
121
|
+
j1.adapter.lightbox.state = 'pending';
|
119
122
|
_this.setState('started');
|
120
123
|
logger.info('\n' + 'state: ' + _this.getState());
|
121
124
|
logger.info('\n' + 'module is being initialized');
|
@@ -80,8 +80,7 @@ regenerate: true
|
|
80
80
|
/* eslint indent: "off" */
|
81
81
|
// -----------------------------------------------------------------------------
|
82
82
|
'use strict';
|
83
|
-
|
84
|
-
j1.adapter['logger'] = (function (j1, window) {
|
83
|
+
j1.adapter.logger = (function (j1, window) {
|
85
84
|
|
86
85
|
// ---------------------------------------------------------------------------
|
87
86
|
// globals
|
@@ -176,7 +175,14 @@ j1.adapter['logger'] = (function (j1, window) {
|
|
176
175
|
// initialize state flag
|
177
176
|
j1.adapter.logger.state = 'started';
|
178
177
|
|
179
|
-
//
|
178
|
+
// -----------------------------------------------------------------------
|
179
|
+
// Default module settings
|
180
|
+
// -----------------------------------------------------------------------
|
181
|
+
var settings = $.extend({
|
182
|
+
module_name: 'j1.adapter.logger',
|
183
|
+
generated: '{{site.time}}'
|
184
|
+
}, options);
|
185
|
+
|
180
186
|
/* eslint-disable */
|
181
187
|
loggerOptions = $.extend({}, {{logger_options | replace: '=>', ':' | replace: 'nil', '""'}});
|
182
188
|
utilServerOptions = $.extend({}, {{util_server_options | replace: '=>', ':' | replace: 'nil', '""'}});
|
@@ -184,8 +190,8 @@ j1.adapter['logger'] = (function (j1, window) {
|
|
184
190
|
ajaxAppenderOptions = loggerOptions.appenders[1].appender;
|
185
191
|
|
186
192
|
// -----------------------------------------------------------------------
|
187
|
-
//
|
188
|
-
//
|
193
|
+
// Global variable settings
|
194
|
+
// -----------------------------------------------------------------------
|
189
195
|
_this = j1.adapter.logger;
|
190
196
|
logger = log4javascript.getLogger('j1.adapter.logger');
|
191
197
|
|
@@ -101,8 +101,7 @@ regenerate: true
|
|
101
101
|
/* eslint indent: "off" */
|
102
102
|
// -----------------------------------------------------------------------------
|
103
103
|
'use strict';
|
104
|
-
|
105
|
-
j1.adapter['mmenu'] = (function (j1, window) {
|
104
|
+
j1.adapter.mmenu = (function (j1, window) {
|
106
105
|
|
107
106
|
// ---------------------------------------------------------------------------
|
108
107
|
// globals
|
@@ -136,7 +135,15 @@ j1.adapter['mmenu'] = (function (j1, window) {
|
|
136
135
|
init: function (options) {
|
137
136
|
|
138
137
|
// -----------------------------------------------------------------------
|
139
|
-
//
|
138
|
+
// Default module settings
|
139
|
+
// -----------------------------------------------------------------------
|
140
|
+
var settings = $.extend({
|
141
|
+
module_name: 'j1.adapter.mmenu',
|
142
|
+
generated: '{{site.time}}'
|
143
|
+
}, options);
|
144
|
+
|
145
|
+
// -----------------------------------------------------------------------
|
146
|
+
// Global variable settings
|
140
147
|
// -----------------------------------------------------------------------
|
141
148
|
_this = j1.adapter.mmenu;
|
142
149
|
logger = log4javascript.getLogger('j1.adapter.mmenu');
|
@@ -146,14 +153,6 @@ j1.adapter['mmenu'] = (function (j1, window) {
|
|
146
153
|
logger.info('\n' + 'state: ' + _this.getState());
|
147
154
|
logger.info('\n' + 'module is being initialized');
|
148
155
|
|
149
|
-
// -----------------------------------------------------------------------
|
150
|
-
// defaults
|
151
|
-
// -----------------------------------------------------------------------
|
152
|
-
var settings = $.extend({
|
153
|
-
module_name: 'j1.adapter.mmenu',
|
154
|
-
generated: '{{site.time}}'
|
155
|
-
}, options);
|
156
|
-
|
157
156
|
// -----------------------------------------------------------------------
|
158
157
|
// options loader
|
159
158
|
// -----------------------------------------------------------------------
|
@@ -363,7 +362,7 @@ j1.adapter['mmenu'] = (function (j1, window) {
|
|
363
362
|
logger.debug('\n' + 'hide|show the main nav menu');
|
364
363
|
// switch off|on the (main) nav menu
|
365
364
|
$('#' + navMenuOptions.nav_main_menu).toggle();
|
366
|
-
$('#' + navMenuOptions.nav_quicklinks).toggle();
|
365
|
+
$('#' + navMenuOptions.nav_quicklinks).toggle();
|
367
366
|
}
|
368
367
|
});
|
369
368
|
|
@@ -148,8 +148,7 @@ ToDo: Remove configuration from j1_navigator.yml
|
|
148
148
|
/* eslint indent: "off" */
|
149
149
|
// -----------------------------------------------------------------------------
|
150
150
|
'use strict';
|
151
|
-
|
152
|
-
j1.adapter['navigator'] = (function (j1, window) {
|
151
|
+
j1.adapter.navigator = (function (j1, window) {
|
153
152
|
|
154
153
|
// ---------------------------------------------------------------------------
|
155
154
|
// globals
|
@@ -203,7 +202,15 @@ j1.adapter['navigator'] = (function (j1, window) {
|
|
203
202
|
init: function (options) {
|
204
203
|
|
205
204
|
// -----------------------------------------------------------------------
|
206
|
-
//
|
205
|
+
// Default module settings
|
206
|
+
// -----------------------------------------------------------------------
|
207
|
+
var settings = $.extend({
|
208
|
+
module_name: 'j1.adapter.navigator',
|
209
|
+
generated: '{{site.time}}'
|
210
|
+
}, options);
|
211
|
+
|
212
|
+
// -----------------------------------------------------------------------
|
213
|
+
// Global variable settings
|
207
214
|
// -----------------------------------------------------------------------
|
208
215
|
_this = j1.adapter.navigator;
|
209
216
|
logger = log4javascript.getLogger('j1.adapter.navigator');
|
@@ -213,14 +220,6 @@ j1.adapter['navigator'] = (function (j1, window) {
|
|
213
220
|
logger.info('\n' + 'state: ' + _this.getState());
|
214
221
|
logger.info('\n' + 'module is being initialized');
|
215
222
|
|
216
|
-
// -----------------------------------------------------------------------
|
217
|
-
// defaults
|
218
|
-
// -----------------------------------------------------------------------
|
219
|
-
var settings = $.extend({
|
220
|
-
module_name: 'j1.adapter.navigator',
|
221
|
-
generated: '{{site.time}}'
|
222
|
-
}, options);
|
223
|
-
|
224
223
|
// -----------------------------------------------------------------------
|
225
224
|
// options loader
|
226
225
|
// -----------------------------------------------------------------------
|
@@ -400,11 +399,13 @@ j1.adapter['navigator'] = (function (j1, window) {
|
|
400
399
|
clearInterval(dependencies_met_page_finished);
|
401
400
|
}, 25);
|
402
401
|
}
|
403
|
-
|
402
|
+
// _this.setState('initialized');
|
403
|
+
_this.setState('finished');
|
404
404
|
}, 25); // END 'dependencies_met_page_finished'
|
405
405
|
} else {
|
406
406
|
logText = '\n' + 'theme switcher detected as: disabled';
|
407
407
|
logger.info(logText);
|
408
|
+
_this.setState('finished');
|
408
409
|
}
|
409
410
|
|
410
411
|
// -----------------------------------------------------------------
|
@@ -73,10 +73,7 @@ regenerate: true
|
|
73
73
|
/* eslint indent: "off" */
|
74
74
|
// -----------------------------------------------------------------------------
|
75
75
|
'use strict';
|
76
|
-
|
77
|
-
{% comment %} Main
|
78
|
-
-------------------------------------------------------------------------------- {% endcomment %}
|
79
|
-
j1.adapter['quicksearch'] = (function (j1, window) {
|
76
|
+
j1.adapter.quicksearch = (function (j1, window) {
|
80
77
|
|
81
78
|
{% comment %} Set global variables
|
82
79
|
------------------------------------------------------------------------------ {% endcomment %}
|
@@ -101,7 +98,15 @@ j1.adapter['quicksearch'] = (function (j1, window) {
|
|
101
98
|
init: function (options) {
|
102
99
|
|
103
100
|
// -----------------------------------------------------------------------
|
104
|
-
//
|
101
|
+
// Default module settings
|
102
|
+
// -----------------------------------------------------------------------
|
103
|
+
var settings = $.extend({
|
104
|
+
module_name: 'j1.adapter.quicksearch',
|
105
|
+
generated: '{{site.time}}'
|
106
|
+
}, options);
|
107
|
+
|
108
|
+
// -----------------------------------------------------------------------
|
109
|
+
// Global variable settings
|
105
110
|
// -----------------------------------------------------------------------
|
106
111
|
_this = j1.adapter.quicksearch;
|
107
112
|
logger = log4javascript.getLogger('j1.adapter.quicksearch');
|
@@ -111,14 +116,6 @@ j1.adapter['quicksearch'] = (function (j1, window) {
|
|
111
116
|
logger.info('\n' + 'state: ' + _this.getState());
|
112
117
|
logger.info('\n' + 'module is being initialized');
|
113
118
|
|
114
|
-
// -----------------------------------------------------------------------
|
115
|
-
// defaults
|
116
|
-
// -----------------------------------------------------------------------
|
117
|
-
var settings = $.extend({
|
118
|
-
module_name: 'j1.adapter.quicksearch',
|
119
|
-
generated: '{{site.time}}'
|
120
|
-
}, options);
|
121
|
-
|
122
119
|
// -----------------------------------------------------------------------
|
123
120
|
// options loader
|
124
121
|
// -----------------------------------------------------------------------
|
@@ -64,10 +64,7 @@ regenerate: false
|
|
64
64
|
/* eslint quotes: "off" */
|
65
65
|
// -----------------------------------------------------------------------------
|
66
66
|
'use strict';
|
67
|
-
|
68
|
-
{% comment %} Main
|
69
|
-
-------------------------------------------------------------------------------- {% endcomment %}
|
70
|
-
j1.adapter['rouge'] = (function (j1, window) {
|
67
|
+
j1.adapter.rouge = (function (j1, window) {
|
71
68
|
|
72
69
|
// ---------------------------------------------------------------------------
|
73
70
|
// globals
|
@@ -104,7 +101,15 @@ j1.adapter['rouge'] = (function (j1, window) {
|
|
104
101
|
init: function (options) {
|
105
102
|
|
106
103
|
// -----------------------------------------------------------------------
|
107
|
-
//
|
104
|
+
// Default module settings
|
105
|
+
// -----------------------------------------------------------------------
|
106
|
+
var settings = $.extend({
|
107
|
+
module_name: 'j1.adapter.rouge',
|
108
|
+
generated: '{{site.time}}'
|
109
|
+
}, options);
|
110
|
+
|
111
|
+
// -----------------------------------------------------------------------
|
112
|
+
// Global variable settings
|
108
113
|
// -----------------------------------------------------------------------
|
109
114
|
_this = j1.adapter.rouge;
|
110
115
|
logger = log4javascript.getLogger('j1.adapter.rouge');
|
@@ -114,14 +119,6 @@ j1.adapter['rouge'] = (function (j1, window) {
|
|
114
119
|
logger.info('\n' + 'state: ' + _this.getState());
|
115
120
|
logger.info('\n' + 'module is being initialized');
|
116
121
|
|
117
|
-
// -----------------------------------------------------------------------
|
118
|
-
// Default module settings
|
119
|
-
// -----------------------------------------------------------------------
|
120
|
-
var settings = $.extend({
|
121
|
-
module_name: 'j1.adapter.rouge',
|
122
|
-
generated: '{{site.time}}'
|
123
|
-
}, options);
|
124
|
-
|
125
122
|
// -----------------------------------------------------------------------
|
126
123
|
// rouge initializer
|
127
124
|
// -----------------------------------------------------------------------
|
@@ -146,7 +143,7 @@ j1.adapter['rouge'] = (function (j1, window) {
|
|
146
143
|
var dependencies_met_j1_finished = setInterval(function() {
|
147
144
|
if (j1.getState() == 'finished') {
|
148
145
|
$('.dropdown-menu a').click(function(){
|
149
|
-
$('#selected').html(
|
146
|
+
$('#selected-theme').html('Current selection: <div class="md-gray-900 mt-1 p-2" style="background-color: #BDBDBD; font-weight: 700;">' +$(this).text() + '</div>');
|
150
147
|
});
|
151
148
|
_this.setState('finished');
|
152
149
|
logger.info('\n' + 'state: ' + _this.getState());
|
@@ -75,10 +75,7 @@ regenerate: true
|
|
75
75
|
/* eslint indent: "off" */
|
76
76
|
// -----------------------------------------------------------------------------
|
77
77
|
'use strict';
|
78
|
-
|
79
|
-
{% comment %} Main
|
80
|
-
-------------------------------------------------------------------------------- {% endcomment %}
|
81
|
-
j1.adapter['rtable'] = (function (j1, window) {
|
78
|
+
j1.adapter.rtable = (function (j1, window) {
|
82
79
|
|
83
80
|
{% comment %} Set global variables
|
84
81
|
------------------------------------------------------------------------------ {% endcomment %}
|
@@ -104,7 +101,15 @@ j1.adapter['rtable'] = (function (j1, window) {
|
|
104
101
|
init: function (options) {
|
105
102
|
|
106
103
|
// -----------------------------------------------------------------------
|
107
|
-
//
|
104
|
+
// Default module settings
|
105
|
+
// -----------------------------------------------------------------------
|
106
|
+
var settings = $.extend({
|
107
|
+
module_name: 'j1.adapter.rtable',
|
108
|
+
generated: '{{site.time}}'
|
109
|
+
}, options);
|
110
|
+
|
111
|
+
// -----------------------------------------------------------------------
|
112
|
+
// Global variable settings
|
108
113
|
// -----------------------------------------------------------------------
|
109
114
|
_this = j1.adapter.rtable;
|
110
115
|
logger = log4javascript.getLogger('j1.adapter.rtable');
|
@@ -114,14 +119,6 @@ j1.adapter['rtable'] = (function (j1, window) {
|
|
114
119
|
logger.info('\n' + 'state: ' + _this.getState());
|
115
120
|
logger.info('\n' + 'module is being initialized');
|
116
121
|
|
117
|
-
// -----------------------------------------------------------------------
|
118
|
-
// Default module settings
|
119
|
-
// -----------------------------------------------------------------------
|
120
|
-
var settings = $.extend({
|
121
|
-
module_name: 'j1.adapter.rtable',
|
122
|
-
generated: '{{site.time}}'
|
123
|
-
}, options);
|
124
|
-
|
125
122
|
// create settings object from frontmatterOptions
|
126
123
|
frontmatterOptions = options != null ? $.extend({}, options) : {};
|
127
124
|
moduleOptions = $.extend({}, {{rtable_options | replace: 'nil', 'null' | replace: '=>', ':' }});
|
@@ -89,10 +89,7 @@ regenerate: true
|
|
89
89
|
/* eslint indent: "off" */
|
90
90
|
// -----------------------------------------------------------------------------
|
91
91
|
'use strict';
|
92
|
-
|
93
|
-
{% comment %} Main
|
94
|
-
-------------------------------------------------------------------------------- {% endcomment %}
|
95
|
-
j1.adapter['rtextResizer'] = (function (j1, window) {
|
92
|
+
j1.adapter.rtextResizer = (function (j1, window) {
|
96
93
|
|
97
94
|
{% comment %} Set global variables
|
98
95
|
------------------------------------------------------------------------------ {% endcomment %}
|
@@ -114,7 +111,15 @@ j1.adapter['rtextResizer'] = (function (j1, window) {
|
|
114
111
|
init: function (options) {
|
115
112
|
|
116
113
|
// -----------------------------------------------------------------------
|
117
|
-
//
|
114
|
+
// Default module settings
|
115
|
+
// -----------------------------------------------------------------------
|
116
|
+
var settings = $.extend({
|
117
|
+
module_name: 'j1.adapter.rtextResizer',
|
118
|
+
generated: '{{site.time}}'
|
119
|
+
}, options);
|
120
|
+
|
121
|
+
// -----------------------------------------------------------------------
|
122
|
+
// Global variable settings
|
118
123
|
// -----------------------------------------------------------------------
|
119
124
|
_this = j1.adapter.rtextResizer;
|
120
125
|
logger = log4javascript.getLogger('j1.adapter.rtextResizer');
|
@@ -124,14 +129,6 @@ j1.adapter['rtextResizer'] = (function (j1, window) {
|
|
124
129
|
logger.info('\n' + 'state: ' + _this.getState());
|
125
130
|
logger.info('\n' + 'module is being initialized');
|
126
131
|
|
127
|
-
// -----------------------------------------------------------------------
|
128
|
-
// Default module settings
|
129
|
-
// -----------------------------------------------------------------------
|
130
|
-
var settings = $.extend({
|
131
|
-
module_name: 'j1.adapter.rtextResizer',
|
132
|
-
generated: '{{site.time}}'
|
133
|
-
}, options);
|
134
|
-
|
135
132
|
{% comment %} Load gallery config from yml data
|
136
133
|
-------------------------------------------------------------------------- {% endcomment %}
|
137
134
|
/* eslint-disable */
|
@@ -74,10 +74,7 @@ regenerate: true
|
|
74
74
|
/* eslint indent: "off" */
|
75
75
|
// -----------------------------------------------------------------------------
|
76
76
|
'use strict';
|
77
|
-
|
78
|
-
{% comment %} Main
|
79
|
-
-------------------------------------------------------------------------------- {% endcomment %}
|
80
|
-
j1.adapter['scroller'] = (function (j1, window) {
|
77
|
+
j1.adapter.scroller = (function (j1, window) {
|
81
78
|
|
82
79
|
{% comment %} Set global variables
|
83
80
|
-------------------------------------------------------------------------------- {% endcomment %}
|
@@ -100,8 +97,18 @@ var lastPageInfo;
|
|
100
97
|
// adapter initializer
|
101
98
|
// -------------------------------------------------------------------------
|
102
99
|
init: function (options) {
|
103
|
-
|
104
|
-
|
100
|
+
|
101
|
+
// -----------------------------------------------------------------------
|
102
|
+
// Default module settings
|
103
|
+
// -----------------------------------------------------------------------
|
104
|
+
var settings = $.extend({
|
105
|
+
module_name: 'j1.adapter.scroller',
|
106
|
+
generated: '{{site.time}}'
|
107
|
+
}, options);
|
108
|
+
|
109
|
+
// -----------------------------------------------------------------------
|
110
|
+
// Global variable settings
|
111
|
+
// -----------------------------------------------------------------------
|
105
112
|
_this = j1.adapter.scroller;
|
106
113
|
logger = log4javascript.getLogger('j1.adapter.scroller');
|
107
114
|
|
@@ -111,11 +118,6 @@ var lastPageInfo;
|
|
111
118
|
logger.info('\n' + 'module is being initialized');
|
112
119
|
|
113
120
|
|
114
|
-
// default module settings
|
115
|
-
var settings = $.extend({
|
116
|
-
module_name: 'j1.adapter.scroller',
|
117
|
-
generated: '{{site.time}}'
|
118
|
-
}, options);
|
119
121
|
|
120
122
|
_this.generate_scrollers();
|
121
123
|
|
@@ -226,7 +228,7 @@ var lastPageInfo;
|
|
226
228
|
|
227
229
|
clearInterval(dependencies_met_page_ready);
|
228
230
|
}
|
229
|
-
});
|
231
|
+
}, 25);
|
230
232
|
// END generate scrollers
|
231
233
|
},
|
232
234
|
|
@@ -96,8 +96,8 @@ regenerate: true
|
|
96
96
|
// -----------------------------------------------------------------------------
|
97
97
|
|
98
98
|
'use strict';
|
99
|
+
j1.adapter.themer = (function (j1, window) {
|
99
100
|
|
100
|
-
j1.adapter['themer'] = (function (j1, window) {
|
101
101
|
// ---------------------------------------------------------------------------
|
102
102
|
// globals
|
103
103
|
// ---------------------------------------------------------------------------
|
@@ -159,9 +159,18 @@ j1.adapter['themer'] = (function (j1, window) {
|
|
159
159
|
// -------------------------------------------------------------------------
|
160
160
|
// initializer
|
161
161
|
// -------------------------------------------------------------------------
|
162
|
-
init: function () {
|
162
|
+
init: function (options) {
|
163
|
+
|
164
|
+
// -----------------------------------------------------------------------
|
165
|
+
// Default module settings
|
166
|
+
// -----------------------------------------------------------------------
|
167
|
+
var settings = $.extend({
|
168
|
+
module_name: 'j1.adapter.themer',
|
169
|
+
generated: '{{site.time}}'
|
170
|
+
}, options);
|
171
|
+
|
163
172
|
// -----------------------------------------------------------------------
|
164
|
-
//
|
173
|
+
// Global variable settings
|
165
174
|
// -----------------------------------------------------------------------
|
166
175
|
_this = j1.adapter.themer;
|
167
176
|
url = new liteURL(window.location.href);
|
@@ -90,10 +90,7 @@ regenerate: true
|
|
90
90
|
/* eslint indent: "off" */
|
91
91
|
// -----------------------------------------------------------------------------
|
92
92
|
'use strict';
|
93
|
-
|
94
|
-
{% comment %} Main
|
95
|
-
-------------------------------------------------------------------------------- {% endcomment %}
|
96
|
-
j1.adapter['toccer'] = (function () {
|
93
|
+
j1.adapter.toccer = (function () {
|
97
94
|
|
98
95
|
{% comment %} Set global variables
|
99
96
|
------------------------------------------------------------------------------ {% endcomment %}
|
@@ -120,7 +117,15 @@ j1.adapter['toccer'] = (function () {
|
|
120
117
|
init: function (options) {
|
121
118
|
|
122
119
|
// -----------------------------------------------------------------------
|
123
|
-
//
|
120
|
+
// Default module settings
|
121
|
+
// -----------------------------------------------------------------------
|
122
|
+
var settings = $.extend({
|
123
|
+
module_name: 'j1.adapter.toccer',
|
124
|
+
generated: '{{site.time}}'
|
125
|
+
}, options);
|
126
|
+
|
127
|
+
// -----------------------------------------------------------------------
|
128
|
+
// Global variable settings
|
124
129
|
// -----------------------------------------------------------------------
|
125
130
|
_this = j1.adapter.toccer;
|
126
131
|
logger = log4javascript.getLogger('j1.adapter.toccer');
|
@@ -133,14 +138,6 @@ j1.adapter['toccer'] = (function () {
|
|
133
138
|
// create settings object from frontmatterOptions
|
134
139
|
var frontmatterOptions = options != null ? $.extend({}, options) : {};
|
135
140
|
|
136
|
-
// -----------------------------------------------------------------------
|
137
|
-
// defaults
|
138
|
-
// -----------------------------------------------------------------------
|
139
|
-
var settings = $.extend({
|
140
|
-
module_name: 'j1.adapter.toccer',
|
141
|
-
generated: '{{site.time}}'
|
142
|
-
}, options);
|
143
|
-
|
144
141
|
// -----------------------------------------------------------------------
|
145
142
|
// options loader
|
146
143
|
// -----------------------------------------------------------------------
|