j1-template 2020.0.11 → 2020.0.16
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/ads/ad.html +64 -0
- data/_includes/themes/j1/blocks/footer/boxes/about_box.proc +2 -2
- data/_includes/themes/j1/blocks/footer/boxes/links_box.proc +3 -3
- data/_includes/themes/j1/blocks/footer/boxes/news_box.proc +3 -3
- data/_includes/themes/j1/layouts/content_generator_blog_archive.html +3 -2
- data/_includes/themes/j1/layouts/content_generator_collection.html +3 -2
- data/_includes/themes/j1/layouts/content_generator_page.html +26 -25
- data/_includes/themes/j1/layouts/content_generator_post.html +13 -13
- data/_includes/themes/j1/layouts/layout_metadata_generator.html +134 -4
- data/_includes/themes/j1/modules/connectors/ad/custom-provider.html +6 -9
- data/_includes/themes/j1/modules/connectors/ad/google-adsense.html +9 -6
- data/_includes/themes/j1/modules/connectors/ads +3 -6
- data/_includes/themes/j1/modules/navigator/generator.html +0 -1
- data/_includes/themes/j1/modules/navigator/procedures/topsearch.proc +5 -5
- 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.proc +3 -13
- data/_includes/themes/j1/procedures/posts/collate_timeline.proc +14 -14
- data/_layouts/default.html +60 -59
- data/apps/public/cc/index.adoc +1 -5
- data/assets/data/authclient.html +48 -27
- data/assets/data/banner.html +23 -23
- data/assets/data/carousel.json +30 -21
- data/assets/data/cookiebar.html +277 -0
- data/assets/data/footer.html +14 -7
- data/assets/data/galleries.json +90 -81
- data/assets/data/gallery_customizer.html +21 -12
- 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/jupyter/notebooks/visualisation.ipynb +1 -1
- data/assets/data/mdi_icons.json +55 -1
- data/assets/data/menu.html +16 -9
- data/assets/data/mmenu.html +48 -95
- data/assets/data/mmenu_sidebar.html +40 -44
- data/assets/data/mmenu_toc.html +20 -4
- data/assets/data/panel.html +44 -38
- data/assets/data/quicklinks.html +36 -20
- data/assets/data/search.json +165 -0
- data/assets/data/ssm.html +15 -4
- data/assets/data/themes.json +17 -6
- data/assets/data/twa_v1.json +54 -0
- data/assets/themes/j1/adapter/js/algolia.js +28 -17
- data/assets/themes/j1/adapter/js/attic.js +51 -40
- data/assets/themes/j1/adapter/js/carousel.js +27 -13
- data/assets/themes/j1/adapter/js/clipboard.js +232 -0
- data/assets/themes/j1/adapter/js/cookiebar.js +204 -0
- data/assets/themes/j1/adapter/js/framer.js +37 -21
- data/assets/themes/j1/adapter/js/gallery_customizer.js +230 -250
- data/assets/themes/j1/adapter/js/j1.js +563 -803
- data/assets/themes/j1/adapter/js/{justified_gallery.js → jf_gallery.js} +32 -22
- data/assets/themes/j1/adapter/js/lightbox.js +20 -10
- data/assets/themes/j1/adapter/js/logger.js +13 -6
- data/assets/themes/j1/adapter/js/mdb.js +164 -0
- data/assets/themes/j1/adapter/js/mmenu.js +60 -69
- data/assets/themes/j1/adapter/js/navigator.js +200 -169
- data/assets/themes/j1/adapter/js/searcher.js +30 -14
- data/assets/themes/j1/adapter/js/ssm.js +111 -88
- data/assets/themes/j1/adapter/js/themer.js +71 -103
- data/assets/themes/j1/adapter/js/toccer.js +30 -22
- 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 +326 -3004
- 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 +453 -3039
- data/assets/themes/j1/core/css/uno.min.css +1 -1
- data/assets/themes/j1/core/css/vendor.css +884 -33335
- data/assets/themes/j1/core/css/vendor.min.css +2 -9
- data/assets/themes/j1/core/js/template.js +25 -416
- 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/modules/bsDatepicker/css/datepicker.css +203 -0
- data/assets/themes/j1/modules/bsDatepicker/css/theme/uno.css +235 -0
- data/assets/themes/j1/modules/bsDatepicker/js/datepicker.js +509 -0
- data/assets/themes/j1/modules/bsDatepicker/less/datepicker.less +122 -0
- data/assets/themes/j1/modules/bsThemeSwitcher/js/switcher.js +435 -0
- data/assets/themes/j1/modules/bsThemeSwitcher/js/switcher.min.js +20 -0
- 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/modules/clipboard/LICENSE +20 -0
- data/assets/themes/j1/modules/clipboard/css/theme/uno.css +52 -0
- data/assets/themes/j1/modules/clipboard/css/theme/uno.min.css +52 -0
- data/assets/themes/j1/modules/clipboard/js/clipboard.js +975 -0
- data/assets/themes/j1/modules/clipboard/js/clipboard.min.js +7 -0
- data/assets/themes/j1/{extensions/iconify → modules/iconifyAPI}/js/iconify.min.js +0 -0
- data/assets/themes/j1/modules/iframeResizer/LICENSE +21 -0
- data/assets/themes/j1/modules/iframeResizer/examples/frame.absolute.html +127 -0
- data/assets/themes/j1/modules/iframeResizer/examples/frame.content.html +157 -0
- data/assets/themes/j1/modules/iframeResizer/examples/frame.hover.html +68 -0
- data/assets/themes/j1/modules/iframeResizer/examples/frame.nested.html +100 -0
- data/assets/themes/j1/modules/iframeResizer/examples/frame.textarea.html +45 -0
- data/assets/themes/j1/modules/iframeResizer/examples/frame.tolerance.html +113 -0
- data/assets/themes/j1/modules/iframeResizer/examples/index.html +83 -0
- data/assets/themes/j1/modules/iframeResizer/examples/two.html +88 -0
- data/assets/themes/j1/modules/iframeResizer/js/client/iframeResizer.contentWindow.js +1288 -0
- data/assets/themes/j1/modules/iframeResizer/js/client/iframeResizer.contentWindow.map +1 -0
- data/assets/themes/j1/modules/iframeResizer/js/client/iframeResizer.contentWindow.min.js +10 -0
- data/assets/themes/j1/modules/iframeResizer/js/iframeResizer.js +1390 -0
- data/assets/themes/j1/modules/iframeResizer/js/iframeResizer.map +1 -0
- data/assets/themes/j1/modules/iframeResizer/js/iframeResizer.min.js +9 -0
- data/assets/themes/j1/modules/jekyllSearch/js/simple-jekyll-search.js +468 -0
- data/assets/themes/j1/modules/jekyllSearch/js/simple-jekyll-search.min.js +6 -0
- data/assets/themes/j1/modules/jqMouseWheel/README.md +76 -0
- data/assets/themes/j1/modules/jqMouseWheel/js/jquery.mousewheel.js +221 -0
- data/assets/themes/j1/modules/jqMouseWheel/js/jquery.mousewheel.min.js +9 -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/justified_gallery → modules/justifiedGallery}/LICENSE +0 -0
- data/assets/themes/j1/{extensions/justified_gallery → modules/justifiedGallery}/README.md +0 -0
- data/assets/themes/j1/{extensions/justified_gallery → modules/justifiedGallery}/_versions/v3.7.0/css/justifiedGallery.css +0 -0
- data/assets/themes/j1/{extensions/justified_gallery → modules/justifiedGallery}/_versions/v3.7.0/css/justifiedGallery.min.css +0 -0
- data/assets/themes/j1/{extensions/justified_gallery → modules/justifiedGallery}/_versions/v3.7.0/css/theme/uno.css +1 -1
- data/assets/themes/j1/{extensions/justified_gallery → modules/justifiedGallery}/_versions/v3.7.0/js/justifiedGallery.3.7.0.js +0 -0
- data/assets/themes/j1/{extensions/justified_gallery → modules/justifiedGallery}/_versions/v3.7.0/js/justifiedGallery.js +0 -0
- data/assets/themes/j1/{extensions/justified_gallery → modules/justifiedGallery}/_versions/v3.7.0/js/justifiedGallery.min.js +0 -0
- data/assets/themes/j1/{extensions/justified_gallery → modules/justifiedGallery}/_versions/v3.7.0/less/.csslintrc +0 -0
- data/assets/themes/j1/{extensions/justified_gallery → modules/justifiedGallery}/_versions/v3.7.0/less/justifiedGallery.less +0 -0
- data/assets/themes/j1/{extensions/justified_gallery → modules/justifiedGallery}/_versions/v4.0.0/css/justifiedGallery.css +0 -0
- data/assets/themes/j1/{extensions/justified_gallery → modules/justifiedGallery}/_versions/v4.0.0/css/justifiedGallery.min.css +0 -0
- data/assets/themes/j1/{extensions/justified_gallery → modules/justifiedGallery}/_versions/v4.0.0/css/theme/uno.css +1 -1
- data/assets/themes/j1/{extensions/justified_gallery → modules/justifiedGallery}/_versions/v4.0.0/js/jquery.justifiedGallery.js +0 -0
- data/assets/themes/j1/{extensions/justified_gallery → modules/justifiedGallery}/_versions/v4.0.0/js/jquery.justifiedGallery.min.js +0 -0
- data/assets/themes/j1/{extensions/justified_gallery → modules/justifiedGallery}/css/justifiedGallery.css +0 -0
- data/assets/themes/j1/{extensions/justified_gallery → modules/justifiedGallery}/css/justifiedGallery.min.css +0 -0
- data/assets/themes/j1/{extensions/justified_gallery → modules/justifiedGallery}/css/theme/uno.css +1 -1
- data/assets/themes/j1/{extensions/justified_gallery → modules/justifiedGallery}/css/theme/uno.min.css +1 -1
- data/assets/themes/j1/{extensions/justified_gallery → modules/justifiedGallery}/js/justifiedGallery.js +0 -0
- data/assets/themes/j1/{extensions/justified_gallery → modules/justifiedGallery}/js/justifiedGallery.min.js +0 -0
- data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/css/core/lg-fb-comment-box.css +0 -0
- data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/css/core/lg-fb-comment-box.min.css +0 -0
- data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/css/core/lg-transitions.css +0 -0
- data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/css/core/lg-transitions.min.css +0 -0
- data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/css/core/lightgallery.css +0 -0
- data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/css/core/lightgallery.min.css +0 -0
- data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/css/fonts/lg.eot +0 -0
- data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/css/fonts/lg.svg +0 -0
- data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/css/fonts/lg.ttf +0 -0
- data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/css/fonts/lg.woff +0 -0
- data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/css/img/loading.gif +0 -0
- data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/css/img/video-play.png +0 -0
- data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/css/img/vimeo-play.png +0 -0
- data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/css/img/youtube-play.png +0 -0
- data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/css/themes/icons/animation-w.png +0 -0
- data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/css/themes/icons/customize-w.png +0 -0
- data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/css/themes/icons/dynamic-w.png +0 -0
- data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/css/themes/icons/facebook-icon.svg +0 -0
- data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/css/themes/icons/googleplus-icon.svg +0 -0
- data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/css/themes/icons/html5-w.png +0 -0
- data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/css/themes/icons/linked-in.png +0 -0
- data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/css/themes/icons/module-w.png +0 -0
- data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/css/themes/icons/play-button.png +0 -0
- data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/css/themes/icons/responsive-w.png +0 -0
- data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/css/themes/icons/thumb-w.png +0 -0
- data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/css/themes/icons/touch-w.png +0 -0
- data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/css/themes/icons/twitter-icon.svg +0 -0
- data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/css/themes/icons/twitter.png +0 -0
- data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/css/themes/icons/video1-w.png +0 -0
- data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/css/themes/icons/zoom-w.png +0 -0
- data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/css/themes/icons/zoom.png +0 -0
- data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/css/themes/uno.css +1 -1
- data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/css/themes/uno.min.css +1 -1
- data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/js/core/lightgallery.js +0 -0
- data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/js/core/lightgallery.min.js +0 -0
- data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/js/modules/j1/j1-video.js +0 -0
- data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/js/modules/j1/j1-video.min.js +0 -0
- data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/js/modules/lg-autoplay.js +0 -0
- data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/js/modules/lg-autoplay.min.js +0 -0
- data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/js/modules/lg-fullscreen.js +0 -0
- data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/js/modules/lg-fullscreen.min.js +0 -0
- data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/js/modules/lg-hash.js +0 -0
- data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/js/modules/lg-hash.min.js +0 -0
- data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/js/modules/lg-pager.js +0 -0
- data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/js/modules/lg-pager.min.js +0 -0
- data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/js/modules/lg-share.js +0 -0
- data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/js/modules/lg-share.min.js +0 -0
- data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/js/modules/lg-thumbnail.js +0 -0
- data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/js/modules/lg-thumbnail.min.js +0 -0
- data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/js/modules/lg-video.js +0 -0
- data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/js/modules/lg-video.min.js +0 -0
- data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/js/modules/lg-zoom.js +0 -0
- data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/js/modules/lg-zoom.min.js +0 -0
- data/assets/themes/j1/modules/lightbox/LICENSE +22 -0
- data/assets/themes/j1/modules/lightbox/css/lightbox.css +224 -0
- data/assets/themes/j1/modules/lightbox/css/lightbox.min.css +21 -0
- data/assets/themes/j1/modules/lightbox/css/theme/uno.css +25 -0
- data/assets/themes/j1/modules/lightbox/css/theme/uno.min.css +26 -0
- data/assets/themes/j1/modules/lightbox/images/close.png +0 -0
- data/assets/themes/j1/modules/lightbox/images/loading.gif +0 -0
- data/assets/themes/j1/modules/lightbox/images/next.png +0 -0
- data/assets/themes/j1/modules/lightbox/images/prev.png +0 -0
- data/assets/themes/j1/modules/lightbox/js/lightbox.js +583 -0
- data/assets/themes/j1/modules/lightbox/js/lightbox.min.js +35 -0
- data/assets/themes/j1/modules/mmenuLight/css/mmenu.css +392 -0
- data/assets/themes/j1/modules/mmenuLight/css/mmenu.min.css +393 -0
- data/assets/themes/j1/modules/mmenuLight/css/theme/uno.css +178 -0
- data/assets/themes/j1/modules/mmenuLight/css/theme/uno.min.css +170 -0
- data/assets/themes/j1/modules/mmenuLight/js/mmenu.js +563 -0
- data/assets/themes/j1/modules/mmenuLight/js/mmenu.min.js +30 -0
- data/assets/themes/j1/modules/noUISlider/LICENSE +13 -0
- data/assets/themes/j1/modules/noUISlider/css/nouislider.css +260 -0
- data/assets/themes/j1/modules/noUISlider/css/nouislider.min.css +1 -0
- data/assets/themes/j1/modules/noUISlider/js/nouislider.js +2312 -0
- data/assets/themes/j1/modules/noUISlider/js/nouislider.min.js +3 -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/modules/twemoji/js/LICENSE +21 -0
- data/assets/themes/j1/modules/twemoji/js/picker/LICENSE +21 -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/modules/twemoji/js/twemoji.js +589 -0
- 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/{extensions/log4javascript/log4javascript.min.js → modules/util/js/log4javascript.js} +0 -2
- 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 +1 -1
- data/lib/j1_app/j1_auth_manager/views/auth_manager_ui.erb +391 -389
- data/lib/starter_web/Gemfile +22 -13
- data/lib/starter_web/_config.yml +9 -8
- data/lib/starter_web/_data/_defaults/resources.yml +13 -13
- data/lib/starter_web/_data/blocks/banner.yml +23 -31
- data/lib/starter_web/_data/blocks/footer.yml +10 -3
- data/lib/starter_web/_data/blocks/panel.yml +21 -21
- data/lib/starter_web/_data/layouts/default.yml +10 -0
- data/lib/starter_web/_data/layouts/home.yml +7 -7
- data/lib/starter_web/_data/layouts/page.yml +15 -16
- data/lib/starter_web/_data/modules/advertising.yml +48 -0
- data/lib/starter_web/_data/modules/attics.yml +2 -38
- data/lib/starter_web/_data/modules/cookiebar.yml +2 -2
- data/lib/starter_web/_data/modules/defaults/attics.yml +16 -15
- data/lib/starter_web/_data/modules/defaults/authentication.yml +8 -9
- data/lib/starter_web/_data/modules/defaults/cookie_consent.yml +75 -12
- data/lib/starter_web/_data/modules/defaults/cookiebar.yml +101 -50
- data/lib/starter_web/_data/modules/defaults/jekyll_search.yml +12 -9
- data/lib/starter_web/_data/modules/defaults/navigator.yml +57 -21
- data/lib/starter_web/_data/modules/jekyll_search.yml +1 -20
- data/lib/starter_web/_data/modules/navigator.yml +1 -1
- data/lib/starter_web/_data/modules/navigator_menu.yml +6 -7
- data/lib/starter_web/_data/modules/themer.yml +10 -11
- data/lib/starter_web/_data/resources.yml +379 -174
- data/lib/starter_web/_data/template_settings.yml +96 -4
- data/lib/starter_web/_data/utilities/util_srv.yml +1 -1
- data/lib/starter_web/_plugins/asciidoctor-extensions/banner.rb +43 -0
- data/lib/starter_web/_plugins/asciidoctor-extensions/fab-icon-inline.rb +1 -1
- data/lib/starter_web/_plugins/asciidoctor-extensions/fas-icon-inline.rb +2 -2
- data/lib/starter_web/_plugins/asciidoctor-extensions/iconify-icon-inline.rb +2 -2
- data/lib/starter_web/_plugins/asciidoctor-extensions/mdi-icon-inline.rb +2 -2
- data/lib/starter_web/_plugins/asciidoctor-extensions/panel.rb +43 -0
- data/lib/starter_web/_plugins/asciidoctor-extensions/twitter-emoji-inline.rb +2 -2
- data/lib/starter_web/_plugins/{asciidoctor-extensions/lorem-inline.rb → lorem-inline.rb} +0 -0
- data/lib/starter_web/_plugins/minifyJS.rb +54 -0
- data/lib/starter_web/_plugins/minifyJSON.rb +47 -0
- data/lib/starter_web/assets/images/pages/material/apple-touch-icon.png +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 +3 -4
- data/lib/starter_web/collections/posts/public/featured/_posts/2018-05-01-confusion-about-base-url.adoc +1 -1
- data/lib/starter_web/collections/posts/public/featured/_posts/2019-05-01-top-open-source-static-site-generators.adoc +17 -17
- data/lib/starter_web/collections/posts/public/featured/_posts/2019-06-01-about-cookies.adoc +36 -40
- data/lib/starter_web/collections/posts/public/series/_posts/2018-11-01-docker-using-shared-folders.adoc +4 -6
- 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 +12 -13
- data/lib/starter_web/package.json +10 -10
- data/lib/starter_web/pages/{public → protected}/site_search.adoc +2 -2
- 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 +2 -2
- data/lib/starter_web/pages/public/learn/examples/floating_ad.adoc +221 -0
- data/lib/starter_web/pages/public/learn/examples/floating_div.adoc +33 -1
- data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/100_meet_and_greet_jekyll.adoc +1 -0
- 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 +5 -5
- data/lib/starter_web/pages/public/learn/roundtrip/100_present_images.adoc +2 -2
- 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 +7 -3
- data/lib/starter_web/pages/public/learn/roundtrip/300_icon_fonts.adoc +36 -45
- data/lib/starter_web/pages/public/learn/roundtrip/400_asciidoc_extensions.adoc +1 -1
- data/lib/starter_web/pages/public/learn/roundtrip/410_bs_modals_extentions.adoc +9 -10
- data/lib/starter_web/pages/public/learn/roundtrip/420_responsive_tables_extensions.adoc +39 -39
- 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 +2 -2
- data/lib/starter_web/pages/public/learn/vtutorials/000_includes/attributes.asciidoc +1 -1
- 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 -2
- data/lib/starter_web/pages/public/previewer/bootstrap_theme.adoc +11 -13
- data/lib/starter_web/pages/public/previewer/iframer.adoc +17 -15
- data/lib/starter_web/pages/public/previewer/justified_gallery.html +2 -2
- data/lib/starter_web/pages/public/previewer/mdi_icons_preview.adoc +2 -2
- data/lib/starter_web/pages/public/previewer/twitter_emoji_preview.adoc +3 -3
- data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
- data/lib/starter_web/utilsrv/package.json +1 -1
- metadata +255 -165
- data/assets/data/colors.json +0 -42
- data/assets/data/cookie_consent.html +0 -223
- data/assets/data/font_sizes.json +0 -42
- data/assets/data/messages.yml +0 -131
- data/assets/data/search.yml +0 -153
- data/assets/themes/j1/adapter/js/cookie_consent.js +0 -277
- 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/iframe_resizer/examples/frame.absolute.html +0 -86
- data/assets/themes/j1/extensions/iframe_resizer/examples/frame.content.html +0 -58
- data/assets/themes/j1/extensions/iframe_resizer/examples/frame.hover.html +0 -51
- data/assets/themes/j1/extensions/iframe_resizer/examples/frame.nested.html +0 -68
- data/assets/themes/j1/extensions/iframe_resizer/examples/frame.textarea.html +0 -46
- data/assets/themes/j1/extensions/iframe_resizer/examples/frame.tolerance.html +0 -79
- data/assets/themes/j1/extensions/iframe_resizer/examples/index.html +0 -70
- data/assets/themes/j1/extensions/iframe_resizer/examples/two.html +0 -71
- data/assets/themes/j1/extensions/iframe_resizer/js/client/iframeResizer.contentWindow.js +0 -1104
- data/assets/themes/j1/extensions/iframe_resizer/js/client/iframeResizer.contentWindow.map +0 -1
- data/assets/themes/j1/extensions/iframe_resizer/js/client/iframeResizer.contentWindow.min.js +0 -10
- data/assets/themes/j1/extensions/log4javascript/log4javascript.js +0 -5826
- data/lib/starter_web/_data/modules/cookie_consent.yml +0 -128
- 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
@@ -1,5 +1,5 @@
|
|
1
1
|
---
|
2
|
-
regenerate:
|
2
|
+
regenerate: true
|
3
3
|
---
|
4
4
|
|
5
5
|
{% capture cache %}
|
@@ -44,6 +44,11 @@ regenerate: true
|
|
44
44
|
-------------------------------------------------------------------------------- {% endcomment %}
|
45
45
|
{% assign jf_gallery_options = jf_gallery_defaults | merge: jf_gallery_settings %}
|
46
46
|
|
47
|
+
{% assign production = false %}
|
48
|
+
{% if environment == 'prod' or environment == 'production' %}
|
49
|
+
{% assign production = true %}
|
50
|
+
{% endif %}
|
51
|
+
|
47
52
|
/*
|
48
53
|
# -----------------------------------------------------------------------------
|
49
54
|
# ~/assets/themes/j1/adapter/js/justified_gallery.js
|
@@ -97,8 +102,16 @@ j1.adapter['jf_gallery'] = (function (j1, window) {
|
|
97
102
|
// Initializer
|
98
103
|
// -------------------------------------------------------------------------
|
99
104
|
init: function (options) {
|
105
|
+
|
106
|
+
{% comment %} Set global variables
|
107
|
+
-------------------------------------------------------------------------- {% endcomment %}
|
108
|
+
_this = j1.adapter.jf_gallery;
|
109
|
+
logger = log4javascript.getLogger('j1.adapter.jf_gallery');
|
110
|
+
|
100
111
|
// initialize state flag
|
101
|
-
|
112
|
+
_this.setState('started');
|
113
|
+
logger.info('state: ' + _this.getState());
|
114
|
+
logger.info('module is being initialized');
|
102
115
|
|
103
116
|
// -----------------------------------------------------------------------
|
104
117
|
// Default module settings
|
@@ -120,18 +133,11 @@ j1.adapter['jf_gallery'] = (function (j1, window) {
|
|
120
133
|
moduleOptions = j1.mergeData(moduleOptions, settings);
|
121
134
|
}
|
122
135
|
|
123
|
-
{% comment %} Set global variables
|
124
|
-
-------------------------------------------------------------------------- {% endcomment %}
|
125
|
-
_this = j1.adapter.jf_gallery;
|
126
|
-
logger = log4javascript.getLogger('j1.adapter.jf_gallery');
|
127
|
-
|
128
|
-
_this.setState('started');
|
129
|
-
logger.info('state: ' + _this.getState());
|
130
|
-
logger.info('module is being initialized');
|
131
|
-
|
132
136
|
_this.initialize(moduleOptions);
|
133
137
|
|
134
|
-
|
138
|
+
_this.setState('finished');
|
139
|
+
logger.info('state: ' + _this.getState());
|
140
|
+
logger.info('module initialized successfully');
|
135
141
|
},
|
136
142
|
|
137
143
|
// -----------------------------------------------------------------------
|
@@ -237,7 +243,7 @@ j1.adapter['jf_gallery'] = (function (j1, window) {
|
|
237
243
|
|
238
244
|
// Collect html5 video gallery data from data file (xhr_data_path)
|
239
245
|
$.getJSON('{{jf_gallery_options.xhr_data_path}}', function (data) {
|
240
|
-
var play_button = '/assets/themes/j1/
|
246
|
+
var play_button = '/assets/themes/j1/modules/lightGallery/css/themes/icons/play-button.png';
|
241
247
|
var content = '';
|
242
248
|
var gallery_class = 'justified-gallery';
|
243
249
|
{% if lightbox == "lg" %}
|
@@ -263,12 +269,12 @@ j1.adapter['jf_gallery'] = (function (j1, window) {
|
|
263
269
|
{% endif %}
|
264
270
|
content += 'href="' +img+ '">' + '\n';
|
265
271
|
content += '<img src="' +img+ '" img alt="' +captions_lightbox+ '">' + '\n';
|
266
|
-
content += '<span><img class="justified-gallery img-overlay" src="/assets/themes/j1/
|
272
|
+
content += '<span><img class="justified-gallery img-overlay" src="/assets/themes/j1/modules/lightGallery/css/themes/icons/play-button.png"></span>' + '\n';
|
267
273
|
} else {
|
268
274
|
content += '<a data-sub-html="' +captions_gallery+ '" ';
|
269
275
|
content += 'href="' +img+ '">' + '\n';
|
270
276
|
content += '<img src="' +img+ '" img alt="' +captions_gallery+ '">' + '\n';
|
271
|
-
content += '<span><img class="justified-gallery img-overlay" src="/assets/themes/j1/
|
277
|
+
content += '<span><img class="justified-gallery img-overlay" src="/assets/themes/j1/modules/lightGallery/css/themes/icons/play-button.png"></span>' + '\n';
|
272
278
|
}
|
273
279
|
content += '</a>' + '\n';
|
274
280
|
|
@@ -397,24 +403,28 @@ j1.adapter['jf_gallery'] = (function (j1, window) {
|
|
397
403
|
}, // END messageHandler
|
398
404
|
|
399
405
|
// -------------------------------------------------------------------------
|
400
|
-
// setState
|
401
|
-
//
|
406
|
+
// setState()
|
407
|
+
// Sets the current (processing) state of the module
|
402
408
|
// -------------------------------------------------------------------------
|
403
409
|
setState: function (stat) {
|
404
|
-
|
410
|
+
_this.state = stat;
|
405
411
|
}, // END setState
|
406
412
|
|
407
413
|
// -------------------------------------------------------------------------
|
408
|
-
// getState
|
414
|
+
// getState()
|
409
415
|
// Returns the current (processing) state of the module
|
410
416
|
// -------------------------------------------------------------------------
|
411
417
|
getState: function () {
|
412
|
-
return
|
413
|
-
} // END
|
418
|
+
return _this.state;
|
419
|
+
} // END getState
|
414
420
|
|
415
421
|
}; // END return
|
416
422
|
})(j1, window);
|
417
423
|
|
418
424
|
{% endcapture %}
|
419
|
-
{
|
425
|
+
{% if production %}
|
426
|
+
{{ cache | minifyJS }}
|
427
|
+
{% else %}
|
428
|
+
{{ cache | strip_empty_lines }}
|
429
|
+
{% endif %}
|
420
430
|
{% assign cache = nil %}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
---
|
2
|
-
regenerate:
|
2
|
+
regenerate: true
|
3
3
|
---
|
4
4
|
|
5
5
|
{% capture cache %}
|
@@ -47,6 +47,11 @@ regenerate: false
|
|
47
47
|
-------------------------------------------------------------------------------- {% endcomment %}
|
48
48
|
{% assign lightbox_options = lightbox_defaults | merge: lightbox_settings %}
|
49
49
|
|
50
|
+
{% assign production = false %}
|
51
|
+
{% if environment == 'prod' or environment == 'production' %}
|
52
|
+
{% assign production = true %}
|
53
|
+
{% endif %}
|
54
|
+
|
50
55
|
/*
|
51
56
|
# -----------------------------------------------------------------------------
|
52
57
|
# ~/assets/themes/j1/adapter/js/lightbox.js
|
@@ -105,8 +110,9 @@ j1.adapter['lightbox'] = (function (j1, window) {
|
|
105
110
|
// initialize state flag
|
106
111
|
j1.adapter.lightbox.state = 'pending';
|
107
112
|
|
108
|
-
|
109
|
-
|
113
|
+
// -----------------------------------------------------------------------
|
114
|
+
// globals
|
115
|
+
// -----------------------------------------------------------------------
|
110
116
|
_this = j1.adapter.lightbox;
|
111
117
|
logger = log4javascript.getLogger('j1.adapter.lightbox');
|
112
118
|
|
@@ -166,24 +172,28 @@ j1.adapter['lightbox'] = (function (j1, window) {
|
|
166
172
|
}, // END messageHandler
|
167
173
|
|
168
174
|
// -------------------------------------------------------------------------
|
169
|
-
// setState
|
170
|
-
//
|
175
|
+
// setState()
|
176
|
+
// Sets the current (processing) state of the module
|
171
177
|
// -------------------------------------------------------------------------
|
172
178
|
setState: function (stat) {
|
173
|
-
|
179
|
+
_this.state = stat;
|
174
180
|
}, // END setState
|
175
181
|
|
176
182
|
// -------------------------------------------------------------------------
|
177
|
-
// getState
|
183
|
+
// getState()
|
178
184
|
// Returns the current (processing) state of the module
|
179
185
|
// -------------------------------------------------------------------------
|
180
186
|
getState: function () {
|
181
|
-
return
|
182
|
-
} // END
|
187
|
+
return _this.state;
|
188
|
+
} // END getState
|
183
189
|
|
184
190
|
}; // END return
|
185
191
|
})(j1, window);
|
186
192
|
|
187
193
|
{% endcapture %}
|
188
|
-
{
|
194
|
+
{% if production %}
|
195
|
+
{{ cache | minifyJS }}
|
196
|
+
{% else %}
|
197
|
+
{{ cache | strip_empty_lines }}
|
198
|
+
{% endif %}
|
189
199
|
{% assign cache = nil %}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
---
|
2
|
-
regenerate:
|
2
|
+
regenerate: true
|
3
3
|
---
|
4
4
|
|
5
5
|
{% capture cache %}
|
@@ -48,6 +48,11 @@ regenerate: false
|
|
48
48
|
-------------------------------------------------------------------------------- {% endcomment %}
|
49
49
|
{% assign logger_options = logger_defaults | merge: logger_settings %}
|
50
50
|
|
51
|
+
{% assign production = false %}
|
52
|
+
{% if environment == 'prod' or environment == 'production' %}
|
53
|
+
{% assign production = true %}
|
54
|
+
{% endif %}
|
55
|
+
|
51
56
|
/*
|
52
57
|
# -----------------------------------------------------------------------------
|
53
58
|
# ~/assets/themes/j1/adapter/js/logger.js
|
@@ -78,7 +83,7 @@ j1.adapter['logger'] = (function (j1, window) {
|
|
78
83
|
// globals
|
79
84
|
// ---------------------------------------------------------------------------
|
80
85
|
var environment = '{{environment}}';
|
81
|
-
var page_id =
|
86
|
+
var page_id = j1.generateId(12);
|
82
87
|
var cookie_names = j1.getCookieNames();
|
83
88
|
var loggerRequestCallback = false;
|
84
89
|
var loggerOptions = {};
|
@@ -261,11 +266,9 @@ j1.adapter['logger'] = (function (j1, window) {
|
|
261
266
|
logger.info('ajax appender detected as: disabled');
|
262
267
|
}
|
263
268
|
|
264
|
-
_this.setState('started');
|
265
|
-
logger.info('state: ' + _this.getState());
|
266
|
-
|
267
269
|
_this.setState('finished');
|
268
270
|
logger.info('state: ' + _this.getState());
|
271
|
+
logger.info('module initialized successfully');
|
269
272
|
|
270
273
|
return true;
|
271
274
|
}
|
@@ -320,5 +323,9 @@ j1.adapter['logger'] = (function (j1, window) {
|
|
320
323
|
})(j1, window);
|
321
324
|
|
322
325
|
{% endcapture %}
|
323
|
-
{
|
326
|
+
{% if production %}
|
327
|
+
{{ cache | minifyJS }}
|
328
|
+
{% else %}
|
329
|
+
{{ cache | strip_empty_lines }}
|
330
|
+
{% endif %}
|
324
331
|
{% assign cache = nil %}
|
@@ -0,0 +1,164 @@
|
|
1
|
+
---
|
2
|
+
regenerate: true
|
3
|
+
---
|
4
|
+
|
5
|
+
{% capture cache %}
|
6
|
+
|
7
|
+
{% comment %}
|
8
|
+
# -----------------------------------------------------------------------------
|
9
|
+
# ~/assets/themes/j1/adapter/js/mdb.js
|
10
|
+
# Liquid template to adapt Material Design Bootrap
|
11
|
+
#
|
12
|
+
# Product/Info:
|
13
|
+
# https://jekyll.one
|
14
|
+
# Copyright (C) 2020 Juergen Adams
|
15
|
+
#
|
16
|
+
# J1 Template is licensed under the MIT License.
|
17
|
+
# For details, see https://jekyll.one
|
18
|
+
# -----------------------------------------------------------------------------
|
19
|
+
# Test data:
|
20
|
+
# {{ liquid_var | debug }}
|
21
|
+
# -----------------------------------------------------------------------------
|
22
|
+
{% endcomment %}
|
23
|
+
|
24
|
+
/*
|
25
|
+
# -----------------------------------------------------------------------------
|
26
|
+
# ~/assets/themes/j1/adapter/js/mdb.js
|
27
|
+
# J1 Adapter for MDB
|
28
|
+
#
|
29
|
+
# Product/Info:
|
30
|
+
# https://jekyll.one
|
31
|
+
#
|
32
|
+
# Copyright (C) 2020 Juergen Adams
|
33
|
+
#
|
34
|
+
# J1 Template is licensed under the MIT License.
|
35
|
+
# For details, see https://jekyll.one
|
36
|
+
# -----------------------------------------------------------------------------
|
37
|
+
# Adapter generated: {{site.time}}
|
38
|
+
# -----------------------------------------------------------------------------
|
39
|
+
*/
|
40
|
+
|
41
|
+
// -----------------------------------------------------------------------------
|
42
|
+
// ESLint shimming
|
43
|
+
// -----------------------------------------------------------------------------
|
44
|
+
/* eslint indent: "off" */
|
45
|
+
// -----------------------------------------------------------------------------
|
46
|
+
'use strict';
|
47
|
+
|
48
|
+
{% comment %} Main
|
49
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
50
|
+
j1.adapter['mdb'] = (function (j1, window) {
|
51
|
+
|
52
|
+
{% comment %} Set global variables
|
53
|
+
------------------------------------------------------------------------------ {% endcomment %}
|
54
|
+
var environment = '{{environment}}';
|
55
|
+
var moduleOptions = {};
|
56
|
+
var _this;
|
57
|
+
var logger;
|
58
|
+
var logText;
|
59
|
+
|
60
|
+
// ---------------------------------------------------------------------------
|
61
|
+
// Helper functions
|
62
|
+
// ---------------------------------------------------------------------------
|
63
|
+
|
64
|
+
// ---------------------------------------------------------------------------
|
65
|
+
// Main object
|
66
|
+
// ---------------------------------------------------------------------------
|
67
|
+
return {
|
68
|
+
|
69
|
+
// -------------------------------------------------------------------------
|
70
|
+
// Initializer
|
71
|
+
// -------------------------------------------------------------------------
|
72
|
+
init: function (options) {
|
73
|
+
|
74
|
+
// -----------------------------------------------------------------------
|
75
|
+
// globals
|
76
|
+
// -----------------------------------------------------------------------
|
77
|
+
_this = j1.adapter.mdb;
|
78
|
+
logger = log4javascript.getLogger('j1.adapter.mdb');
|
79
|
+
|
80
|
+
// initialize state flag
|
81
|
+
_this.setState('started');
|
82
|
+
logger.info('state: ' + _this.getState());
|
83
|
+
logger.info('module is being initialized');
|
84
|
+
|
85
|
+
// -----------------------------------------------------------------------
|
86
|
+
// Default module settings
|
87
|
+
// -----------------------------------------------------------------------
|
88
|
+
var settings = $.extend({
|
89
|
+
module_name: 'j1.adapter.mdb',
|
90
|
+
generated: '{{site.time}}'
|
91
|
+
}, options);
|
92
|
+
|
93
|
+
// -----------------------------------------------------------------------
|
94
|
+
// MDB initializer
|
95
|
+
// -----------------------------------------------------------------------
|
96
|
+
var log_text = 'MDB is being initialized';
|
97
|
+
logger.info(log_text);
|
98
|
+
|
99
|
+
var dependencies_met_j1_finished = setInterval(function() {
|
100
|
+
if (j1.getState() == 'finished') {
|
101
|
+
$('body').bootstrapMaterialDesign();
|
102
|
+
|
103
|
+
_this.setState('finished');
|
104
|
+
logger.info('state: ' + _this.getState());
|
105
|
+
|
106
|
+
clearInterval(dependencies_met_j1_finished);
|
107
|
+
} // END dependencies_met_j1_finished
|
108
|
+
}, 25);
|
109
|
+
|
110
|
+
}, // END init
|
111
|
+
|
112
|
+
// -------------------------------------------------------------------------
|
113
|
+
// messageHandler: MessageHandler for J1 CookieConsent module
|
114
|
+
// Manage messages send from other J1 modules
|
115
|
+
// -------------------------------------------------------------------------
|
116
|
+
messageHandler: function (sender, message) {
|
117
|
+
var json_message = JSON.stringify(message, undefined, 2);
|
118
|
+
|
119
|
+
logText = 'received message from ' + sender + ': ' + json_message;
|
120
|
+
logger.debug(logText);
|
121
|
+
|
122
|
+
// -----------------------------------------------------------------------
|
123
|
+
// Process commands|actions
|
124
|
+
// -----------------------------------------------------------------------
|
125
|
+
if (message.type === 'command' && message.action === 'module_initialized') {
|
126
|
+
//
|
127
|
+
// Place handling of command|action here
|
128
|
+
//
|
129
|
+
logger.info(message.text);
|
130
|
+
}
|
131
|
+
|
132
|
+
//
|
133
|
+
// Place handling of other command|action here
|
134
|
+
//
|
135
|
+
|
136
|
+
return true;
|
137
|
+
}, // END messageHandler
|
138
|
+
|
139
|
+
// -------------------------------------------------------------------------
|
140
|
+
// setState()
|
141
|
+
// Sets the current (processing) state of the module
|
142
|
+
// -------------------------------------------------------------------------
|
143
|
+
setState: function (stat) {
|
144
|
+
_this.state = stat;
|
145
|
+
}, // END setState
|
146
|
+
|
147
|
+
// -------------------------------------------------------------------------
|
148
|
+
// getState()
|
149
|
+
// Returns the current (processing) state of the module
|
150
|
+
// -------------------------------------------------------------------------
|
151
|
+
getState: function () {
|
152
|
+
return _this.state;
|
153
|
+
} // END getState
|
154
|
+
|
155
|
+
}; // END return
|
156
|
+
})(j1, window);
|
157
|
+
|
158
|
+
{% endcapture %}
|
159
|
+
{% if production %}
|
160
|
+
{{ cache | minifyJS }}
|
161
|
+
{% else %}
|
162
|
+
{{ cache | strip_empty_lines }}
|
163
|
+
{% endif %}
|
164
|
+
{% assign cache = nil %}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
---
|
2
|
-
regenerate:
|
2
|
+
regenerate: true
|
3
3
|
---
|
4
4
|
|
5
5
|
{% capture cache %}
|
@@ -43,14 +43,15 @@ regenerate: true
|
|
43
43
|
{% comment %} Set config files
|
44
44
|
{% assign auth_manager_config = site.j1_auth %}
|
45
45
|
-------------------------------------------------------------------------------- {% endcomment %}
|
46
|
-
{% assign site_config = site %}
|
47
46
|
{% assign template_config = site.data.template_settings %}
|
48
47
|
{% assign blocks = site.data.blocks %}
|
49
48
|
{% assign modules = site.data.modules %}
|
50
49
|
|
51
50
|
{% assign template_config = site.data.template_settings %}
|
52
|
-
{% assign navigator_defaults =
|
53
|
-
{% assign navigator_settings =
|
51
|
+
{% assign navigator_defaults = modules.defaults.navigator.defaults %}
|
52
|
+
{% assign navigator_settings = modules.navigator.settings %}
|
53
|
+
{% assign themer_defaults = modules.defaults.themer.defaults %}
|
54
|
+
{% assign themer_settings = modules.themer.settings %}
|
54
55
|
|
55
56
|
{% comment %} Set config data
|
56
57
|
-------------------------------------------------------------------------------- {% endcomment %}
|
@@ -59,9 +60,17 @@ regenerate: true
|
|
59
60
|
|
60
61
|
{% comment %} Set config options
|
61
62
|
-------------------------------------------------------------------------------- {% endcomment %}
|
63
|
+
{% assign navigator_options = navigator_defaults | merge: navigator_settings %}
|
64
|
+
{% assign themer_options = themer_defaults | merge: themer_settings %}
|
62
65
|
{% assign nav_mmenu_options = nav_mmenu_defaults | merge: nav_mmenu_settings %}
|
63
66
|
{% assign nav_mmenu_id = navigator_defaults.nav_mmenu.xhr_container_id %}
|
64
67
|
{% assign nav_navbar_media_breakpoint = navigator_defaults.nav_bar.media_breakpoint %}
|
68
|
+
{% assign nav_mmenu_id = navigator_options.nav_mmenu.id %}
|
69
|
+
|
70
|
+
{% assign production = false %}
|
71
|
+
{% if environment == 'prod' or environment == 'production' %}
|
72
|
+
{% assign production = true %}
|
73
|
+
{% endif %}
|
65
74
|
|
66
75
|
/*
|
67
76
|
# -----------------------------------------------------------------------------
|
@@ -98,10 +107,10 @@ j1.adapter['mmenu'] = (function (j1, window) {
|
|
98
107
|
// ---------------------------------------------------------------------------
|
99
108
|
// globals
|
100
109
|
// ---------------------------------------------------------------------------
|
101
|
-
var environment
|
102
|
-
var dclFinished
|
103
|
-
var moduleOptions
|
104
|
-
var cookie_names
|
110
|
+
var environment = '{{environment}}';
|
111
|
+
var dclFinished = false;
|
112
|
+
var moduleOptions = {};
|
113
|
+
var cookie_names = j1.getCookieNames();
|
105
114
|
var user_state;
|
106
115
|
var user_session;
|
107
116
|
var user_data;
|
@@ -113,7 +122,6 @@ j1.adapter['mmenu'] = (function (j1, window) {
|
|
113
122
|
// helper functions
|
114
123
|
// ---------------------------------------------------------------------------
|
115
124
|
|
116
|
-
|
117
125
|
// ---------------------------------------------------------------------------
|
118
126
|
// main object
|
119
127
|
// ---------------------------------------------------------------------------
|
@@ -123,8 +131,17 @@ j1.adapter['mmenu'] = (function (j1, window) {
|
|
123
131
|
// module initializer
|
124
132
|
// -------------------------------------------------------------------------
|
125
133
|
init: function (options) {
|
134
|
+
|
135
|
+
// -----------------------------------------------------------------------
|
136
|
+
// globals
|
137
|
+
// -----------------------------------------------------------------------
|
138
|
+
_this = j1.adapter.mmenu;
|
139
|
+
logger = log4javascript.getLogger('j1.adapter.mmenu');
|
140
|
+
|
126
141
|
// initialize state flag
|
127
|
-
|
142
|
+
_this.setState('started');
|
143
|
+
logger.info('state: ' + _this.getState());
|
144
|
+
logger.info('module is being initialized');
|
128
145
|
|
129
146
|
// -----------------------------------------------------------------------
|
130
147
|
// defaults
|
@@ -134,12 +151,6 @@ j1.adapter['mmenu'] = (function (j1, window) {
|
|
134
151
|
generated: '{{site.time}}'
|
135
152
|
}, options);
|
136
153
|
|
137
|
-
// -----------------------------------------------------------------------
|
138
|
-
// globals
|
139
|
-
// -----------------------------------------------------------------------
|
140
|
-
_this = j1.adapter.mmenu;
|
141
|
-
logger = log4javascript.getLogger('j1.adapter.mmenu');
|
142
|
-
|
143
154
|
// -----------------------------------------------------------------------
|
144
155
|
// options loader
|
145
156
|
// -----------------------------------------------------------------------
|
@@ -151,7 +162,7 @@ j1.adapter['mmenu'] = (function (j1, window) {
|
|
151
162
|
|
152
163
|
// save config settings into the mmenu object for global access
|
153
164
|
//
|
154
|
-
|
165
|
+
_this['navMenuOptions'] = navMenuOptions;
|
155
166
|
|
156
167
|
// Load (individual) frontmatter options (currently NOT used)
|
157
168
|
//
|
@@ -160,28 +171,7 @@ j1.adapter['mmenu'] = (function (j1, window) {
|
|
160
171
|
_this.setState('started');
|
161
172
|
logger.info('state: ' + _this.getState());
|
162
173
|
logger.info('module is being initialized');
|
163
|
-
|
164
|
-
// jadams, 2020-06-24: Set max_count to 100 what cause to wait 2.5s
|
165
|
-
// for J1 Navigator to finish (init)
|
166
|
-
//
|
167
|
-
var interval_count = 0;
|
168
|
-
var max_count = 100;
|
169
|
-
|
170
|
-
var dependencies_met_navigator = setInterval(function() {
|
171
|
-
interval_count += 1;
|
172
|
-
if ( j1.adapter.navigator.getState() == 'finished' ) {
|
173
|
-
logger.info('dependencies of module navigator met for: mmenu');
|
174
|
-
logger.info('dependencies of module navigator met after: ' + interval_count * 25 + ' ms');
|
175
|
-
j1.adapter.mmenu.mmenuLoader(navMenuOptions);
|
176
|
-
clearInterval(dependencies_met_navigator);
|
177
|
-
}
|
178
|
-
if (interval_count > max_count) {
|
179
|
-
logger.warn('dependency check failed for module: navigator');
|
180
|
-
logger.warn('dependencies of module navigator met after: ' + interval_count * 25 + ' ms');
|
181
|
-
clearInterval(dependencies_met_navigator);
|
182
|
-
j1.adapter.mmenu.mmenuLoader(navMenuOptions);
|
183
|
-
}
|
184
|
-
}, 25);
|
174
|
+
_this.mmenuLoader(navMenuOptions);
|
185
175
|
}, // END init
|
186
176
|
|
187
177
|
// -------------------------------------------------------------------------
|
@@ -215,48 +205,37 @@ j1.adapter['mmenu'] = (function (j1, window) {
|
|
215
205
|
to
|
216
206
|
{% if forloop.last %}'data_loaded'{% else %}'data_loaded'{% endif %}){% if forloop.last %}{% else %},{% endif %}
|
217
207
|
-------------------------------------------------------------------------- {% endcomment %}
|
218
|
-
$.when (
|
219
208
|
{% for item in nav_mmenu_options.menus %} {% if item.menu.enabled %}
|
220
209
|
{% assign menu_id = item.menu.xhr_container_id %}
|
221
210
|
{% assign xhr_data_path = item.menu.xhr_data_path %}
|
222
211
|
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
212
|
+
j1.xhrData ({
|
213
|
+
xhr_container_id: '{{menu_id}}',
|
214
|
+
xhr_data_path: '{{xhr_data_path}}'},
|
215
|
+
'j1.adapter.mmenu',
|
216
|
+
{% if forloop.last %}'data_loaded'{% else %}'null'{% endif %}){% if forloop.last %};{% else %};{% endif %}
|
228
217
|
|
229
218
|
{% endif %}
|
230
219
|
{% capture id_list %}{{id_list}}{{menu_id}}{% if forloop.last %}{% else %},{% endif %} {% endcapture %}
|
231
220
|
{% endfor %} // ENDFOR menus
|
232
|
-
|
221
|
+
|
233
222
|
// ---------------------------------------------------------------------
|
234
223
|
// Initialize MMenu Navs and Drawers
|
235
224
|
// ---------------------------------------------------------------------
|
236
|
-
|
237
|
-
|
238
|
-
_this.setState('data_loaded');
|
239
|
-
}, 300);
|
240
|
-
|
241
|
-
var dependencies_met_mmenu_initialized = setInterval (function () {
|
242
|
-
if (_this.getState() === 'data_loaded') {
|
225
|
+
var dependencies_met_all_menu_loaded = setInterval (function () {
|
226
|
+
if (j1.xhrDataState['#navigator_nav_mmenu'] == 'success' && j1.xhrDataState['#navigator_sidebar_mmenu'] == 'success' && j1.xhrDataState['#navigator_toc_mmenu'] == 'success') {
|
243
227
|
logger.info('load HTML data (AJAX): finished');
|
244
228
|
_this.setState('processing');
|
245
229
|
logger.info('status: ' + _this.getState());
|
246
230
|
logger.info('initialize navs and drawers');
|
247
|
-
|
248
|
-
clearInterval(dependencies_met_mmenu_initialized);
|
249
|
-
}
|
250
|
-
}, 25); // END dependencies_met_mmenu_loaded
|
231
|
+
_this.mmenuInitializer(mmOptions);
|
251
232
|
|
252
|
-
var dependencies_met_all_menu_loaded = setInterval (function () {
|
253
|
-
if ( $('#menu_mmenu').length && $('#sidebar_mmenu').length && $('#toc_mmenu').length ) {
|
254
233
|
_this.setState('finished');
|
255
|
-
logger.info('
|
234
|
+
logger.info('state: ' + _this.getState());
|
235
|
+
logger.info('module initialized successfully');
|
256
236
|
clearInterval(dependencies_met_all_menu_loaded);
|
257
237
|
}
|
258
238
|
}, 25); // END dependencies_met_all_menu_loaded
|
259
|
-
}); // END done
|
260
239
|
}, // END dataLoader
|
261
240
|
|
262
241
|
// -------------------------------------------------------------------------
|
@@ -333,6 +312,14 @@ j1.adapter['mmenu'] = (function (j1, window) {
|
|
333
312
|
drawer_{{menu_id}}.open();
|
334
313
|
});
|
335
314
|
});
|
315
|
+
|
316
|
+
// load themes from Bootswatch API (set localFeed EMPTY)
|
317
|
+
$('#ThemeList_MMenu').bootstrapThemeSwitcher({
|
318
|
+
localFeed: ''
|
319
|
+
});
|
320
|
+
// load (local) J1 themes (default settings)
|
321
|
+
$('#ThemeSelect_MMenu').bootstrapThemeSwitcher();
|
322
|
+
|
336
323
|
clearInterval(dependencies_met_{{menu_id}}_loaded);
|
337
324
|
$('#{{item.menu.content.id}}').show();
|
338
325
|
logger.info('initializing mmenu finished on id: #{{menu_id}}');
|
@@ -348,7 +335,7 @@ j1.adapter['mmenu'] = (function (j1, window) {
|
|
348
335
|
// -------------------------------------------------------------------
|
349
336
|
logger.info('initialize mmenu on id: #{{menu_id}}');
|
350
337
|
var dependencies_met_{{menu_id}}_loaded = setInterval (function () {
|
351
|
-
if ({{menu_id}}) {
|
338
|
+
if ({{menu_id}} && $('{{item.menu.content.button}}').length) {
|
352
339
|
const menu_selector = document.querySelector('#{{menu_id}}');
|
353
340
|
|
354
341
|
const mmenu_{{menu_id}} = new MmenuLight (
|
@@ -437,24 +424,28 @@ j1.adapter['mmenu'] = (function (j1, window) {
|
|
437
424
|
}, // END messageHandler
|
438
425
|
|
439
426
|
// -------------------------------------------------------------------------
|
440
|
-
// setState
|
441
|
-
//
|
427
|
+
// setState()
|
428
|
+
// Sets the current (processing) state of the module
|
442
429
|
// -------------------------------------------------------------------------
|
443
430
|
setState: function (stat) {
|
444
|
-
|
431
|
+
_this.state = stat;
|
445
432
|
}, // END setState
|
446
433
|
|
447
434
|
// -------------------------------------------------------------------------
|
448
|
-
// getState
|
435
|
+
// getState()
|
449
436
|
// Returns the current (processing) state of the module
|
450
437
|
// -------------------------------------------------------------------------
|
451
438
|
getState: function () {
|
452
|
-
return
|
453
|
-
} // END
|
439
|
+
return _this.state;
|
440
|
+
} // END getState
|
454
441
|
|
455
442
|
}; // END return
|
456
443
|
})(j1, window);
|
457
444
|
|
458
445
|
{% endcapture %}
|
459
|
-
{
|
446
|
+
{% if production %}
|
447
|
+
{{ cache | minifyJS }}
|
448
|
+
{% else %}
|
449
|
+
{{ cache | strip_empty_lines }}
|
450
|
+
{% endif %}
|
460
451
|
{% assign cache = nil %}
|