j1-template 2020.0.13 → 2020.0.14
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/blocks/footer/boxes/about_box.proc +1 -1
- data/_includes/themes/j1/blocks/footer/boxes/links_box.proc +1 -1
- data/_includes/themes/j1/blocks/footer/boxes/news_box.proc +2 -2
- data/_includes/themes/j1/layouts/content_generator_page.html +23 -23
- data/_includes/themes/j1/modules/navigator/procedures/topsearch.proc +1 -1
- data/_includes/themes/j1/procedures/global/create_word_cloud.proc +5 -2
- data/_includes/themes/j1/procedures/layouts/content_writer.proc +8 -9
- data/_includes/themes/j1/procedures/layouts/module_writer.1.proc +270 -0
- data/_includes/themes/j1/procedures/layouts/module_writer.proc +3 -13
- data/_includes/themes/j1/procedures/posts/collate_timeline.proc +10 -10
- data/_layouts/default.html +60 -54
- data/apps/public/cc/index.adoc +2 -6
- data/assets/data/authclient.html +5 -5
- data/assets/data/banner.html +2 -2
- data/assets/data/{cookie_consent.html → cookiebar.html} +76 -50
- data/assets/data/footer.html +1 -3
- data/assets/data/gallery_customizer.html +3 -3
- data/assets/data/jupyter/notebooks/_html/template.full.head.html +10 -10
- data/assets/data/jupyter/notebooks/_html/visualisation.html +11 -11
- data/assets/data/jupyter/notebooks/html/template.html +7 -7
- data/assets/data/jupyter/notebooks/html/visualisation.ok.html +12 -12
- data/assets/data/menu.html +3 -3
- data/assets/data/mmenu.html +3 -3
- data/assets/data/mmenu_sidebar.html +2 -2
- data/assets/data/mmenu_toc.html +2 -2
- data/assets/data/panel.html +18 -17
- data/assets/data/quicklinks.html +17 -17
- data/assets/data/search.json +81 -80
- data/assets/data/ssm.html +2 -2
- data/assets/data/twa_v1.json +6978 -6980
- data/assets/themes/j1/adapter/js/algolia.js +16 -14
- data/assets/themes/j1/adapter/js/attic.js +25 -33
- data/assets/themes/j1/adapter/js/carousel.js +15 -11
- data/assets/themes/j1/adapter/js/clipboard.js +19 -17
- data/assets/themes/j1/adapter/js/cookiebar.js +204 -0
- data/assets/themes/j1/adapter/js/framer.js +27 -19
- data/assets/themes/j1/adapter/js/gallery_customizer.js +219 -248
- data/assets/themes/j1/adapter/js/j1.js +273 -153
- data/assets/themes/j1/adapter/js/jf_gallery.js +21 -20
- data/assets/themes/j1/adapter/js/lightbox.js +9 -8
- data/assets/themes/j1/adapter/js/logger.js +2 -4
- data/assets/themes/j1/adapter/js/mdb.js +27 -30
- data/assets/themes/j1/adapter/js/mmenu.js +47 -51
- data/assets/themes/j1/adapter/js/navigator.js +153 -123
- data/assets/themes/j1/adapter/js/searcher.js +18 -12
- data/assets/themes/j1/adapter/js/ssm.js +82 -82
- data/assets/themes/j1/adapter/js/themer.js +72 -78
- data/assets/themes/j1/adapter/js/toccer.js +11 -9
- data/assets/themes/j1/core/css/animate.css +2382 -0
- data/assets/themes/j1/core/css/animate.min.css +7 -0
- data/assets/themes/j1/core/css/fontawesome.css +4415 -0
- data/assets/themes/j1/core/css/fontawesome.min.css +1 -0
- data/assets/themes/j1/core/css/iconify-icons.css +4106 -0
- data/assets/themes/j1/core/css/iconify-icons.min.css +1 -0
- data/assets/themes/j1/core/css/material-design-icons.css +14532 -0
- data/assets/themes/j1/core/css/material-design-icons.min.css +1 -0
- data/assets/themes/j1/core/css/theme_extensions.css +99 -1697
- data/assets/themes/j1/core/css/theme_extensions.min.css +1 -1
- data/assets/themes/j1/core/css/twemoji.css +9485 -0
- data/assets/themes/j1/core/css/twemoji.min.css +1 -0
- data/assets/themes/j1/core/css/uno.css +128 -1680
- data/assets/themes/j1/core/css/uno.min.css +1 -1
- data/assets/themes/j1/core/css/vendor.css +767 -33164
- data/assets/themes/j1/core/css/vendor.min.css +2 -9
- data/assets/themes/j1/core/js/template.js +26 -347
- data/assets/themes/j1/core/js/template.js.map +1 -1
- data/assets/themes/j1/core/js/template.min.js +1 -1
- data/assets/themes/j1/modules/backstretch/js/backstretch.js +1695 -0
- data/assets/themes/j1/modules/backstretch/js/backstretch.min.js +21 -0
- data/assets/themes/j1/modules/backstretch/js/backstretch.min.js.org +1 -0
- data/assets/themes/j1/modules/bmd/css/bootstrap-material-design.css +12177 -0
- data/assets/themes/j1/modules/bmd/css/bootstrap-material-design.min.css +8 -0
- data/assets/themes/j1/modules/bmd/js/bootstrap-material-design.js +6930 -0
- data/assets/themes/j1/modules/bmd/js/bootstrap-material-design.js.map +1 -0
- data/assets/themes/j1/modules/bmd/js/bootstrap-material-design.min.js +1 -0
- data/assets/themes/j1/modules/bootstrap/css/bootstrap.css +10278 -0
- data/assets/themes/j1/modules/bootstrap/css/bootstrap.css.map +1 -0
- data/assets/themes/j1/modules/bootstrap/css/bootstrap.min.css +7 -0
- data/assets/themes/j1/modules/bootstrap/css/bootstrap.min.css.map +1 -0
- data/assets/themes/j1/modules/bootstrap/js/bootstrap.js +4420 -0
- data/assets/themes/j1/modules/bootstrap/js/bootstrap.js.map +1 -0
- data/assets/themes/j1/modules/bootstrap/js/bootstrap.min.js +7 -0
- data/assets/themes/j1/modules/bootstrap/js/bootstrap.min.js.map +1 -0
- data/assets/themes/j1/{extensions → modules}/bsDatepicker/css/datepicker.css +1 -1
- data/assets/themes/j1/{extensions → modules}/bsDatepicker/css/theme/uno.css +1 -1
- data/assets/themes/j1/{extensions → modules}/bsDatepicker/js/datepicker.js +1 -1
- data/assets/themes/j1/{extensions → modules}/bsDatepicker/less/datepicker.less +0 -0
- data/assets/themes/j1/{extensions → modules}/bsThemeSwitcher/js/switcher.js +19 -10
- data/assets/themes/j1/{extensions → modules}/bsThemeSwitcher/js/switcher.min.js +1 -1
- data/assets/themes/j1/{extensions → modules}/carousel/css/carousel.css +1 -1
- data/assets/themes/j1/{extensions → modules}/carousel/css/carousel.min.css +1 -1
- data/assets/themes/j1/{extensions → modules}/carousel/css/carousel_transitions.css +1 -1
- data/assets/themes/j1/{extensions → modules}/carousel/css/carousel_transitions.min.css +1 -1
- data/assets/themes/j1/{extensions → modules}/carousel/css/theme/uno.css +1 -1
- data/assets/themes/j1/{extensions → modules}/carousel/css/theme/uno.min.css +1 -1
- data/assets/themes/j1/{extensions → modules}/carousel/images/ajax-loader.gif +0 -0
- data/assets/themes/j1/{extensions → modules}/carousel/images/grabbing.png +0 -0
- data/assets/themes/j1/{extensions → modules}/carousel/images/owl-logo.png +0 -0
- data/assets/themes/j1/{extensions → modules}/carousel/images/owl.video.play.png +0 -0
- data/assets/themes/j1/{extensions → modules}/carousel/js/carousel.js +0 -0
- data/assets/themes/j1/{extensions → modules}/carousel/js/carousel.min.js +0 -0
- data/assets/themes/j1/{extensions → modules}/clipboard/LICENSE +0 -0
- data/assets/themes/j1/{extensions → modules}/clipboard/css/theme/uno.css +1 -1
- data/assets/themes/j1/{extensions → modules}/clipboard/css/theme/uno.min.css +1 -1
- data/assets/themes/j1/{extensions → modules}/clipboard/js/clipboard.js +0 -0
- data/assets/themes/j1/{extensions → modules}/clipboard/js/clipboard.min.js +0 -0
- data/assets/themes/j1/{extensions → modules}/iconifyAPI/js/iconify.min.js +0 -0
- data/assets/themes/j1/{extensions → modules}/iframeResizer/LICENSE +0 -0
- data/assets/themes/j1/{extensions → modules}/iframeResizer/examples/frame.absolute.html +0 -0
- data/assets/themes/j1/{extensions → modules}/iframeResizer/examples/frame.content.html +0 -0
- data/assets/themes/j1/{extensions → modules}/iframeResizer/examples/frame.hover.html +0 -0
- data/assets/themes/j1/{extensions → modules}/iframeResizer/examples/frame.nested.html +0 -0
- data/assets/themes/j1/{extensions → modules}/iframeResizer/examples/frame.textarea.html +0 -0
- data/assets/themes/j1/{extensions → modules}/iframeResizer/examples/frame.tolerance.html +0 -0
- data/assets/themes/j1/{extensions → modules}/iframeResizer/examples/index.html +0 -0
- data/assets/themes/j1/{extensions → modules}/iframeResizer/examples/two.html +0 -0
- data/assets/themes/j1/{extensions → modules}/iframeResizer/js/client/iframeResizer.contentWindow.js +0 -0
- data/assets/themes/j1/{extensions → modules}/iframeResizer/js/client/iframeResizer.contentWindow.map +0 -0
- data/assets/themes/j1/{extensions → modules}/iframeResizer/js/client/iframeResizer.contentWindow.min.js +0 -0
- data/assets/themes/j1/{extensions → modules}/iframeResizer/js/iframeResizer.js +0 -0
- data/assets/themes/j1/{extensions → modules}/iframeResizer/js/iframeResizer.map +0 -0
- data/assets/themes/j1/{extensions → modules}/iframeResizer/js/iframeResizer.min.js +0 -0
- data/assets/themes/j1/modules/jekyllSearch/js/simple-jekyll-search.js +624 -0
- data/assets/themes/j1/modules/jekyllSearch/js/simple-jekyll-search.min.js +6 -0
- data/assets/themes/j1/{extensions → modules}/jqMouseWheel/README.md +0 -0
- data/assets/themes/j1/{extensions → modules}/jqMouseWheel/js/jquery.mousewheel.js +0 -0
- data/assets/themes/j1/{extensions → modules}/jqMouseWheel/js/jquery.mousewheel.min.js +0 -0
- data/assets/themes/j1/modules/jquery/js/jquery.js +10869 -0
- data/assets/themes/j1/modules/jquery/js/jquery.min.js +2 -0
- data/assets/themes/j1/{extensions → modules}/justifiedGallery/LICENSE +0 -0
- data/assets/themes/j1/{extensions → modules}/justifiedGallery/README.md +0 -0
- data/assets/themes/j1/{extensions → modules}/justifiedGallery/_versions/v3.7.0/css/justifiedGallery.css +0 -0
- data/assets/themes/j1/{extensions → modules}/justifiedGallery/_versions/v3.7.0/css/justifiedGallery.min.css +0 -0
- data/assets/themes/j1/{extensions/justifiedGallery/_versions/v4.0.0 → modules/justifiedGallery/_versions/v3.7.0}/css/theme/uno.css +1 -1
- data/assets/themes/j1/{extensions → modules}/justifiedGallery/_versions/v3.7.0/js/justifiedGallery.3.7.0.js +0 -0
- data/assets/themes/j1/{extensions → modules}/justifiedGallery/_versions/v3.7.0/js/justifiedGallery.js +0 -0
- data/assets/themes/j1/{extensions → modules}/justifiedGallery/_versions/v3.7.0/js/justifiedGallery.min.js +0 -0
- data/assets/themes/j1/{extensions → modules}/justifiedGallery/_versions/v3.7.0/less/.csslintrc +0 -0
- data/assets/themes/j1/{extensions → modules}/justifiedGallery/_versions/v3.7.0/less/justifiedGallery.less +0 -0
- data/assets/themes/j1/{extensions → modules}/justifiedGallery/_versions/v4.0.0/css/justifiedGallery.css +0 -0
- data/assets/themes/j1/{extensions → modules}/justifiedGallery/_versions/v4.0.0/css/justifiedGallery.min.css +0 -0
- data/assets/themes/j1/{extensions/justifiedGallery/_versions/v3.7.0 → modules/justifiedGallery/_versions/v4.0.0}/css/theme/uno.css +1 -1
- data/assets/themes/j1/{extensions → modules}/justifiedGallery/_versions/v4.0.0/js/jquery.justifiedGallery.js +0 -0
- data/assets/themes/j1/{extensions → modules}/justifiedGallery/_versions/v4.0.0/js/jquery.justifiedGallery.min.js +0 -0
- data/assets/themes/j1/{extensions → modules}/justifiedGallery/css/justifiedGallery.css +0 -0
- data/assets/themes/j1/{extensions → modules}/justifiedGallery/css/justifiedGallery.min.css +0 -0
- data/assets/themes/j1/{extensions → modules}/justifiedGallery/css/theme/uno.css +1 -1
- data/assets/themes/j1/{extensions → modules}/justifiedGallery/css/theme/uno.min.css +1 -1
- data/assets/themes/j1/{extensions → modules}/justifiedGallery/js/justifiedGallery.js +0 -0
- data/assets/themes/j1/{extensions → modules}/justifiedGallery/js/justifiedGallery.min.js +0 -0
- data/assets/themes/j1/{extensions → modules}/lightGallery/css/core/lg-fb-comment-box.css +0 -0
- data/assets/themes/j1/{extensions → modules}/lightGallery/css/core/lg-fb-comment-box.min.css +0 -0
- data/assets/themes/j1/{extensions → modules}/lightGallery/css/core/lg-transitions.css +0 -0
- data/assets/themes/j1/{extensions → modules}/lightGallery/css/core/lg-transitions.min.css +0 -0
- data/assets/themes/j1/{extensions → modules}/lightGallery/css/core/lightgallery.css +0 -0
- data/assets/themes/j1/{extensions → modules}/lightGallery/css/core/lightgallery.min.css +0 -0
- data/assets/themes/j1/{extensions → modules}/lightGallery/css/fonts/lg.eot +0 -0
- data/assets/themes/j1/{extensions → modules}/lightGallery/css/fonts/lg.svg +0 -0
- data/assets/themes/j1/{extensions → modules}/lightGallery/css/fonts/lg.ttf +0 -0
- data/assets/themes/j1/{extensions → modules}/lightGallery/css/fonts/lg.woff +0 -0
- data/assets/themes/j1/{extensions → modules}/lightGallery/css/img/loading.gif +0 -0
- data/assets/themes/j1/{extensions → modules}/lightGallery/css/img/video-play.png +0 -0
- data/assets/themes/j1/{extensions → modules}/lightGallery/css/img/vimeo-play.png +0 -0
- data/assets/themes/j1/{extensions → modules}/lightGallery/css/img/youtube-play.png +0 -0
- data/assets/themes/j1/{extensions → modules}/lightGallery/css/themes/icons/animation-w.png +0 -0
- data/assets/themes/j1/{extensions → modules}/lightGallery/css/themes/icons/customize-w.png +0 -0
- data/assets/themes/j1/{extensions → modules}/lightGallery/css/themes/icons/dynamic-w.png +0 -0
- data/assets/themes/j1/{extensions → modules}/lightGallery/css/themes/icons/facebook-icon.svg +0 -0
- data/assets/themes/j1/{extensions → modules}/lightGallery/css/themes/icons/googleplus-icon.svg +0 -0
- data/assets/themes/j1/{extensions → modules}/lightGallery/css/themes/icons/html5-w.png +0 -0
- data/assets/themes/j1/{extensions → modules}/lightGallery/css/themes/icons/linked-in.png +0 -0
- data/assets/themes/j1/{extensions → modules}/lightGallery/css/themes/icons/module-w.png +0 -0
- data/assets/themes/j1/{extensions → modules}/lightGallery/css/themes/icons/play-button.png +0 -0
- data/assets/themes/j1/{extensions → modules}/lightGallery/css/themes/icons/responsive-w.png +0 -0
- data/assets/themes/j1/{extensions → modules}/lightGallery/css/themes/icons/thumb-w.png +0 -0
- data/assets/themes/j1/{extensions → modules}/lightGallery/css/themes/icons/touch-w.png +0 -0
- data/assets/themes/j1/{extensions → modules}/lightGallery/css/themes/icons/twitter-icon.svg +0 -0
- data/assets/themes/j1/{extensions → modules}/lightGallery/css/themes/icons/twitter.png +0 -0
- data/assets/themes/j1/{extensions → modules}/lightGallery/css/themes/icons/video1-w.png +0 -0
- data/assets/themes/j1/{extensions → modules}/lightGallery/css/themes/icons/zoom-w.png +0 -0
- data/assets/themes/j1/{extensions → modules}/lightGallery/css/themes/icons/zoom.png +0 -0
- data/assets/themes/j1/{extensions → modules}/lightGallery/css/themes/uno.css +1 -1
- data/assets/themes/j1/{extensions → modules}/lightGallery/css/themes/uno.min.css +1 -1
- data/assets/themes/j1/{extensions → modules}/lightGallery/js/core/lightgallery.js +0 -0
- data/assets/themes/j1/{extensions → modules}/lightGallery/js/core/lightgallery.min.js +0 -0
- data/assets/themes/j1/{extensions → modules}/lightGallery/js/modules/j1/j1-video.js +0 -0
- data/assets/themes/j1/{extensions → modules}/lightGallery/js/modules/j1/j1-video.min.js +0 -0
- data/assets/themes/j1/{extensions → modules}/lightGallery/js/modules/lg-autoplay.js +0 -0
- data/assets/themes/j1/{extensions → modules}/lightGallery/js/modules/lg-autoplay.min.js +0 -0
- data/assets/themes/j1/{extensions → modules}/lightGallery/js/modules/lg-fullscreen.js +0 -0
- data/assets/themes/j1/{extensions → modules}/lightGallery/js/modules/lg-fullscreen.min.js +0 -0
- data/assets/themes/j1/{extensions → modules}/lightGallery/js/modules/lg-hash.js +0 -0
- data/assets/themes/j1/{extensions → modules}/lightGallery/js/modules/lg-hash.min.js +0 -0
- data/assets/themes/j1/{extensions → modules}/lightGallery/js/modules/lg-pager.js +0 -0
- data/assets/themes/j1/{extensions → modules}/lightGallery/js/modules/lg-pager.min.js +0 -0
- data/assets/themes/j1/{extensions → modules}/lightGallery/js/modules/lg-share.js +0 -0
- data/assets/themes/j1/{extensions → modules}/lightGallery/js/modules/lg-share.min.js +0 -0
- data/assets/themes/j1/{extensions → modules}/lightGallery/js/modules/lg-thumbnail.js +0 -0
- data/assets/themes/j1/{extensions → modules}/lightGallery/js/modules/lg-thumbnail.min.js +0 -0
- data/assets/themes/j1/{extensions → modules}/lightGallery/js/modules/lg-video.js +0 -0
- data/assets/themes/j1/{extensions → modules}/lightGallery/js/modules/lg-video.min.js +0 -0
- data/assets/themes/j1/{extensions → modules}/lightGallery/js/modules/lg-zoom.js +0 -0
- data/assets/themes/j1/{extensions → modules}/lightGallery/js/modules/lg-zoom.min.js +0 -0
- data/assets/themes/j1/{extensions → modules}/lightbox/LICENSE +0 -0
- data/assets/themes/j1/{extensions → modules}/lightbox/css/lightbox.css +1 -1
- data/assets/themes/j1/{extensions → modules}/lightbox/css/lightbox.min.css +1 -1
- data/assets/themes/j1/{extensions → modules}/lightbox/css/theme/uno.css +1 -1
- data/assets/themes/j1/{extensions → modules}/lightbox/css/theme/uno.min.css +1 -1
- data/assets/themes/j1/{extensions → modules}/lightbox/images/close.png +0 -0
- data/assets/themes/j1/{extensions → modules}/lightbox/images/loading.gif +0 -0
- data/assets/themes/j1/{extensions → modules}/lightbox/images/next.png +0 -0
- data/assets/themes/j1/{extensions → modules}/lightbox/images/prev.png +0 -0
- data/assets/themes/j1/{extensions → modules}/lightbox/js/lightbox.js +0 -0
- data/assets/themes/j1/{extensions → modules}/lightbox/js/lightbox.min.js +0 -0
- data/assets/themes/j1/{extensions → modules}/mmenuLight/css/mmenu.css +1 -1
- data/assets/themes/j1/{extensions → modules}/mmenuLight/css/mmenu.min.css +0 -0
- data/assets/themes/j1/{extensions/mmenuLight/css/theme/uno.min.css → modules/mmenuLight/css/theme/uno.css} +21 -12
- data/assets/themes/j1/{extensions/mmenuLight/css/theme/uno.css → modules/mmenuLight/css/theme/uno.min.css} +2 -2
- data/assets/themes/j1/modules/mmenuLight/js/mmenu.js +563 -0
- data/assets/themes/j1/{extensions/mmenuLight/js/mmenu.js → modules/mmenuLight/js/mmenu.min.js} +1 -1
- data/assets/themes/j1/{extensions → modules}/noUISlider/LICENSE +0 -0
- data/assets/themes/j1/{extensions → modules}/noUISlider/css/nouislider.css +0 -0
- data/assets/themes/j1/{extensions → modules}/noUISlider/css/nouislider.min.css +0 -0
- data/assets/themes/j1/{extensions → modules}/noUISlider/js/nouislider.js +0 -0
- data/assets/themes/j1/{extensions → modules}/noUISlider/js/nouislider.min.js +0 -0
- data/assets/themes/j1/modules/polyfills/js/msie.js +140 -0
- data/assets/themes/j1/modules/popper/js/popper.js +2623 -0
- data/assets/themes/j1/modules/popper/js/popper.js.map +1 -0
- data/assets/themes/j1/modules/popper/js/popper.min.js +4 -0
- data/assets/themes/j1/modules/popper/js/popper.min.js.map +1 -0
- data/assets/themes/j1/{extensions → modules}/rouge/css/base16.dark/theme.css +0 -0
- data/assets/themes/j1/{extensions → modules}/rouge/css/base16.light/theme.css +0 -0
- data/assets/themes/j1/{extensions → modules}/rouge/css/base16.monokai.dark/theme.css +0 -0
- data/assets/themes/j1/{extensions → modules}/rouge/css/base16.monokai.light/theme.css +0 -0
- data/assets/themes/j1/{extensions → modules}/rouge/css/base16.monokai/theme.css +0 -0
- data/assets/themes/j1/{extensions → modules}/rouge/css/base16.solarized.dark/theme.css +0 -0
- data/assets/themes/j1/{extensions → modules}/rouge/css/base16.solarized.light/theme.css +0 -0
- data/assets/themes/j1/{extensions → modules}/rouge/css/base16.solarized/theme.css +0 -0
- data/assets/themes/j1/{extensions → modules}/rouge/css/base16/theme.css +0 -0
- data/assets/themes/j1/{extensions → modules}/rouge/css/colorful/theme.css +0 -0
- data/assets/themes/j1/{extensions → modules}/rouge/css/github/theme.css +0 -0
- data/assets/themes/j1/{extensions → modules}/rouge/css/gruvbox.dark/theme.css +0 -0
- data/assets/themes/j1/{extensions → modules}/rouge/css/gruvbox.light/theme.css +0 -0
- data/assets/themes/j1/{extensions → modules}/rouge/css/gruvbox/theme.css +0 -0
- data/assets/themes/j1/{extensions → modules}/rouge/css/igorpro/theme.css +0 -0
- data/assets/themes/j1/{extensions → modules}/rouge/css/molokai/theme.css +0 -0
- data/assets/themes/j1/{extensions → modules}/rouge/css/monokai.sublime/theme.css +0 -0
- data/assets/themes/j1/{extensions → modules}/rouge/css/monokai/theme.css +0 -0
- data/assets/themes/j1/{extensions → modules}/rouge/css/pastie/theme.css +0 -0
- data/assets/themes/j1/{extensions → modules}/rouge/css/thankful_eyes/theme.css +0 -0
- data/assets/themes/j1/{extensions → modules}/rouge/css/tulip/theme.css +0 -0
- data/assets/themes/j1/modules/tocbot/css/theme/uno.css +89 -0
- data/assets/themes/j1/modules/tocbot/css/theme/uno.min.css +89 -0
- data/assets/themes/j1/modules/tocbot/css/tocbot.css +75 -0
- data/assets/themes/j1/modules/tocbot/css/tocbot.min.css +19 -0
- data/assets/themes/j1/modules/tocbot/js/tocbot.js +19 -0
- data/assets/themes/j1/modules/tocbot/js/tocbot.min.js +19 -0
- data/assets/themes/j1/{extensions → modules}/twemoji/js/LICENSE +0 -0
- data/assets/themes/j1/{extensions → modules}/twemoji/js/picker/LICENSE +0 -0
- data/assets/themes/j1/modules/twemoji/js/picker/twemoji-picker.js +275 -0
- data/assets/themes/j1/modules/twemoji/js/picker/twemoji-picker.min.js +275 -0
- data/assets/themes/j1/{extensions → modules}/twemoji/js/twemoji.js +0 -1
- data/assets/themes/j1/modules/twemoji/js/twemoji.min.js +25 -0
- data/assets/themes/j1/modules/util/js/js.cookie.js +163 -0
- data/assets/themes/j1/modules/util/js/lite-url.js +203 -0
- data/assets/themes/j1/modules/util/js/lite-url.min.js +7 -0
- data/assets/themes/j1/modules/util/js/log4javascript.js +264 -0
- data/assets/themes/j1/modules/util/js/platform.js +1260 -0
- data/assets/themes/j1/{extensions → modules}/videojs/css/themes/city.css +0 -0
- data/assets/themes/j1/{extensions → modules}/videojs/css/themes/city.min.css +0 -0
- data/assets/themes/j1/{extensions → modules}/videojs/css/themes/fantasy.css +0 -0
- data/assets/themes/j1/{extensions → modules}/videojs/css/themes/fantasy.min.css +0 -0
- data/assets/themes/j1/{extensions → modules}/videojs/css/themes/forest.css +0 -0
- data/assets/themes/j1/{extensions → modules}/videojs/css/themes/forest.min.css +0 -0
- data/assets/themes/j1/{extensions → modules}/videojs/css/themes/sea.css +0 -0
- data/assets/themes/j1/{extensions → modules}/videojs/css/themes/sea.min.css +0 -0
- data/assets/themes/j1/{extensions → modules}/videojs/css/video-js.css +0 -0
- data/assets/themes/j1/{extensions → modules}/videojs/css/video-js.min.css +0 -0
- data/assets/themes/j1/{extensions → modules}/videojs/js/video.js +0 -0
- data/assets/themes/j1/{extensions → modules}/videojs/js/video.min.js +0 -0
- data/assets/themes/j1/{extensions → modules}/vimeo/froogaloop/js/froogaloop2.min.js +0 -0
- data/assets/themes/j1/{extensions → modules}/vimeo/player/js/player.js +0 -0
- data/assets/themes/j1/{extensions → modules}/vimeo/player/js/player.js.map +0 -0
- data/assets/themes/j1/{extensions → modules}/vimeo/player/js/player.min.js +0 -0
- data/assets/themes/j1/{extensions → modules}/vimeo/player/js/player.min.js.map +0 -0
- data/lib/j1/version.rb +3 -3
- data/lib/starter_web/Gemfile +10 -10
- data/lib/starter_web/_config.yml +4 -4
- data/lib/starter_web/_data/blocks/banner.yml +2 -2
- data/lib/starter_web/_data/blocks/panel.yml +8 -8
- data/lib/starter_web/_data/modules/attics.yml +1 -1
- data/lib/starter_web/_data/modules/cookiebar.yml +2 -2
- data/lib/starter_web/_data/modules/defaults/attics.yml +1 -1
- data/lib/starter_web/_data/modules/defaults/cookiebar.yml +101 -50
- data/lib/starter_web/_data/modules/navigator_menu.yml +3 -4
- data/lib/starter_web/_data/modules/themer.yml +9 -9
- data/lib/starter_web/_data/resources.yml +247 -170
- data/lib/starter_web/_data/template_settings.yml +11 -10
- data/lib/starter_web/_plugins/asciidoctor-extensions/banner.rb +43 -0
- data/lib/starter_web/_plugins/asciidoctor-extensions/panel.rb +43 -0
- data/lib/starter_web/_plugins/{asciidoctor-extensions/lorem-inline.rb → lorem-inline.rb} +0 -0
- data/lib/starter_web/assets/images/modules/attics/aditya-joshi-1920x1280.webp +0 -0
- data/lib/starter_web/assets/images/modules/attics/admin-dashboard-bootstrap-1280x600.webp +0 -0
- data/lib/starter_web/assets/images/modules/attics/alex-holyoake-1920x1280.webp +0 -0
- data/lib/starter_web/assets/images/modules/attics/anaya-katlego-1920x1280.webp +0 -0
- data/lib/starter_web/assets/images/modules/attics/antonella-lombardi-1920x1280.webp +0 -0
- data/lib/starter_web/assets/images/modules/attics/antonino-visalli-1920x1280.webp +0 -0
- data/lib/starter_web/assets/images/modules/attics/banner/admin-dashboard-bootstrap-1280x800-bw.webp +0 -0
- data/lib/starter_web/assets/images/modules/attics/banner/docker-1280x600-bw.webp +0 -0
- data/lib/starter_web/assets/images/modules/attics/banner/jekyll.1200x600-bw.webp +0 -0
- data/lib/starter_web/assets/images/modules/attics/banner/library-1920x800-bw.webp +0 -0
- data/lib/starter_web/assets/images/modules/attics/banner/signpost-1920x800-bw.webp +0 -0
- data/lib/starter_web/assets/images/modules/attics/banner/water-journal-1280x600.webp +0 -0
- data/lib/starter_web/assets/images/modules/attics/banner/write-1280x600-bw.webp +0 -0
- data/lib/starter_web/assets/images/modules/attics/brandon-mowinkel-1920x1280.webp +0 -0
- data/lib/starter_web/assets/images/modules/attics/building-blocks-1920x1280-bw.webp +0 -0
- data/lib/starter_web/assets/images/modules/attics/cookies-1920x1200-bw.webp +0 -0
- data/lib/starter_web/assets/images/modules/attics/daniel-jensen-1920x1280.webp +0 -0
- data/lib/starter_web/assets/images/modules/attics/giammarco-boscaro-1920x1280.webp +0 -0
- data/lib/starter_web/assets/images/modules/attics/go-up-1920x1280-bw.webp +0 -0
- data/lib/starter_web/assets/images/modules/attics/ian-schneider-1920x1280.webp +0 -0
- data/lib/starter_web/assets/images/modules/attics/ideas-start-here-1920x1280-bw.webp +0 -0
- data/lib/starter_web/assets/images/modules/attics/jason-rosewell-1920x1280.webp +0 -0
- data/lib/starter_web/assets/images/modules/attics/jessica-ruscello-1920x1280.webp +0 -0
- data/lib/starter_web/assets/images/modules/attics/lianhao-1920x1280.webp +0 -0
- data/lib/starter_web/assets/images/modules/attics/library-1920x1280-bw.webp +0 -0
- data/lib/starter_web/assets/images/modules/attics/matthaeus-1920x1280.webp +0 -0
- data/lib/starter_web/assets/images/modules/attics/nousnou-iwasaki-1920x1280.webp +0 -0
- data/lib/starter_web/assets/images/modules/attics/premium-1920x1280-bw.webp +0 -0
- data/lib/starter_web/assets/images/modules/attics/robert-v-ruggiero-1920x1280.webp +0 -0
- data/lib/starter_web/assets/images/modules/attics/romain-vignes-1920x1280.webp +0 -0
- data/lib/starter_web/assets/images/modules/attics/runner-1920x1200-bw.webp +0 -0
- data/lib/starter_web/assets/images/modules/attics/spider-web-1920x1200-bw.webp +0 -0
- data/lib/starter_web/assets/images/modules/attics/the-place-1920x1280-bw.webp +0 -0
- data/lib/starter_web/assets/images/modules/attics/welcome-1920x1280-bw.webp +0 -0
- data/lib/starter_web/assets/images/pages/roundtrip/bootstrap-1920x1000-bw.webp +0 -0
- data/lib/starter_web/assets/images/pages/roundtrip/cards-1920x1280-bw.webp +0 -0
- data/lib/starter_web/assets/images/pages/roundtrip/emojies-1920x1280-bw.webp +0 -0
- data/lib/starter_web/assets/images/pages/roundtrip/icon-fonts-1920x1280-bw.webp +0 -0
- data/lib/starter_web/assets/images/pages/roundtrip/images-1920x1280-bw.webp +0 -0
- data/lib/starter_web/assets/images/pages/roundtrip/puzzle-1920x1280-bw.webp +0 -0
- data/lib/starter_web/assets/images/pages/roundtrip/tables-1920x1280-bw.webp +0 -0
- data/lib/starter_web/assets/images/pages/roundtrip/themes-1920x1280-bw.webp +0 -0
- data/lib/starter_web/assets/images/pages/roundtrip/typography-1920x1280-bw.webp +0 -0
- data/lib/starter_web/assets/videos/headers/still/underground-broadway.webp +0 -0
- data/lib/starter_web/assets/videos/headers/still/victoria-oskolovich-on-vimeo.webp +0 -0
- data/lib/starter_web/collections/posts/public/featured/_posts/0000-00-00-welcome-to-j1-template.adoc.erb +5 -6
- data/lib/starter_web/collections/posts/public/featured/_posts/2018-05-01-confusion-about-base-url.adoc +2 -2
- data/lib/starter_web/collections/posts/public/featured/_posts/2019-05-01-top-open-source-static-site-generators.adoc +19 -19
- data/lib/starter_web/collections/posts/public/featured/_posts/2019-06-01-about-cookies.adoc +38 -42
- data/lib/starter_web/collections/posts/public/series/_posts/2018-11-01-docker-using-shared-folders.adoc +4 -7
- data/lib/starter_web/collections/posts/public/wikipedia/_posts/2016-11-20-minneapolis.adoc +1 -3
- data/lib/starter_web/collections/posts/public/wikipedia/_posts/2016-11-24-narcisse-snake-dens.adoc +3 -3
- data/lib/starter_web/collections/posts/public/wikipedia/_posts/2016-11-26-columbia-river.adoc +4 -4
- data/lib/starter_web/index.html +2 -2
- data/lib/starter_web/package.json +1 -1
- data/lib/starter_web/pages/public/about/about_site.adoc +1 -1
- data/lib/starter_web/pages/public/about/become_a_patron.adoc +1 -1
- data/lib/starter_web/pages/public/blog/navigator/archive.html +24 -18
- data/lib/starter_web/pages/public/blog/navigator/archive/categoryview.html +39 -34
- data/lib/starter_web/pages/public/blog/navigator/archive/dateview.html +43 -30
- data/lib/starter_web/pages/public/blog/navigator/archive/tagview.html +29 -29
- data/lib/starter_web/pages/public/blog/navigator/index.html +3 -3
- data/lib/starter_web/pages/public/learn/roundtrip/000_bs_tour.1.asciidoc +1 -2
- data/lib/starter_web/pages/public/learn/roundtrip/000_bs_tour.adoc +1 -2
- data/lib/starter_web/pages/public/learn/roundtrip/000_bs_tour_api.adoc +16 -18
- data/lib/starter_web/pages/public/learn/roundtrip/000_includes/attributes.asciidoc +1 -1
- data/lib/starter_web/pages/public/learn/roundtrip/000_includes/documents/419_advanced_modals_html.asciidoc +3 -3
- data/lib/starter_web/pages/public/learn/roundtrip/100_present_images.adoc +1 -1
- data/lib/starter_web/pages/public/learn/roundtrip/100_present_videos.adoc +2 -2
- data/lib/starter_web/pages/public/learn/roundtrip/200_typography.adoc +4 -1
- data/lib/starter_web/pages/public/learn/roundtrip/300_icon_fonts.adoc +3 -3
- data/lib/starter_web/pages/public/learn/roundtrip/400_asciidoc_extensions.adoc +2 -2
- data/lib/starter_web/pages/public/learn/roundtrip/410_bs_modals_extentions.adoc +10 -11
- data/lib/starter_web/pages/public/learn/roundtrip/420_responsive_tables_extensions.adoc +3 -3
- data/lib/starter_web/pages/public/learn/roundtrip/500_themes.adoc +20 -22
- data/lib/starter_web/pages/public/{previewer/mdb_preview → learn/roundtrip/510_mdb_preview}/000_includes/attributes.asciidoc +0 -0
- data/lib/starter_web/pages/public/{previewer/mdb_preview → learn/roundtrip/510_mdb_preview}/000_includes/documents/100_buttons.asciidoc +0 -0
- data/lib/starter_web/pages/public/{previewer/mdb_preview → learn/roundtrip/510_mdb_preview}/mdb_previewer.adoc +0 -0
- data/lib/starter_web/pages/public/learn/vtutorials/000_includes/attributes.asciidoc +3 -3
- data/lib/starter_web/pages/public/learn/vtutorials/000_includes/documents/419_advanced_modals_html.asciidoc +5 -5
- data/lib/starter_web/pages/public/learn/whats_up.adoc +2 -3
- data/lib/starter_web/pages/public/legal/en/000_copyright.adoc +1 -1
- data/lib/starter_web/pages/public/legal/en/100_impress.adoc +1 -1
- data/lib/starter_web/pages/public/legal/en/300_privacy.adoc +1 -1
- data/lib/starter_web/pages/public/panels/intro_panel/panel.adoc +1 -1
- data/lib/starter_web/pages/public/previewer/bootstrap_theme.adoc +9 -9
- data/lib/starter_web/pages/public/previewer/iframer.adoc +4 -3
- data/lib/starter_web/pages/public/previewer/mdi_icons_preview.adoc +2 -2
- data/lib/starter_web/pages/public/previewer/twitter_emoji_preview.adoc +1 -1
- data/lib/starter_web/pages/public/site_search.adoc +1 -1
- data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
- data/lib/starter_web/utilsrv/package.json +1 -1
- metadata +284 -241
- data/assets/themes/j1/adapter/js/cookie_consent.js +0 -286
- data/assets/themes/j1/core/css/custom.scss +0 -28
- data/assets/themes/j1/core/css/globals.css +0 -14523
- data/assets/themes/j1/core/css/globals.min.css +0 -1
- data/assets/themes/j1/core/css/uno.scss +0 -28
- data/assets/themes/j1/core/css/vendor.scss +0 -28
- data/assets/themes/j1/extensions/twemoji/js/picker/twemoji-picker.js +0 -21
- data/assets/themes/j1/extensions/twemoji/js/picker/twemoji-picker.min.js +0 -21
- data/assets/themes/j1/extensions/twemoji/js/twemoji.min.js +0 -25
- data/lib/starter_web/_data/modules/cookie_consent.yml +0 -36
- data/lib/starter_web/assets/images/modules/attics/aditya-joshi-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/admin-dashboard-bootstrap-1280x600.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/alex-holyoake-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/anaya-katlego-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/antonella-lombardi-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/antonino-visalli-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/banner/admin-dashboard-bootstrap-1280x800-bw.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/banner/docker-1280x600-bw.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/banner/jekyll.1200x600-bw.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/banner/library-1920x800-bw.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/banner/signpost-1920x800-bw.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/banner/water-journal-1280x600.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/banner/write-1280x600-bw.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/brandon-mowinkel-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/building-blocks-1920x1280-bw.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/cookies-1920x1200-bw.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/daniel-jensen-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/giammarco-boscaro-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/go-up-1920x1280-bw.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/ian-schneider-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/ideas-start-here-1920x1280-bw.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/jason-rosewell-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/jessica-ruscello-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/lianhao-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/library-1920x1280-bw.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/matthaeus-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/nousnou-iwasaki-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/premium-1920x1280-bw.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/robert-v-ruggiero-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/romain-vignes-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/runner-1920x1200-bw.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/spider-web-1920x1200-bw.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/the-place-1920x1280-bw.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/welcome-1920x1280-bw.jpg +0 -0
- data/lib/starter_web/assets/images/pages/roundtrip/bootstrap-1920x1000-bw.jpg +0 -0
- data/lib/starter_web/assets/images/pages/roundtrip/cards-1920x1280-bw.jpg +0 -0
- data/lib/starter_web/assets/images/pages/roundtrip/emojies-1920x1280-bw.jpg +0 -0
- data/lib/starter_web/assets/images/pages/roundtrip/icon-fonts-1920x1280-bw.jpg +0 -0
- data/lib/starter_web/assets/images/pages/roundtrip/images-1920x1280-bw.jpg +0 -0
- data/lib/starter_web/assets/images/pages/roundtrip/puzzle-1920x1280-bw.jpg +0 -0
- data/lib/starter_web/assets/images/pages/roundtrip/tables-1920x1280-bw.jpg +0 -0
- data/lib/starter_web/assets/images/pages/roundtrip/themes-1920x1280-bw.jpg +0 -0
- data/lib/starter_web/assets/images/pages/roundtrip/typography-1920x1280-bw.jpg +0 -0
- data/lib/starter_web/assets/videos/headers/still/underground-broadway.png +0 -0
- data/lib/starter_web/assets/videos/headers/still/victoria-oskolovich-on-vimeo.png +0 -0
- data/lib/starter_web/pages/public/clear_button.adoc +0 -121
@@ -99,8 +99,18 @@ j1.adapter['searcher'] = (function (j1, window) {
|
|
99
99
|
// Initializer
|
100
100
|
// -------------------------------------------------------------------------
|
101
101
|
init: function (options) {
|
102
|
+
|
103
|
+
// -----------------------------------------------------------------------
|
104
|
+
// globals
|
105
|
+
// -----------------------------------------------------------------------
|
106
|
+
_this = j1.adapter.searcher;
|
107
|
+
logger = log4javascript.getLogger('j1.adapter.searcher');
|
108
|
+
|
102
109
|
// initialize state flag
|
103
|
-
|
110
|
+
_this.setState('pending');
|
111
|
+
logger.info('state: ' + _this.getState());
|
112
|
+
logger.info('Module is being started');
|
113
|
+
|
104
114
|
|
105
115
|
// -----------------------------------------------------------------------
|
106
116
|
// Default module settings
|
@@ -110,11 +120,6 @@ j1.adapter['searcher'] = (function (j1, window) {
|
|
110
120
|
generated: '{{site.time}}'
|
111
121
|
}, options);
|
112
122
|
|
113
|
-
{% comment %} Set global variables
|
114
|
-
-------------------------------------------------------------------------- {% endcomment %}
|
115
|
-
_this = j1.adapter.searcher;
|
116
|
-
logger = log4javascript.getLogger('j1.adapter.searcher');
|
117
|
-
|
118
123
|
{% comment %} Load module config from yml data
|
119
124
|
-------------------------------------------------------------------------- {% endcomment %}
|
120
125
|
// Load module DEFAULTS|CONFIG
|
@@ -147,6 +152,7 @@ j1.adapter['searcher'] = (function (j1, window) {
|
|
147
152
|
|
148
153
|
_this.setState('finished');
|
149
154
|
logger.info('state: ' + _this.getState());
|
155
|
+
logger.info('module initialized successfully');
|
150
156
|
} else {
|
151
157
|
_this.setState('finished');
|
152
158
|
logger.info('state: ' + _this.getState());
|
@@ -184,20 +190,20 @@ j1.adapter['searcher'] = (function (j1, window) {
|
|
184
190
|
}, // END messageHandler
|
185
191
|
|
186
192
|
// -------------------------------------------------------------------------
|
187
|
-
// setState
|
188
|
-
//
|
193
|
+
// setState()
|
194
|
+
// Sets the current (processing) state of the module
|
189
195
|
// -------------------------------------------------------------------------
|
190
196
|
setState: function (stat) {
|
191
|
-
|
197
|
+
_this.state = stat;
|
192
198
|
}, // END setState
|
193
199
|
|
194
200
|
// -------------------------------------------------------------------------
|
195
|
-
// getState
|
201
|
+
// getState()
|
196
202
|
// Returns the current (processing) state of the module
|
197
203
|
// -------------------------------------------------------------------------
|
198
204
|
getState: function () {
|
199
|
-
return
|
200
|
-
} // END
|
205
|
+
return _this.state;
|
206
|
+
} // END getState
|
201
207
|
|
202
208
|
}; // END return
|
203
209
|
})(j1, window);
|
@@ -83,10 +83,11 @@ j1.adapter['ssm'] = (function (j1, window) {
|
|
83
83
|
// ---------------------------------------------------------------------------
|
84
84
|
// globals
|
85
85
|
// ---------------------------------------------------------------------------
|
86
|
-
|
87
|
-
var
|
88
|
-
var
|
89
|
-
var
|
86
|
+
const isMobile = j1.core.isMobile();
|
87
|
+
var environment = '{{environment}}';
|
88
|
+
var dclFinished = false;
|
89
|
+
var moduleOptions = {};
|
90
|
+
var cookie_names = j1.getCookieNames();
|
90
91
|
var user_state;
|
91
92
|
var user_session;
|
92
93
|
var user_data;
|
@@ -95,7 +96,7 @@ j1.adapter['ssm'] = (function (j1, window) {
|
|
95
96
|
var _this;
|
96
97
|
var logger;
|
97
98
|
var logText;
|
98
|
-
|
99
|
+
|
99
100
|
|
100
101
|
// ---------------------------------------------------------------------------
|
101
102
|
// helper functions
|
@@ -111,11 +112,21 @@ j1.adapter['ssm'] = (function (j1, window) {
|
|
111
112
|
// -------------------------------------------------------------------------
|
112
113
|
init: function (options) {
|
113
114
|
|
114
|
-
//
|
115
|
-
|
115
|
+
// -----------------------------------------------------------------------
|
116
|
+
// globals
|
117
|
+
// -----------------------------------------------------------------------
|
118
|
+
_this = j1.adapter.ssm;
|
119
|
+
logger = log4javascript.getLogger('j1.adapter.ssm');
|
120
|
+
sect12Nodes = $('[class$="sect1"],[class$="sect2"');
|
121
|
+
sect1Nodes = $('[class$="sect1"]');
|
116
122
|
|
117
123
|
// initialize state flag
|
118
|
-
|
124
|
+
_this.setState('started');
|
125
|
+
logger.info('set module state to: ' + _this.getState());
|
126
|
+
logger.info('module is being initialized');
|
127
|
+
|
128
|
+
// create settings object from frontmatterOptions
|
129
|
+
var frontmatterOptions = options != null ? $.extend({}, options) : {};
|
119
130
|
|
120
131
|
// -----------------------------------------------------------------------
|
121
132
|
// defaults
|
@@ -125,14 +136,6 @@ j1.adapter['ssm'] = (function (j1, window) {
|
|
125
136
|
generated: '{{site.time}}'
|
126
137
|
}, options);
|
127
138
|
|
128
|
-
// -----------------------------------------------------------------------
|
129
|
-
// globals
|
130
|
-
// -----------------------------------------------------------------------
|
131
|
-
_this = j1.adapter.ssm;
|
132
|
-
logger = log4javascript.getLogger('j1.adapter.ssm');
|
133
|
-
sect12Nodes = $('[class$="sect1"],[class$="sect2"');
|
134
|
-
sect1Nodes = $('[class$="sect1"]');
|
135
|
-
|
136
139
|
// -----------------------------------------------------------------------
|
137
140
|
// options loader
|
138
141
|
// -----------------------------------------------------------------------
|
@@ -153,11 +156,7 @@ j1.adapter['ssm'] = (function (j1, window) {
|
|
153
156
|
|
154
157
|
// save config settings into the mmenu object for global access
|
155
158
|
//
|
156
|
-
|
157
|
-
|
158
|
-
_this.setState('started');
|
159
|
-
logger.info('set module state to: ' + _this.getState());
|
160
|
-
logger.info('module is being initialized');
|
159
|
+
_this['moduleOptions'] = moduleOptions;
|
161
160
|
|
162
161
|
// jadams, 2020-06-24: Set max_count to 100 what cause to wait 2.5s
|
163
162
|
// for J1 Navigator to finish (init)
|
@@ -170,14 +169,14 @@ j1.adapter['ssm'] = (function (j1, window) {
|
|
170
169
|
if ( j1.adapter.navigator.getState() == 'finished' ) {
|
171
170
|
logger.info('dependencies of module navigator met for: mmenu');
|
172
171
|
logger.info('dependencies of module navigator met after: ' + interval_count * 25 + ' ms');
|
173
|
-
j1.core.ssm.init (moduleOptions);
|
172
|
+
// j1.core.ssm.init (moduleOptions);
|
174
173
|
_this.ssmLoader(moduleOptions);
|
175
174
|
clearInterval(dependencies_met_navigator);
|
176
175
|
}
|
177
176
|
if (interval_count > max_count) {
|
178
177
|
logger.warn('dependency check failed for module: navigator');
|
179
178
|
logger.warn('dependencies of module navigator met after: ' + interval_count * 25 + ' ms');
|
180
|
-
j1.core.ssm.init (moduleOptions);
|
179
|
+
// j1.core.ssm.init (moduleOptions);
|
181
180
|
_this.ssmLoader(moduleOptions);
|
182
181
|
clearInterval(dependencies_met_navigator);
|
183
182
|
}
|
@@ -201,50 +200,51 @@ j1.adapter['ssm'] = (function (j1, window) {
|
|
201
200
|
|
202
201
|
{% assign id_list = "" %}
|
203
202
|
|
204
|
-
|
205
|
-
{
|
206
|
-
{
|
207
|
-
j1.
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
logger.info('
|
221
|
-
if(
|
222
|
-
logger.info('
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
logger.info('
|
228
|
-
(
|
229
|
-
? logger.info('ssm mode detected: icon')
|
230
|
-
: logger.info('ssm mode detected: menu');
|
231
|
-
_this.scrollSpy(ssmOptions);
|
232
|
-
_this.buttonInitializer(ssmOptions);
|
233
|
-
clearInterval(dependencies_met_mmenu_initialized);
|
234
|
-
}
|
235
|
-
} else {
|
236
|
-
logger.info('found toc in page: disabled');
|
237
|
-
logger.info('disable toc menu and prev|next section buttons');
|
238
|
-
$('#ssm_toc').closest('.ssm-btn').hide();
|
239
|
-
$('#ssm_previous_section').closest('.ssm-btn').hide();
|
240
|
-
$('#ssm_next_section').closest('.ssm-btn').hide();
|
203
|
+
j1.xhrData ({
|
204
|
+
xhr_container_id: '{{ssm_options.xhr_container_id}}',
|
205
|
+
xhr_data_path: '{{ssm_options.xhr_data_path}}' },
|
206
|
+
'j1.adapter.ssm',
|
207
|
+
'data_loaded');
|
208
|
+
|
209
|
+
// ---------------------------------------------------------------------
|
210
|
+
// Initialize MMenu Navs and Drawers
|
211
|
+
// ---------------------------------------------------------------------
|
212
|
+
var dependencies_met_mmenu_initialized = setInterval (function () {
|
213
|
+
if (j1.xhrDOMState['#{{ssm_options.xhr_container_id}}'] == 'success') {
|
214
|
+
_this.setState('loaded');
|
215
|
+
logger.info('set module state to: ' + _this.getState());
|
216
|
+
logger.info('HTML data for ssm: ' + _this.getState());
|
217
|
+
j1.core.ssm.init (moduleOptions);
|
218
|
+
if(isToc) {
|
219
|
+
logger.info('found toc in page: enabled');
|
220
|
+
if ( j1.adapter.toccer.getState() == 'finished' ) {
|
221
|
+
logger.info('dependency met for module : toccer');
|
222
|
+
_this.setState('processing');
|
223
|
+
logger.info('set module state to: ' + _this.getState());
|
224
|
+
logger.info('initialize ssm menu');
|
225
|
+
(ssmOptions.mode === 'icon')
|
226
|
+
? logger.info('ssm mode detected: icon')
|
227
|
+
: logger.info('ssm mode detected: menu');
|
241
228
|
_this.scrollSpy(ssmOptions);
|
242
229
|
_this.buttonInitializer(ssmOptions);
|
230
|
+
|
231
|
+
_this.setState('finished');
|
232
|
+
logger.info('state: ' + _this.getState());
|
233
|
+
logger.info('module initialized successfully');
|
243
234
|
clearInterval(dependencies_met_mmenu_initialized);
|
244
235
|
}
|
236
|
+
} else {
|
237
|
+
logger.info('found toc in page: disabled');
|
238
|
+
logger.info('disable toc menu and prev|next section buttons');
|
239
|
+
$('#ssm_toc').closest('.ssm-btn').hide();
|
240
|
+
$('#ssm_previous_section').closest('.ssm-btn').hide();
|
241
|
+
$('#ssm_next_section').closest('.ssm-btn').hide();
|
242
|
+
_this.scrollSpy(ssmOptions);
|
243
|
+
_this.buttonInitializer(ssmOptions);
|
244
|
+
clearInterval(dependencies_met_mmenu_initialized);
|
245
245
|
}
|
246
|
-
}
|
247
|
-
}); // END
|
246
|
+
}
|
247
|
+
}, 25); // END dependencies_met_mmenu_initialized
|
248
248
|
}, // END dataLoader
|
249
249
|
|
250
250
|
// -------------------------------------------------------------------------
|
@@ -275,7 +275,7 @@ j1.adapter['ssm'] = (function (j1, window) {
|
|
275
275
|
$('#{{button_id}}').each(function(e) {
|
276
276
|
var $this = $(this);
|
277
277
|
$this.on('click', function(e) {
|
278
|
-
|
278
|
+
_this.{{item.event_handler}}(sect1Nodes);
|
279
279
|
});
|
280
280
|
});
|
281
281
|
} else {
|
@@ -460,22 +460,6 @@ j1.adapter['ssm'] = (function (j1, window) {
|
|
460
460
|
return true;
|
461
461
|
}, // END messageHandler
|
462
462
|
|
463
|
-
// -------------------------------------------------------------------------
|
464
|
-
// setState
|
465
|
-
// Set the current (processing) state of the module
|
466
|
-
// -------------------------------------------------------------------------
|
467
|
-
setState: function (stat) {
|
468
|
-
j1.adapter.ssm.state = stat;
|
469
|
-
}, // END setState
|
470
|
-
|
471
|
-
// -------------------------------------------------------------------------
|
472
|
-
// getState
|
473
|
-
// Returns the current (processing) state of the module
|
474
|
-
// -------------------------------------------------------------------------
|
475
|
-
getState: function () {
|
476
|
-
return j1.adapter.ssm.state;
|
477
|
-
}, // END state
|
478
|
-
|
479
463
|
// -------------------------------------------------------------------------
|
480
464
|
// Manage (top) position and sizes (@media breakpoints) of the
|
481
465
|
// SSM container depending on the size of the page header (attic)
|
@@ -525,11 +509,27 @@ j1.adapter['ssm'] = (function (j1, window) {
|
|
525
509
|
? $ssmContainer.css('display','block')
|
526
510
|
: $ssmContainer.css('display','none');
|
527
511
|
|
528
|
-
logger.debug('content pos detected as: ' + m + 'px');
|
529
|
-
logger.debug('scroll pos detected as: ' + scrollPos + 'px');
|
512
|
+
// logger.debug('content pos detected as: ' + m + 'px');
|
513
|
+
// logger.debug('scroll pos detected as: ' + scrollPos + 'px');
|
530
514
|
}); // END setTop on scroll
|
531
515
|
|
532
|
-
} // END scrollSpy
|
516
|
+
}, // END scrollSpy
|
517
|
+
|
518
|
+
// -------------------------------------------------------------------------
|
519
|
+
// setState()
|
520
|
+
// Sets the current (processing) state of the module
|
521
|
+
// -------------------------------------------------------------------------
|
522
|
+
setState: function (stat) {
|
523
|
+
_this.state = stat;
|
524
|
+
}, // END setState
|
525
|
+
|
526
|
+
// -------------------------------------------------------------------------
|
527
|
+
// getState()
|
528
|
+
// Returns the current (processing) state of the module
|
529
|
+
// -------------------------------------------------------------------------
|
530
|
+
getState: function () {
|
531
|
+
return _this.state;
|
532
|
+
} // END getState
|
533
533
|
|
534
534
|
}; // END return
|
535
535
|
})(j1, window);
|
@@ -19,7 +19,7 @@ regenerate: true
|
|
19
19
|
#
|
20
20
|
# -----------------------------------------------------------------------------
|
21
21
|
# Test data:
|
22
|
-
# {{
|
22
|
+
# {{config| debug }}
|
23
23
|
# -----------------------------------------------------------------------------
|
24
24
|
{% endcomment %}
|
25
25
|
|
@@ -48,7 +48,7 @@ regenerate: true
|
|
48
48
|
|
49
49
|
{% comment %} Set config options
|
50
50
|
-------------------------------------------------------------------------------- {% endcomment %}
|
51
|
-
{% assign themer_options = themer_defaults
|
51
|
+
{% assign themer_options = themer_defaults| merge: themer_settings %}
|
52
52
|
{% assign default_theme = template_config.bootstrap.default_theme %}
|
53
53
|
{% assign vendor_css = "vendor" %}
|
54
54
|
{% assign theme_base = "core/css" %}
|
@@ -98,20 +98,19 @@ regenerate: true
|
|
98
98
|
'use strict';
|
99
99
|
|
100
100
|
j1.adapter['themer'] = (function (j1, window) {
|
101
|
-
|
102
101
|
// ---------------------------------------------------------------------------
|
103
102
|
// globals
|
104
103
|
// ---------------------------------------------------------------------------
|
105
|
-
var environment
|
106
|
-
var moduleOptions
|
107
|
-
var user_state
|
108
|
-
var cookie_names
|
109
|
-
var cookie_user_state_name
|
110
|
-
var user_state_detected
|
111
|
-
var id
|
112
|
-
var cssFile
|
113
|
-
var interval_count
|
114
|
-
var max_count
|
104
|
+
var environment = '{{environment}}';
|
105
|
+
var moduleOptions = {};
|
106
|
+
var user_state = {};
|
107
|
+
var cookie_names = j1.getCookieNames();
|
108
|
+
var cookie_user_state_name = cookie_names.user_state;
|
109
|
+
var user_state_detected = false;
|
110
|
+
var id = 'default';
|
111
|
+
var cssFile = '{{themer_options.defaultCssFile}}';
|
112
|
+
var interval_count = 0;
|
113
|
+
var max_count = 4;
|
115
114
|
var user_state_json;
|
116
115
|
var user_state_cookie;
|
117
116
|
var _this;
|
@@ -134,7 +133,6 @@ j1.adapter['themer'] = (function (j1, window) {
|
|
134
133
|
// ---------------------------------------------------------------------------
|
135
134
|
// helper functions
|
136
135
|
// ---------------------------------------------------------------------------
|
137
|
-
|
138
136
|
// See: https://stackoverflow.com/questions/16965515/how-to-get-a-style-attribute-from-a-css-class-by-javascript-jquery
|
139
137
|
// Example: getStyleValueFromStyleSheet('bg-primary', 'background-color', 'vendor');
|
140
138
|
function styleSheetLoaded(styleSheet) {
|
@@ -147,10 +145,9 @@ j1.adapter['themer'] = (function (j1, window) {
|
|
147
145
|
return true;;
|
148
146
|
}
|
149
147
|
}
|
150
|
-
return false;
|
151
148
|
}
|
152
149
|
|
153
|
-
{% comment %} Unused
|
150
|
+
{% comment %} Unused code
|
154
151
|
------------------------------------------------------------------------------
|
155
152
|
// NOTE: Does not work anymore because of CORS check violation
|
156
153
|
// See: https://stackoverflow.com/questions/16965515/how-to-get-a-style-attribute-from-a-css-class-by-javascript-jquery
|
@@ -176,27 +173,25 @@ j1.adapter['themer'] = (function (j1, window) {
|
|
176
173
|
return style;
|
177
174
|
}
|
178
175
|
}
|
179
|
-
|
180
|
-
return null;
|
181
176
|
}
|
182
177
|
------------------------------------------------------------------------------ {% endcomment %}
|
183
178
|
|
184
|
-
|
185
179
|
// ---------------------------------------------------------------------------
|
186
180
|
// Main object
|
187
181
|
// ---------------------------------------------------------------------------
|
188
182
|
return {
|
189
|
-
|
190
183
|
// -------------------------------------------------------------------------
|
191
184
|
// initializer
|
192
185
|
// -------------------------------------------------------------------------
|
193
186
|
init: function () {
|
194
|
-
//
|
195
|
-
|
196
|
-
|
187
|
+
// -----------------------------------------------------------------------
|
188
|
+
// globals
|
189
|
+
// -----------------------------------------------------------------------
|
197
190
|
_this = j1.adapter.themer;
|
198
191
|
logger = log4javascript.getLogger('j1.adapter.themer');
|
199
192
|
|
193
|
+
// initialize state flag
|
194
|
+
_this.state = 'started';
|
200
195
|
logger.info('state: ' + _this.getState());
|
201
196
|
|
202
197
|
// Detect|Set J1 UserState
|
@@ -216,7 +211,11 @@ j1.adapter['themer'] = (function (j1, window) {
|
|
216
211
|
vendorCssHtml = '<link rel="stylesheet" type="text/css" id="default" href="{{asset_path}}/{{theme_base}}/{{vendor_css}}.{{theme_ext}}" />';
|
217
212
|
$('head').append(vendorCssHtml);
|
218
213
|
}
|
219
|
-
|
214
|
+
|
215
|
+
// Don't load Theme CSS twice! (loaded already as resource 'core')
|
216
|
+
if (themeName != default_theme_name) {
|
217
|
+
$('head').append(themeCssHtml);
|
218
|
+
}
|
220
219
|
|
221
220
|
// Append|Remove theme extentions
|
222
221
|
// TODO: Make default theme name 'Uno' configurable
|
@@ -230,50 +229,52 @@ j1.adapter['themer'] = (function (j1, window) {
|
|
230
229
|
logger.info('themes detected as: enabled');
|
231
230
|
logger.info('theme is being initialized: ' + themeName);
|
232
231
|
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
}
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
|
260
|
-
|
261
|
-
|
232
|
+
var dependencies_met_navigator_started = setInterval (function () {
|
233
|
+
if (j1.adapter.navigator.getState() == 'started') {
|
234
|
+
/* eslint-disable */
|
235
|
+
// initialize Bootswatch Theme Switcher
|
236
|
+
$('#ThemeList').bootstrapThemeSwitcher.defaults = {
|
237
|
+
debug: {{themer_options.debug|json}},
|
238
|
+
saveToCookie: {{themer_options.saveToCookie|json}},
|
239
|
+
cssThemeLink: {{themer_options.cssThemeLink|json}},
|
240
|
+
cookieThemeName: {{themer_options.cookieThemeName|json}},
|
241
|
+
cookieDefaultThemeName: {{themer_options.cookieDefaultThemeName|json}},
|
242
|
+
cookieThemeCss: {{themer_options.cookieThemeCss|json}},
|
243
|
+
cookieThemeExtensionCss: {{themer_options.cookieThemeExtensionCss|json}},
|
244
|
+
cookieExpiration: {{themer_options.cookieExpiration|json}},
|
245
|
+
cookiePath: {{themer_options.cookiePath|json}},
|
246
|
+
defaultCssFile: {{themer_options.defaultCssFile|json}},
|
247
|
+
bootswatchApiUrl: {{themer_options.bootswatchApiUrl|json}},
|
248
|
+
bootswatchApiVersion: {{themer_options.bootswatchApiVersion|json}},
|
249
|
+
loadFromBootswatch: {{themer_options.loadFromBootswatch|json}},
|
250
|
+
localFeed: {{themer_options.localFeed|json}},
|
251
|
+
excludeBootswatch: {{themer_options.excludeBootswatch|json}},
|
252
|
+
includeBootswatch: {{themer_options.includeBootswatch|json}},
|
253
|
+
skipIncludeBootswatch: {{themer_options.skipIncludeBootswatch|json}}
|
254
|
+
}
|
255
|
+
/* eslint-enable */
|
256
|
+
|
257
|
+
if (themeName == 'Uno'|| themeName == 'Bootstrap') {
|
258
|
+
theme = environment === 'production'
|
259
|
+
? themeName.toLowerCase() + '.min.css'
|
260
|
+
: themeName.toLowerCase() + '.css';
|
261
|
+
} else {
|
262
|
+
theme = 'bootstrap.css'; // fallback
|
263
|
+
}
|
264
|
+
logger.info('theme loaded: ' + themeName);
|
265
|
+
logger.info('theme file: ' + theme);
|
266
|
+
|
267
|
+
_this.setState('finished');
|
268
|
+
logger.info('state: ' + _this.getState());
|
269
|
+
logger.info('module initialized successfully');
|
270
|
+
clearInterval(dependencies_met_navigator_started);
|
262
271
|
}
|
263
|
-
|
264
|
-
logger.info('theme file: ' + theme);
|
265
|
-
_this.setState('finished');
|
266
|
-
logger.info('state: ' + _this.getState());
|
267
|
-
logger.info('module initialized successfully');
|
268
|
-
|
269
|
-
});
|
272
|
+
}, 25); // END 'dependencies_met_navigator_started'
|
270
273
|
{% else %}
|
271
274
|
_this.setState('finished');
|
272
275
|
logger.info('state: ' + _this.getState());
|
273
276
|
logger.info('module detected as: disabled');
|
274
|
-
return true;
|
275
277
|
{% endif %}
|
276
|
-
|
277
278
|
}, // END init
|
278
279
|
|
279
280
|
// -------------------------------------------------------------------------
|
@@ -282,8 +283,6 @@ j1.adapter['themer'] = (function (j1, window) {
|
|
282
283
|
// -------------------------------------------------------------------------
|
283
284
|
setCss: function () {
|
284
285
|
var bg_primary = j1.getStyleValue('bg-primary', 'background-color');
|
285
|
-
|
286
|
-
return true;
|
287
286
|
}, // END setCss
|
288
287
|
|
289
288
|
// -------------------------------------------------------------------------
|
@@ -300,41 +299,36 @@ j1.adapter['themer'] = (function (j1, window) {
|
|
300
299
|
// Process commands|actions
|
301
300
|
// -----------------------------------------------------------------------
|
302
301
|
if (message.type === 'command' && message.action === 'module_initialized') {
|
303
|
-
//
|
304
|
-
// Place handling of command|action here
|
305
|
-
//
|
306
302
|
logger.info(message.text);
|
307
|
-
}
|
308
303
|
//
|
309
304
|
// Place handling of other command|action here
|
310
305
|
//
|
311
|
-
|
312
|
-
return true;
|
306
|
+
}
|
313
307
|
}, // END messageHandler
|
314
308
|
|
315
309
|
// -------------------------------------------------------------------------
|
316
|
-
// setState
|
317
|
-
//
|
310
|
+
// setState()
|
311
|
+
// Sets the current (processing) state of the module
|
318
312
|
// -------------------------------------------------------------------------
|
319
313
|
setState: function (stat) {
|
320
|
-
|
314
|
+
_this.state = stat;
|
321
315
|
}, // END setState
|
322
316
|
|
323
317
|
// -------------------------------------------------------------------------
|
324
|
-
// getState
|
318
|
+
// getState()
|
325
319
|
// Returns the current (processing) state of the module
|
326
320
|
// -------------------------------------------------------------------------
|
327
321
|
getState: function () {
|
328
|
-
return
|
329
|
-
} // END
|
322
|
+
return _this.state;
|
323
|
+
} // END getState
|
330
324
|
|
331
325
|
}; // END return
|
332
326
|
})(j1, window);
|
333
327
|
|
334
328
|
{% endcapture %}
|
335
329
|
{% if production %}
|
336
|
-
{{
|
330
|
+
{{cache| minifyJS }}
|
337
331
|
{% else %}
|
338
|
-
{{
|
332
|
+
{{cache| strip_empty_lines }}
|
339
333
|
{% endif %}
|
340
334
|
{% assign cache = nil %}
|