j1-template 2023.3.0 → 2023.3.2
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/layouts/content_generator_news_panel_posts.html +11 -9
- data/_includes/themes/j1/layouts/content_generator_post.html +1 -1
- data/_includes/themes/j1/layouts/layout_metadata_generator.html +0 -3
- data/_includes/themes/j1/modules/navigator/generator.html +3 -3
- data/_includes/themes/j1/modules/searcher/procedures/topsearch.proc +5 -5
- data/_includes/themes/j1/procedures/collections/create_collection_article_preview.proc +3 -3
- data/_includes/themes/j1/procedures/global/select_icon_size.proc +9 -2
- data/_includes/themes/j1/procedures/layouts/default_writer.proc +1 -1
- data/_includes/themes/j1/procedures/posts/collate_timeline.proc +8 -8
- data/_includes/themes/j1/procedures/posts/create_series_header.proc +2 -2
- data/_layouts/category.html +2 -2
- data/assets/data/authclient.html +10 -12
- data/assets/data/banner.html +3 -3
- data/assets/data/fab.html +11 -8
- data/assets/data/footer.html +2 -3
- data/assets/data/gallery_customizer.html +2 -2
- data/assets/data/masonry.html +5 -5
- data/assets/data/masterslider.html +1 -1
- data/assets/data/menu.html +9 -6
- data/assets/data/panel.html +8 -8
- data/assets/data/quicklinks.html +3 -1
- data/assets/data/rtext_resizer.html +1 -1
- data/assets/data/slick.html +2 -2
- data/assets/data/translator.html +1 -1
- data/assets/themes/j1/adapter/js/advertising.js +302 -96
- data/assets/themes/j1/adapter/js/carousel.js +2 -2
- data/assets/themes/j1/adapter/js/j1.js +92 -25
- data/assets/themes/j1/adapter/js/justifiedGalleryCustomizer.js +1 -1
- data/assets/themes/j1/adapter/js/lazyLoader.js +221 -0
- data/assets/themes/j1/adapter/js/lunr.js +3 -3
- data/assets/themes/j1/adapter/js/navigator.js +3 -5
- data/assets/themes/j1/adapter/js/themeToggler.js +3 -3
- data/assets/themes/j1/adapter/js/themer.js +55 -21
- data/assets/themes/j1/core/css/icon-fonts/mdi.css +3 -7
- data/assets/themes/j1/core/css/icon-fonts/mdi.min.css +1 -1
- data/assets/themes/j1/core/css/icon-fonts/mdib.css +8337 -0
- data/assets/themes/j1/core/css/icon-fonts/mdib.min.css +1 -0
- data/assets/themes/j1/core/css/themes/unodark/bootstrap.css +104 -30
- data/assets/themes/j1/core/css/themes/unodark/bootstrap.min.css +1 -1
- data/assets/themes/j1/core/css/themes/unolight/bootstrap.css +19 -5
- data/assets/themes/j1/core/css/themes/unolight/bootstrap.min.css +1 -1
- data/assets/themes/j1/core/js/template.js +98 -31
- data/assets/themes/j1/core/js/template.min.js +2 -2
- data/assets/themes/j1/core/js/template.min.js.map +1 -1
- data/assets/themes/j1/modules/iconPicker/icons-libraries/mdi-icons-base.json +2690 -0
- data/assets/themes/j1/modules/iconPicker/icons-libraries/mdi-icons-base.min.json +1 -0
- data/assets/themes/j1/modules/iconPicker/icons-libraries/mdi-icons-light.json +2 -2
- data/assets/themes/j1/modules/iconPicker/icons-libraries/mdi-icons-light.min.json +1 -1
- data/assets/themes/j1/modules/materialize/scss/components/_global.scss +1 -1
- data/assets/themes/j1/modules/materialize/scss/components/_navbar.scss +2 -2
- data/assets/themes/j1/modules/materialize/scss/components/_sidenav.scss +1 -1
- data/assets/themes/j1/modules/materialize/scss/components/forms/_input-fields.scss +2 -2
- data/assets/themes/j1/modules/themeSwitcher/js/switcher.js +1 -1
- data/assets/themes/j1/modules/themeSwitcher/js/switcher.min.js +1 -1
- data/lib/j1/version.rb +1 -1
- data/lib/starter_web/Gemfile +2 -2
- data/lib/starter_web/README.md +5 -5
- data/lib/starter_web/_config.yml +2 -2
- data/lib/starter_web/_data/blocks/banner.yml +1 -1
- data/lib/starter_web/_data/blocks/defaults/footer.yml +1 -1
- data/lib/starter_web/_data/blocks/footer.yml +4 -1
- data/lib/starter_web/_data/blocks/panel.yml +47 -47
- data/lib/starter_web/_data/layouts/default.yml +1 -1
- data/lib/starter_web/_data/layouts/home.yml +29 -0
- data/lib/starter_web/_data/modules/advertising.yml +120 -42
- data/lib/starter_web/_data/modules/defaults/advertising.yml +1 -1
- data/lib/starter_web/_data/modules/defaults/attics.yml +2 -2
- data/lib/starter_web/_data/modules/defaults/authentication.yml +1 -1
- data/lib/starter_web/_data/modules/defaults/blog_navigator.yml +20 -20
- data/lib/starter_web/_data/modules/defaults/fab.yml +3 -3
- data/lib/starter_web/_data/modules/defaults/iconPicker.yml +1 -1
- data/lib/starter_web/_data/modules/defaults/lazyLoader.yml +33 -0
- data/lib/starter_web/_data/modules/defaults/lunr.yml +2 -2
- data/lib/starter_web/_data/modules/defaults/masterslider.yml +1 -1
- data/lib/starter_web/_data/modules/defaults/navigator.yml +18 -18
- data/lib/starter_web/_data/modules/defaults/themer.yml +2 -2
- data/lib/starter_web/_data/modules/fab.yml +7 -7
- data/lib/starter_web/_data/modules/iconPicker.yml +3 -3
- data/lib/starter_web/_data/modules/lazyLoader.yml +93 -0
- data/lib/starter_web/_data/modules/masonry.yml +2 -2
- data/lib/starter_web/_data/modules/navigator_menu.yml +190 -148
- data/lib/starter_web/_data/modules/slick.yml +47 -86
- data/lib/starter_web/_data/resources.yml +68 -70
- data/lib/starter_web/_data/templates/feed.xml +1 -1
- data/lib/starter_web/_includes/attributes.0.asciidoc +626 -0
- data/lib/starter_web/_includes/attributes.asciidoc +26 -24
- data/lib/starter_web/_includes/custom/templates/collection_panel.html +2 -2
- data/lib/starter_web/_includes/google/static/google_ad_5128488466.html +19 -0
- data/lib/starter_web/_includes/google/static/google_ad_7284712660.html +19 -0
- data/lib/starter_web/_includes/google/templates/google_ads.html +55 -0
- data/lib/starter_web/_plugins/asciidoctor/fab-icon-inline.rb +1 -1
- data/lib/starter_web/_plugins/asciidoctor/fas-icon-inline.rb +1 -1
- data/lib/starter_web/_plugins/asciidoctor/mdil-icon-inline.rb +1 -1
- data/lib/starter_web/_plugins/index/lunr.rb +1 -1
- data/lib/starter_web/assets/images/badges/configBinder.jpg +0 -0
- data/lib/starter_web/assets/images/badges/docsBinder.jpg +0 -0
- data/lib/starter_web/assets/images/badges/notebookBinder.jpg +0 -0
- data/lib/starter_web/assets/images/badges/scaleable/configBinder.svg +1 -1
- data/lib/starter_web/assets/images/badges/scaleable/docsBinder.svg +1 -1
- data/lib/starter_web/assets/images/badges/scaleable/myBinder.svg +1 -1
- data/lib/starter_web/assets/images/badges/scaleable/notebookBinder.svg +1 -1
- data/lib/starter_web/assets/images/icons/hyvor-talk/jpg/hyvor-logo.512x512.jpg +0 -0
- data/lib/starter_web/assets/images/icons/hyvor-talk/png/hyvor-logo.24x24.jpg +0 -0
- data/lib/starter_web/assets/images/icons/hyvor-talk/scalable/hyvor-logo.svg +1 -1
- data/lib/starter_web/assets/images/icons/j1/jpg/j1-256x256.jpg +0 -0
- data/lib/starter_web/assets/images/icons/j1/jpg/j1-512x512.jpg +0 -0
- data/lib/starter_web/assets/images/icons/j1/jpg/j1-64x64.jpg +0 -0
- data/lib/starter_web/assets/images/icons/j1/png/j1-256x256.png +0 -0
- data/lib/starter_web/assets/images/icons/j1/png/j1-512x512.jpg +0 -0
- data/lib/starter_web/assets/images/icons/j1/png/j1-512x512.jpg.png +0 -0
- data/lib/starter_web/assets/images/icons/j1/png/j1-512x512.png +0 -0
- data/lib/starter_web/assets/images/icons/j1/png/j1-64x64.png +0 -0
- data/lib/starter_web/assets/images/icons/j1/scalable/j1.svg +1 -1
- data/lib/starter_web/assets/images/modules/attics/1920x1280/brigitta-schneiter.jpg +0 -0
- data/lib/starter_web/assets/images/modules/icons/j1/scalable/j1.svg +1 -1
- data/lib/starter_web/assets/images/pages/asciidoc_skeletons/example-pdf-screenshot.jpg +0 -0
- data/lib/starter_web/assets/images/pages/core_web_vitals/200-create-a-link-1.jpg +0 -0
- data/lib/starter_web/assets/images/pages/core_web_vitals/core_web_vitals_best.jpg +0 -0
- data/lib/starter_web/assets/images/pages/core_web_vitals/core_web_vitals_best_full.jpg +0 -0
- data/lib/starter_web/assets/images/pages/features/bootswatch-themes-1280x800.jpg +0 -0
- data/lib/starter_web/assets/images/pages/features/global-mobile-traffic-1920x1080.jpg +0 -0
- data/lib/starter_web/assets/images/pages/features/google-lighthouse-1080x300.jpg +0 -0
- data/lib/starter_web/assets/images/pages/features/mobile-navigation-600x800.jpg +0 -0
- data/lib/starter_web/assets/images/pages/features/native-speakers-by-language.jpg +0 -0
- data/lib/starter_web/assets/images/posts/featured/dynamic-web-access.jpg +0 -0
- data/lib/starter_web/assets/images/posts/featured/jamstack-generators.jpg +0 -0
- data/lib/starter_web/assets/images/posts/featured/jekyll.1200x400.jpg +0 -0
- data/lib/starter_web/assets/images/posts/featured/jekyll.jpg +0 -0
- data/lib/starter_web/assets/images/posts/featured/static-web-access.jpg +0 -0
- data/lib/starter_web/assets/images/promo/home/screenshot.jpg +0 -0
- data/lib/starter_web/assets/images/promo/jekyll/jekyll-faq.jpg +0 -0
- data/lib/starter_web/assets/images/promo/jekyll/jekyll-generator.jpg +0 -0
- data/lib/starter_web/assets/images/promo/jekyll/jekyll-generator.png +0 -0
- data/lib/starter_web/assets/images/promo/jekyll/jekyll-og.png +0 -0
- data/lib/starter_web/assets/images/promo/jekyll/scalable/jekyll-faq.psd +0 -0
- data/lib/starter_web/collections/_biography/a-life-in-questions.adoc +1 -1
- data/lib/starter_web/collections/_biography/becoming.adoc +1 -1
- data/lib/starter_web/collections/_biography/born-to-run.adoc +1 -1
- data/lib/starter_web/collections/_biography/forty-autumns.adoc +1 -1
- data/lib/starter_web/collections/_biography/not-dead-yet.adoc +1 -1
- data/lib/starter_web/collections/_biography/princess-diarist-the.adoc +1 -1
- data/lib/starter_web/collections/_biography/when-breath-becomes-air.adoc +1 -1
- data/lib/starter_web/collections/_fantasy/harry-potter-deathly-hallows.adoc +1 -1
- data/lib/starter_web/collections/_fantasy/harry-potter-philosophers-stone.adoc +1 -1
- data/lib/starter_web/collections/_fantasy/mistborn-trilogy.adoc +26 -1
- data/lib/starter_web/collections/_fantasy/ready-player-one.adoc +1 -1
- data/lib/starter_web/collections/_fantasy/sword-of-destiny.adoc +17 -2
- data/lib/starter_web/collections/_fantasy/terry-pratchet-diary.adoc +24 -1
- data/lib/starter_web/collections/_romance/{breath-of-snow-and-ashes-a.adoc → breath-of-snow-and-ashes.adoc} +13 -1
- data/lib/starter_web/collections/_romance/dressmaker-the.adoc +13 -1
- data/lib/starter_web/collections/_romance/fiery-cross-the.adoc +1 -1
- data/lib/starter_web/collections/_romance/it-ends-with-us.adoc +1 -1
- data/lib/starter_web/collections/_romance/outlander-novel.adoc +1 -1
- data/lib/starter_web/collections/_romance/virgins-outlander-short-story.adoc +1 -1
- data/lib/starter_web/collections/posts/public/featured/_posts/0000-00-00-welcome-to-j1.adoc.erb +4 -2
- data/lib/starter_web/collections/posts/public/featured/_posts/2021-01-01-about-cookies.adoc +4 -1
- data/lib/starter_web/collections/posts/public/featured/_posts/2021-02-01-static-site-generators.adoc +5 -3
- data/lib/starter_web/collections/posts/public/featured/_posts/2022-02-01-about-j1.adoc +4 -1
- data/lib/starter_web/collections/posts/public/featured/_posts/_includes/attributes.asciidoc +2 -2
- data/lib/starter_web/index.html +0 -9
- data/lib/starter_web/package.json +1 -1
- data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/_includes/attributes.asciidoc +1 -1
- data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/_includes/documents/100_converter/112_getting_started.asciidoc +1 -1
- data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/_includes/documents/200_themes/212_values.asciidoc +4 -4
- data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/attributes.asciidoc +1 -1
- data/lib/starter_web/pages/public/learn/core_web_vitals/_includes/attributes.asciidoc +2 -2
- data/lib/starter_web/pages/public/learn/roundtrip/_includes/attributes.0.asciidoc +112 -0
- data/lib/starter_web/pages/public/learn/roundtrip/_includes/attributes.asciidoc +2 -2
- data/lib/starter_web/pages/public/learn/roundtrip/_includes/documents/themes_rouge.asciidoc +1 -1
- data/lib/starter_web/pages/public/learn/roundtrip/icon_fonts.adoc +152 -12
- data/lib/starter_web/pages/public/learn/roundtrip/present_images.adoc +28 -4
- data/lib/starter_web/pages/public/learn/where_to_go.adoc +11 -13
- data/lib/starter_web/pages/public/{learn → tools}/cheatsheet/gem.adoc +5 -5
- data/lib/starter_web/pages/public/{learn → tools}/cheatsheet/git.adoc +14 -14
- data/lib/starter_web/pages/public/{learn → tools}/cheatsheet/j1.adoc +1 -1
- data/lib/starter_web/pages/public/{learn → tools}/cheatsheet/yaml.adoc +1 -1
- data/lib/starter_web/pages/public/{previewer → tools/previewer}/preview_bootstrap_theme.adoc +1 -1
- data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
- data/lib/starter_web/utilsrv/package.json +1 -1
- metadata +58 -88
- data/assets/data/nbinteract.html +0 -129
- data/assets/themes/j1/adapter/js/nbinteract.js +0 -1485
- data/assets/themes/j1/modules/advertising/js/adInitializer.js +0 -160
- data/assets/themes/j1/modules/iconPicker/icons-libraries/mdi-icons-regular.json +0 -7312
- data/assets/themes/j1/modules/iconPicker/icons-libraries/mdi-icons-regular.min.json +0 -1
- data/assets/themes/j1/modules/jquery-3.5.1/css/jquery-ui/jquery-ui.css +0 -1315
- data/assets/themes/j1/modules/jquery-3.5.1/css/jquery-ui/jquery-ui.min.css +0 -7
- data/assets/themes/j1/modules/jquery-3.5.1/css/jquery-ui/jquery-ui.structure.css +0 -886
- data/assets/themes/j1/modules/jquery-3.5.1/css/jquery-ui/jquery-ui.structure.min.css +0 -5
- data/assets/themes/j1/modules/jquery-3.5.1/css/jquery-ui/jquery-ui.theme.css +0 -446
- data/assets/themes/j1/modules/jquery-3.5.1/css/jquery-ui/jquery-ui.theme.min.css +0 -5
- data/assets/themes/j1/modules/jquery-3.5.1/js/extensions/hasClass.js +0 -37
- data/assets/themes/j1/modules/jquery-3.5.1/js/extensions/hasClass.min.js +0 -17
- data/assets/themes/j1/modules/jquery-3.5.1/js/extensions/removeClass.js +0 -42
- data/assets/themes/j1/modules/jquery-3.5.1/js/extensions/removeClass.min.js +0 -17
- data/assets/themes/j1/modules/jquery-3.5.1/js/jquery-ui.js +0 -19057
- data/assets/themes/j1/modules/jquery-3.5.1/js/jquery-ui.min.js +0 -6
- data/assets/themes/j1/modules/jquery-3.5.1/js/jquery.js +0 -10872
- data/assets/themes/j1/modules/jquery-3.5.1/js/jquery.min.js +0 -2
- data/assets/themes/j1/modules/jquery-3.5.1/js/jquery.min.map +0 -1
- data/assets/themes/j1/modules/jquery-3.5.1/js/require.js +0 -2145
- data/assets/themes/j1/modules/jquery-3.5.1/js/require.min.js +0 -5
- data/assets/themes/j1/modules/nbinteract-core/LICENSE.txt +0 -60
- data/assets/themes/j1/modules/nbinteract-core/README.md +0 -226
- data/assets/themes/j1/modules/nbinteract-core/css/nbinteract.css +0 -191
- data/assets/themes/j1/modules/nbinteract-core/css/nbinteract.min.css +0 -19
- data/assets/themes/j1/modules/nbinteract-core/css/theme/uno/nbinteract.css +0 -250
- data/assets/themes/j1/modules/nbinteract-core/css/theme/uno/nbinteract.min.css +0 -15
- data/assets/themes/j1/modules/nbinteract-core/js/mathjax/latest.js +0 -19
- data/assets/themes/j1/modules/nbinteract-core/js/mathjax/tex-chtml-full.js +0 -34
- data/assets/themes/j1/modules/nbinteract-core/js/mathjax/tex-chtml.js +0 -1
- data/assets/themes/j1/modules/nbinteract-core/js/mathjax/tex-mml-chtml.js +0 -1
- data/assets/themes/j1/modules/nbinteract-core/js/nbinteract/README +0 -1
- data/assets/themes/j1/modules/nbinteract-core/js/nbinteract/j1-nbinteract-core.js +0 -94
- data/assets/themes/j1/modules/nbinteract-core/js/nbinteract/j1-nbinteract-core.js.map +0 -1
- data/assets/themes/j1/modules/nbinteract-core/js/requireJS/require.js +0 -2068
- data/assets/themes/j1/modules/nbinteract-core/js/requireJS/require.min.js +0 -36
- data/lib/starter_web/_data/modules/defaults/nbinteract.yml +0 -281
- data/lib/starter_web/assets/images/icons/j1/j1-256x256.gif +0 -0
- data/lib/starter_web/assets/images/pages/asciidoc_skeletons/example-pdf-screenshot.png +0 -0
- data/lib/starter_web/assets/images/pages/core_web_vitals/core_web_vitals_best.png +0 -0
- data/lib/starter_web/assets/images/pages/core_web_vitals/core_web_vitals_best_full.png +0 -0
- data/lib/starter_web/assets/images/pages/features/bootswatch-themes-1280x800.png +0 -0
- data/lib/starter_web/assets/images/pages/features/global-mobile-traffic-1920x1080.png +0 -0
- data/lib/starter_web/assets/images/pages/features/google-lighthouse-1080x300.png +0 -0
- data/lib/starter_web/assets/images/pages/features/mobile-navigation-600x800.png +0 -0
- data/lib/starter_web/assets/images/pages/features/native-speakers-by-language.png +0 -0
- data/lib/starter_web/assets/images/pages/nbinteract/binderhub-architecture.jpg +0 -0
- data/lib/starter_web/assets/images/pages/nbinteract/jupyterlab-architecture.jpg +0 -0
- data/lib/starter_web/assets/images/pages/nbinteract/mandelbrot-menge-1920x1200.jpg +0 -0
- data/lib/starter_web/assets/images/pages/nbinteract/mandelbrot-menge.png +0 -0
- data/lib/starter_web/assets/images/pages/nbinteract/manual/nbi-textbook-example.jpg +0 -0
- data/lib/starter_web/assets/images/pages/nbinteract/manual/nbi_bar.jpg +0 -0
- data/lib/starter_web/assets/images/pages/nbinteract/manual/nbi_hist.jpg +0 -0
- data/lib/starter_web/assets/images/pages/nbinteract/manual/nbi_line.jpg +0 -0
- data/lib/starter_web/assets/images/pages/nbinteract/manual/nbi_multiple_choice.jpg +0 -0
- data/lib/starter_web/assets/images/pages/nbinteract/manual/nbi_scatter.jpg +0 -0
- data/lib/starter_web/assets/images/pages/nbinteract/manual/nbi_scatter_drag.jpg +0 -0
- data/lib/starter_web/assets/images/pages/nbinteract/manual/nbi_short_answer.jpg +0 -0
- data/lib/starter_web/assets/images/pages/nbinteract/nbi-textbook-example.jpg +0 -0
- data/lib/starter_web/assets/images/posts/featured/dynamic-web-access.png +0 -0
- data/lib/starter_web/assets/images/posts/featured/jamstack-generators.png +0 -0
- data/lib/starter_web/assets/images/posts/featured/jekyll.1200x400.png +0 -0
- data/lib/starter_web/assets/images/posts/featured/jekyll.png +0 -0
- data/lib/starter_web/assets/images/posts/featured/post-1.jpg +0 -0
- data/lib/starter_web/assets/images/posts/featured/post-2.jpg +0 -0
- data/lib/starter_web/assets/images/posts/featured/post-3.jpg +0 -0
- data/lib/starter_web/assets/images/posts/featured/post-4.jpg +0 -0
- data/lib/starter_web/assets/images/posts/featured/post-5.jpg +0 -0
- data/lib/starter_web/assets/images/posts/featured/static-web-access.png +0 -0
- data/lib/starter_web/collections/posts/public/series/_posts/2022-08-01-organize-your-life.adoc +0 -118
- data/lib/starter_web/collections/posts/public/series/_posts/2022-08-02-organize-your-life.adoc +0 -118
- data/lib/starter_web/collections/posts/public/series/_posts/2022-08-03-organize-your-life.adoc +0 -118
- data/lib/starter_web/collections/posts/public/series/_posts/2022-09-01-organize-your-life.adoc +0 -117
- data/lib/starter_web/collections/posts/public/series/_posts/2022-09-02-organize-your-life.adoc +0 -117
- /data/lib/starter_web/assets/images/badges/{configBinder.png → png/configBinder.png} +0 -0
- /data/lib/starter_web/assets/images/badges/{docsBinder.png → png/docsBinder.png} +0 -0
- /data/lib/starter_web/assets/images/badges/{notebookBinder.png → png/notebookBinder.png} +0 -0
- /data/lib/starter_web/assets/images/icons/hyvor-talk/{hyvor-logo.24x24.png → png/hyvor-logo.24x24.png} +0 -0
- /data/lib/starter_web/assets/images/icons/hyvor-talk/{hyvor-logo.512x512.png → png/hyvor-logo.512x512.png} +0 -0
@@ -82,8 +82,7 @@ regenerate: true
|
|
82
82
|
|
83
83
|
{% assign authentication_options = authentication_defaults | merge: authentication_settings %}
|
84
84
|
|
85
|
-
|
86
|
-
|
85
|
+
{% assign footer = 'active_footer' %}
|
87
86
|
{% assign footer_id = footer_options.active_footer %}
|
88
87
|
{% assign footer_data_path = footer_defaults.data_path %}
|
89
88
|
{% assign banner_data_path = banner_defaults.data_path %}
|
@@ -165,6 +164,8 @@ var j1 = (function (options) {
|
|
165
164
|
var state = 'not_started';
|
166
165
|
var mode = 'not_detected';
|
167
166
|
|
167
|
+
var performance_monitors_enabled = ('{{template_config.monitor.performance_observer}}' === 'true') ? true: false;
|
168
|
+
|
168
169
|
// defaults for tracking providers
|
169
170
|
var tracking_enabled = ('{{tracking_enabled}}' === 'true') ? true: false;
|
170
171
|
var tracking_id = '{{tracking_id}}';
|
@@ -457,12 +458,12 @@ var j1 = (function (options) {
|
|
457
458
|
// set signout
|
458
459
|
logger.info('\n' + 'show signout icon');
|
459
460
|
$('#navLinkSignInOut').attr('data-bs-target','#modalOmniSignOut');
|
460
|
-
$('#iconSignInOut').removeClass('
|
461
|
+
$('#iconSignInOut').removeClass('mdib-login').addClass('mdib-logout');
|
461
462
|
} else {
|
462
463
|
// set signin
|
463
464
|
logger.info('\n' + 'show signin icon');
|
464
465
|
$('#navLinkSignInOut').attr('data-bs-target','#modalOmniSignIn');
|
465
|
-
$('#iconSignInOut').removeClass('
|
466
|
+
$('#iconSignInOut').removeClass('mdib-logout').addClass('mdib-login');
|
466
467
|
}
|
467
468
|
logger.info('\n' + 'authentication detected as: ' + user_session.authenticated);
|
468
469
|
$('#quickLinksSignInOutButton').css('display', 'block');
|
@@ -562,7 +563,7 @@ var j1 = (function (options) {
|
|
562
563
|
// show the content|footer
|
563
564
|
//
|
564
565
|
$('#content').show();
|
565
|
-
$('
|
566
|
+
$('.{{footer}}').show();
|
566
567
|
|
567
568
|
clearInterval(dependencies_met_page_ready);
|
568
569
|
clearInterval(dependencies_met_blocks_ready);
|
@@ -582,7 +583,7 @@ var j1 = (function (options) {
|
|
582
583
|
//
|
583
584
|
if ( footer_state == 'success') {
|
584
585
|
$('#content').show();
|
585
|
-
$('
|
586
|
+
$('.{{footer}}').show();
|
586
587
|
|
587
588
|
clearInterval(dependencies_met_page_ready);
|
588
589
|
}
|
@@ -720,7 +721,7 @@ var j1 = (function (options) {
|
|
720
721
|
// show the content|footer
|
721
722
|
//
|
722
723
|
$('#content').show();
|
723
|
-
$('
|
724
|
+
$('.{{footer}}').show();
|
724
725
|
|
725
726
|
clearInterval(dependencies_met_page_ready);
|
726
727
|
clearInterval(dependencies_met_blocks_ready);
|
@@ -740,7 +741,7 @@ var j1 = (function (options) {
|
|
740
741
|
//
|
741
742
|
if ( footer_state == 'success') {
|
742
743
|
$('#content').show();
|
743
|
-
$('
|
744
|
+
$('.{{footer}}').show();
|
744
745
|
|
745
746
|
clearInterval(dependencies_met_page_ready);
|
746
747
|
}
|
@@ -1215,12 +1216,12 @@ var j1 = (function (options) {
|
|
1215
1216
|
// set signout
|
1216
1217
|
logger.info('\n' + 'show signout icon');
|
1217
1218
|
$('#navLinkSignInOut').attr('data-bs-target','#modalOmniSignOut');
|
1218
|
-
$('#iconSignInOut').removeClass('
|
1219
|
+
$('#iconSignInOut').removeClass('mdib-login').addClass('mdib-logout');
|
1219
1220
|
} else {
|
1220
1221
|
// set signin
|
1221
1222
|
logger.info('\n' + 'show signin icon');
|
1222
1223
|
$('#navLinkSignInOut').attr('data-bs-target','#modalOmniSignIn');
|
1223
|
-
$('#iconSignInOut').removeClass('
|
1224
|
+
$('#iconSignInOut').removeClass('mdib-logout').addClass('mdib-login');
|
1224
1225
|
}
|
1225
1226
|
logger.info('\n' + 'authentication detected as: ' + user_session.authenticated);
|
1226
1227
|
$('#quickLinksSignInOutButton').css('display', 'block');
|
@@ -2486,8 +2487,8 @@ var j1 = (function (options) {
|
|
2486
2487
|
// // var tabs_pills_link_color_active = j1.setColorData('md_blue'); // j1.getStyleValue('btn-info', 'background-color');
|
2487
2488
|
// // var tabs_pills_link_color_hover = j1.setColorData('md_gray_300'); // j1.getStyleValue('btn-secondary', 'background-color');
|
2488
2489
|
//
|
2489
|
-
// // var tabs_pills_link_color_active = '
|
2490
|
-
// // var tabs_pills_link_color_hover = '
|
2490
|
+
// // var tabs_pills_link_color_active = 'md-blue';
|
2491
|
+
// // var tabs_pills_link_color_hover = 'md-gray-300';
|
2491
2492
|
//
|
2492
2493
|
// // nav module
|
2493
2494
|
// // -----------------------------------------------------------------------
|
@@ -2699,6 +2700,64 @@ var j1 = (function (options) {
|
|
2699
2700
|
|
2700
2701
|
}, // END stringToBoolean
|
2701
2702
|
|
2703
|
+
// -------------------------------------------------------------------------
|
2704
|
+
// registerLazyLoadCss()
|
2705
|
+
// CSS loader to speed up inital rendering
|
2706
|
+
//
|
2707
|
+
// Requires the following config serrings:
|
2708
|
+
//
|
2709
|
+
// src: the 'location' of the CSS file
|
2710
|
+
// selector: the 'selector' that triggers the observer
|
2711
|
+
// rootMargin: the 'margin' before the load is trigged
|
2712
|
+
//
|
2713
|
+
// -------------------------------------------------------------------------
|
2714
|
+
//
|
2715
|
+
registerLazyLoadCss: function () {
|
2716
|
+
|
2717
|
+
console.log('register CSS files for lazy loading');
|
2718
|
+
|
2719
|
+
// load MDI Light CSS
|
2720
|
+
//
|
2721
|
+
j1.lazyCss().observe({
|
2722
|
+
'src': '/assets/themes/j1/core/css/icon-fonts/mdil.min.css',
|
2723
|
+
'selector': '.mdil',
|
2724
|
+
'rootMargin': '150px 0px'
|
2725
|
+
});
|
2726
|
+
|
2727
|
+
// load MDI Regular CSS
|
2728
|
+
//
|
2729
|
+
j1.lazyCss().observe({
|
2730
|
+
'src': '/assets/themes/j1/core/css/icon-fonts/mdi.min.css',
|
2731
|
+
'selector': '.mdi',
|
2732
|
+
'rootMargin': '150px 0px'
|
2733
|
+
});
|
2734
|
+
|
2735
|
+
// load FA CSS
|
2736
|
+
//
|
2737
|
+
j1.lazyCss().observe({
|
2738
|
+
'src': '/assets/themes/j1/core/css/icon-fonts/fontawesome.min.css',
|
2739
|
+
'selector': '.fa',
|
2740
|
+
'rootMargin': '150px 0px'
|
2741
|
+
});
|
2742
|
+
|
2743
|
+
// load rTable CSS
|
2744
|
+
//
|
2745
|
+
j1.lazyCss().observe({
|
2746
|
+
'src': '/assets/themes/j1/modules/rtable/css/theme/uno/rtable.min.css',
|
2747
|
+
'selector': '.rtable',
|
2748
|
+
'rootMargin': '150px 0px'
|
2749
|
+
});
|
2750
|
+
|
2751
|
+
// load CountryFlags CSS
|
2752
|
+
//
|
2753
|
+
j1.lazyCss().observe({
|
2754
|
+
'src': '/assets/themes/j1/core/country-flags/css/theme/uno.min.css',
|
2755
|
+
'selector': '.flag-icon',
|
2756
|
+
'rootMargin': '150px 0px'
|
2757
|
+
});
|
2758
|
+
|
2759
|
+
}, // END registerLazyLoadCss
|
2760
|
+
|
2702
2761
|
// -------------------------------------------------------------------------
|
2703
2762
|
// registerMonitors()
|
2704
2763
|
//
|
@@ -2778,7 +2837,12 @@ var j1 = (function (options) {
|
|
2778
2837
|
}
|
2779
2838
|
|
2780
2839
|
for (const {node, currentRect, previousRect} of entry.sources) {
|
2781
|
-
|
2840
|
+
var hasProperty = node.hasOwnProperty('firstElementChild');
|
2841
|
+
if (hasProperty == null) {
|
2842
|
+
hasProperty = false;
|
2843
|
+
}
|
2844
|
+
|
2845
|
+
if (hasProperty) {
|
2782
2846
|
var id = '';
|
2783
2847
|
try {
|
2784
2848
|
id = node.firstElementChild.id;
|
@@ -2898,19 +2962,22 @@ var j1 = (function (options) {
|
|
2898
2962
|
// run all observers for page monitoring
|
2899
2963
|
// -----------------------------------------------------------------------
|
2900
2964
|
|
2901
|
-
|
2902
|
-
|
2903
|
-
|
2904
|
-
|
2905
|
-
|
2906
|
-
|
2965
|
+
if (performance_monitors_enabled) {
|
2966
|
+
// monitor 'LCP'
|
2967
|
+
//
|
2968
|
+
performanceObserverLCP.observe({
|
2969
|
+
type: 'largest-contentful-paint',
|
2970
|
+
buffered: true
|
2971
|
+
});
|
2907
2972
|
|
2908
|
-
|
2909
|
-
|
2910
|
-
|
2911
|
-
|
2912
|
-
|
2913
|
-
|
2973
|
+
// monitor 'CLS'
|
2974
|
+
//
|
2975
|
+
performanceObserverCLS.observe({
|
2976
|
+
type: 'layout-shift',
|
2977
|
+
buffered: true
|
2978
|
+
});
|
2979
|
+
|
2980
|
+
} // END if 'performance_monitors'
|
2914
2981
|
|
2915
2982
|
// monitor 'GROWTH'
|
2916
2983
|
resizeObserver.observe(
|
@@ -290,7 +290,7 @@ j1.adapter.justifiedGalleryCustomizer = (function (j1, window) {
|
|
290
290
|
// See: https://jsfiddle.net/prathviraj080/vbbbw46a/1/
|
291
291
|
//
|
292
292
|
$('button.drawer-toggler').click(function(){
|
293
|
-
$('button.drawer-toggler span.mdi').toggleClass('
|
293
|
+
$('button.drawer-toggler span.mdi').toggleClass('mdib-menu mdib-close');
|
294
294
|
});
|
295
295
|
$('button.drawer-toggler').click(function(){
|
296
296
|
$('button.drawer-toggler').toggleClass('fadeIn rotateIn');
|
@@ -0,0 +1,221 @@
|
|
1
|
+
---
|
2
|
+
regenerate: true
|
3
|
+
---
|
4
|
+
|
5
|
+
{% capture cache %}
|
6
|
+
|
7
|
+
{% comment %}
|
8
|
+
# -----------------------------------------------------------------------------
|
9
|
+
# ~/assets/themes/j1/adapter/js/lazyCSSLoader.js
|
10
|
+
# Liquid template to adapt the lazyCSS module(core)
|
11
|
+
#
|
12
|
+
# Product/Info:
|
13
|
+
# https://jekyll.one
|
14
|
+
# Copyright (C) 2023 Juergen Adams
|
15
|
+
#
|
16
|
+
# J1 Theme is licensed under the MIT License.
|
17
|
+
# For details, see: https://github.com/jekyll-one-org/j1-template/blob/main/LICENSE.md
|
18
|
+
# -----------------------------------------------------------------------------
|
19
|
+
# Test data:
|
20
|
+
# {{ liquid_var | debug }}
|
21
|
+
# wave_options: {{ wave_options | debug }}
|
22
|
+
# -----------------------------------------------------------------------------
|
23
|
+
{% endcomment %}
|
24
|
+
|
25
|
+
{% comment %} Liquid procedures
|
26
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
27
|
+
|
28
|
+
{% comment %} Set global settings
|
29
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
30
|
+
{% assign environment = site.environment %}
|
31
|
+
{% assign asset_path = "/assets/themes/j1" %}
|
32
|
+
|
33
|
+
{% comment %} Process YML config data
|
34
|
+
================================================================================ {% endcomment %}
|
35
|
+
|
36
|
+
{% comment %} Set config files
|
37
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
38
|
+
{% assign template_config = site.data.j1_config %}
|
39
|
+
{% assign blocks = site.data.blocks %}
|
40
|
+
{% assign modules = site.data.modules %}
|
41
|
+
|
42
|
+
{% comment %} Set config data (settings only)
|
43
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
44
|
+
{% assign lazy_loader_defaults = modules.defaults.lazyLoader.defaults %}
|
45
|
+
{% assign lazy_loader_settings = modules.lazyLoader.settings %}
|
46
|
+
|
47
|
+
{% comment %} Set config options (settings only)
|
48
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
49
|
+
{% assign lazy_loader_options = lazy_loader_defaults | merge: lazy_loader_settings %}
|
50
|
+
|
51
|
+
{% comment %} Detect prod mode
|
52
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
53
|
+
{% assign production = false %}
|
54
|
+
{% if environment == 'prod' or environment == 'production' %}
|
55
|
+
{% assign production = true %}
|
56
|
+
{% endif %}
|
57
|
+
|
58
|
+
/*
|
59
|
+
# -----------------------------------------------------------------------------
|
60
|
+
# ~/assets/themes/j1/adapter/js/lazyLoader.js
|
61
|
+
# J1 Adapter for the lazyLoader module (core)
|
62
|
+
#
|
63
|
+
# Product/Info:
|
64
|
+
# https://jekyll.one
|
65
|
+
#
|
66
|
+
# Copyright (C) 2023 Juergen Adams
|
67
|
+
#
|
68
|
+
# J1 Theme is licensed under the MIT License.
|
69
|
+
# For details, see: https://github.com/jekyll-one-org/j1-template/blob/main/LICENSE.md
|
70
|
+
# -----------------------------------------------------------------------------
|
71
|
+
# Adapter generated: {{site.time}}
|
72
|
+
# -----------------------------------------------------------------------------
|
73
|
+
*/
|
74
|
+
|
75
|
+
// -----------------------------------------------------------------------------
|
76
|
+
// ESLint shimming
|
77
|
+
// -----------------------------------------------------------------------------
|
78
|
+
/* eslint indent: "off" */
|
79
|
+
// -----------------------------------------------------------------------------
|
80
|
+
'use strict';
|
81
|
+
j1.adapter.lazyLoader = (function (j1, window) {
|
82
|
+
|
83
|
+
{% comment %} Set global variables
|
84
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
85
|
+
var environment = '{{environment}}';
|
86
|
+
var cookie_names = j1.getCookieNames();
|
87
|
+
var user_state = j1.readCookie(cookie_names.user_state);
|
88
|
+
var lazyLoaderDefaults;
|
89
|
+
var lazyLoaderSettings;
|
90
|
+
var lazyLoaderOptions;
|
91
|
+
var frontmatterOptions;
|
92
|
+
var _this;
|
93
|
+
var logger;
|
94
|
+
var logText;
|
95
|
+
|
96
|
+
// ---------------------------------------------------------------------------
|
97
|
+
// Main object
|
98
|
+
// ---------------------------------------------------------------------------
|
99
|
+
return {
|
100
|
+
|
101
|
+
// -------------------------------------------------------------------------
|
102
|
+
// init()
|
103
|
+
// adapter initializer
|
104
|
+
// -------------------------------------------------------------------------
|
105
|
+
init: function (options) {
|
106
|
+
|
107
|
+
// -----------------------------------------------------------------------
|
108
|
+
// Default module settings
|
109
|
+
// -----------------------------------------------------------------------
|
110
|
+
var settings = $.extend({
|
111
|
+
module_name: 'j1.adapter.lazyLoader',
|
112
|
+
generated: '{{site.time}}'
|
113
|
+
}, options);
|
114
|
+
|
115
|
+
// -----------------------------------------------------------------------
|
116
|
+
// Global variable settings
|
117
|
+
// -----------------------------------------------------------------------
|
118
|
+
|
119
|
+
// create settings object from module options
|
120
|
+
//
|
121
|
+
lazyLoaderDefaults = $.extend({}, {{lazy_loader_defaults | replace: 'nil', 'null' | replace: '=>', ':' }});
|
122
|
+
lazyLoaderSettings = $.extend({}, {{lazy_loader_settings | replace: 'nil', 'null' | replace: '=>', ':' }});
|
123
|
+
lazyLoaderOptions = $.extend(true, {}, lazyLoaderDefaults, lazyLoaderSettings);
|
124
|
+
|
125
|
+
_this = j1.adapter.lazyLoader;
|
126
|
+
logger = log4javascript.getLogger('j1.adapter.lazyLoader');
|
127
|
+
|
128
|
+
var dependencies_met_lazy_loader = setInterval(function() {
|
129
|
+
var pageFinished = (j1.getState() == 'finished') ? true: false;
|
130
|
+
|
131
|
+
if (pageFinished) {
|
132
|
+
|
133
|
+
_this.setState('started');
|
134
|
+
logger.info('\n' + 'initialize moodule lazyLoader: started');
|
135
|
+
|
136
|
+
_this.registerLoaders(lazyLoaderOptions);
|
137
|
+
|
138
|
+
_this.setState('finished');
|
139
|
+
logger.info('\n' + 'initialize moodule lazyLoader: finished');
|
140
|
+
clearInterval(dependencies_met_lazy_loader);
|
141
|
+
}
|
142
|
+
}, 10);
|
143
|
+
|
144
|
+
}, // END init
|
145
|
+
|
146
|
+
// -------------------------------------------------------------------------
|
147
|
+
// registerLoaders()
|
148
|
+
// Lazy load CSS to speed up page rendering
|
149
|
+
//
|
150
|
+
// Requires the following settings:
|
151
|
+
//
|
152
|
+
// src: the 'location' of the CSS file
|
153
|
+
// selector: the 'selector' that triggers the observer
|
154
|
+
// rootMargin: the 'margin' before the load is trigged
|
155
|
+
//
|
156
|
+
// -------------------------------------------------------------------------
|
157
|
+
//
|
158
|
+
registerLoaders: function () {
|
159
|
+
{% for loader in lazy_loader_options.loaders %} {% if loader.enabled %}
|
160
|
+
j1.lazyCSS().observe({
|
161
|
+
src: '{{loader.src}}',
|
162
|
+
selector: '{{loader.selector}}',
|
163
|
+
rootMargin: '{{loader.rootMargin}}'
|
164
|
+
});
|
165
|
+
logger.info('\n' + 'register lazy loading for: {{loader.description}}');
|
166
|
+
{% endif %} {% endfor %}
|
167
|
+
}, // END registerLoaders
|
168
|
+
|
169
|
+
// -------------------------------------------------------------------------
|
170
|
+
// messageHandler()
|
171
|
+
// manage messages send from other J1 modules
|
172
|
+
// -------------------------------------------------------------------------
|
173
|
+
messageHandler: function (sender, message) {
|
174
|
+
var json_message = JSON.stringify(message, undefined, 2);
|
175
|
+
|
176
|
+
logText = '\n' + 'received message from ' + sender + ': ' + json_message;
|
177
|
+
logger.debug(logText);
|
178
|
+
|
179
|
+
// -----------------------------------------------------------------------
|
180
|
+
// Process commands|actions
|
181
|
+
// -----------------------------------------------------------------------
|
182
|
+
if (message.type === 'command' && message.action === 'module_initialized') {
|
183
|
+
//
|
184
|
+
// Place handling of command|action here
|
185
|
+
//
|
186
|
+
logger.info('\n' + message.text);
|
187
|
+
}
|
188
|
+
|
189
|
+
//
|
190
|
+
// Place handling of other command|action here
|
191
|
+
//
|
192
|
+
|
193
|
+
return true;
|
194
|
+
}, // END messageHandler
|
195
|
+
|
196
|
+
// -------------------------------------------------------------------------
|
197
|
+
// setState()
|
198
|
+
// Sets the current (processing) state of the module
|
199
|
+
// -------------------------------------------------------------------------
|
200
|
+
setState: function (stat) {
|
201
|
+
_this.state = stat;
|
202
|
+
}, // END setState
|
203
|
+
|
204
|
+
// -------------------------------------------------------------------------
|
205
|
+
// getState()
|
206
|
+
// Returns the current (processing) state of the module
|
207
|
+
// -------------------------------------------------------------------------
|
208
|
+
getState: function () {
|
209
|
+
return _this.state;
|
210
|
+
} // END getState
|
211
|
+
|
212
|
+
}; // END return
|
213
|
+
})(j1, window);
|
214
|
+
|
215
|
+
{% endcapture %}
|
216
|
+
{% if production %}
|
217
|
+
{{ cache | minifyJS }}
|
218
|
+
{% else %}
|
219
|
+
{{ cache | strip_empty_lines }}
|
220
|
+
{% endif %}
|
221
|
+
{% assign cache = nil %}
|
@@ -168,10 +168,10 @@ j1.adapter.lunr = (function (j1, window) {
|
|
168
168
|
_this.modalScript.text += '{{#docs}}' + '\n';
|
169
169
|
_this.modalScript.text += ' <li>' + '\n';
|
170
170
|
_this.modalScript.text += ' <h4 class="result-item"> <a class="link-no-decoration" href="{{url}}" target="_blank">{{title}} · {{tagline}}</a> </h4>' + '\n';
|
171
|
-
_this.modalScript.text += ' <p class="result-item-text small text-muted mt-2 mb-0"> <i class="
|
171
|
+
_this.modalScript.text += ' <p class="result-item-text small text-muted mt-2 mb-0"> <i class="mdib mdib-calendar-blank mdib-18px mr-1"></i>{{displaydate}} </p>' + '\n';
|
172
172
|
_this.modalScript.text += ' <p class="result-item-text">{{description}}</p>' + '\n';
|
173
|
-
_this.modalScript.text += ' <i class="
|
174
|
-
_this.modalScript.text += ' <i class="
|
173
|
+
_this.modalScript.text += ' <i class="mdib mdib-tag-text-outline mdib-18px mr-1"></i><span class="sr-categories">{{#categories}} {{.}} · {{/categories}}</span>' + '\n';
|
174
|
+
_this.modalScript.text += ' <i class="mdib mdib-tag mdib-18px mr-1 ml-2"></i><span class="sr-tags">{{#tags}} {{.}} · {{/tags}}</span>' + '\n';
|
175
175
|
_this.modalScript.text += ' </p>' + '\n';
|
176
176
|
_this.modalScript.text += ' </li>' + '\n';
|
177
177
|
_this.modalScript.text += '{{/docs}}' + '\n';
|
@@ -487,11 +487,11 @@ j1.adapter.navigator = (function (j1, window) {
|
|
487
487
|
if (user_session.authenticated === 'true') {
|
488
488
|
// Set SignOut
|
489
489
|
$('#navLinkSignInOut').attr('data-bs-target', '#modalOmniSignOut');
|
490
|
-
$('#iconSignInOut').removeClass('
|
490
|
+
$('#iconSignInOut').removeClass('mdib-login').addClass('mdib-logout');
|
491
491
|
} else {
|
492
492
|
// Set SignIn
|
493
493
|
$('#navLinkSignInOut').attr('data-bs-target', '#modalOmniSignIn');
|
494
|
-
$('#iconSignInOut').removeClass('
|
494
|
+
$('#iconSignInOut').removeClass('mdib-logout').addClass('mdib-login');
|
495
495
|
}
|
496
496
|
}
|
497
497
|
|
@@ -889,11 +889,9 @@ j1.adapter.navigator = (function (j1, window) {
|
|
889
889
|
style += '</style>';
|
890
890
|
$('head').append(style);
|
891
891
|
|
892
|
-
|
893
|
-
|
894
892
|
// $('head').append('<style>.mdi-bg-primary {color: ' +bg_scrolled+ ';}</style>');
|
895
893
|
style = '<style>';
|
896
|
-
style += '
|
894
|
+
style += ' var(--bg-primary) {';
|
897
895
|
style += ' color: ' + bg_scrolled;
|
898
896
|
style += ' }';
|
899
897
|
style += '</style>';
|
@@ -164,7 +164,7 @@ var logText;
|
|
164
164
|
//
|
165
165
|
if ($('#quickLinksThemeTogglerButton').length) {
|
166
166
|
if (user_state.theme_name == dark_theme_name) {
|
167
|
-
$('#quickLinksThemeTogglerButton a i').toggleClass('
|
167
|
+
$('#quickLinksThemeTogglerButton a i').toggleClass('mdib-lightbulb mdib-lightbulb-outline');
|
168
168
|
}
|
169
169
|
}
|
170
170
|
|
@@ -173,11 +173,11 @@ var logText;
|
|
173
173
|
if (user_state.theme_name == light_theme_name) {
|
174
174
|
user_state.theme_name = dark_theme_name;
|
175
175
|
user_state.theme_css = dark_theme_css;
|
176
|
-
user_state.theme_icon = '
|
176
|
+
user_state.theme_icon = 'mdib-lightbulb';
|
177
177
|
} else {
|
178
178
|
user_state.theme_name = light_theme_name;
|
179
179
|
user_state.theme_css = light_theme_css;
|
180
|
-
user_state.theme_icon = '
|
180
|
+
user_state.theme_icon = 'mdib-lightbulb-outline';
|
181
181
|
}
|
182
182
|
|
183
183
|
logger.info('\n' + 'switch theme to: ' + user_state.theme_name);
|