j1-template 2020.0.22 → 2021.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE +1 -1
- data/_includes/themes/j1/blocks/ads/ad.html +1 -1
- data/_includes/themes/j1/blocks/footer/boxes/about_box.proc +1 -1
- data/_includes/themes/j1/blocks/footer/boxes/contacts_box.proc +1 -1
- data/_includes/themes/j1/blocks/footer/boxes/issue.proc +1 -1
- data/_includes/themes/j1/blocks/footer/boxes/legal_statements.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 +1 -1
- data/_includes/themes/j1/blocks/footer/boxes/social_media_icons.proc +1 -1
- data/_includes/themes/j1/blocks/footer/generator.html +1 -1
- data/_includes/themes/j1/layouts/content_generator_app.html +1 -1
- data/_includes/themes/j1/layouts/content_generator_blog_archive.html +10 -10
- data/_includes/themes/j1/layouts/content_generator_collection.html +1 -1
- data/_includes/themes/j1/layouts/content_generator_page.html +2 -2
- data/_includes/themes/j1/layouts/content_generator_post.html +64 -162
- data/_includes/themes/j1/layouts/content_generator_raw.html +1 -1
- data/_includes/themes/j1/layouts/layout_metadata_generator.html +12 -12
- data/_includes/themes/j1/layouts/layout_module_generator.html +1 -1
- data/_includes/themes/j1/layouts/layout_resource_generator.html +1 -1
- data/_includes/themes/j1/modules/attics/generator.html +2 -2
- data/_includes/themes/j1/modules/boards/news_pin_board.html +1 -1
- data/_includes/themes/j1/modules/connectors/ad/custom-provider.html +1 -1
- data/_includes/themes/j1/modules/connectors/ad/google-adsense.html +15 -1
- data/_includes/themes/j1/modules/connectors/ads +1 -1
- data/_includes/themes/j1/modules/connectors/analytic/custom-provider.html +1 -1
- data/_includes/themes/j1/modules/connectors/analytic/google-analytics.html +2 -4
- data/_includes/themes/j1/modules/connectors/analytics +1 -1
- data/_includes/themes/j1/modules/connectors/comment/custom-provider.html +1 -1
- data/_includes/themes/j1/modules/connectors/comment/disqus.html +38 -25
- data/_includes/themes/j1/modules/connectors/comment/facebook.html +1 -1
- data/_includes/themes/j1/modules/connectors/comments +1 -1
- data/_includes/themes/j1/modules/connectors/sharing +1 -1
- data/_includes/themes/j1/modules/connectors/translator +1 -1
- data/_includes/themes/j1/modules/connectors/translators/custom-translator.html +1 -1
- data/_includes/themes/j1/modules/connectors/translators/google-translator.html +1 -1
- data/_includes/themes/j1/modules/navigator/generator.html +9 -4
- data/_includes/themes/j1/modules/navigator/procedures/topsearch.proc +37 -27
- data/_includes/themes/j1/procedures/collections/create_collection_article_preview.proc +1 -1
- data/_includes/themes/j1/procedures/global/attributes_loader.proc +1 -1
- data/_includes/themes/j1/procedures/global/collect_frontmatter_options.proc +1 -1
- data/_includes/themes/j1/procedures/global/collect_page_options.proc +1 -1
- data/_includes/themes/j1/procedures/global/create_bs_button.proc +2 -2
- data/_includes/themes/j1/procedures/global/create_word_cloud.proc +4 -2
- data/_includes/themes/j1/procedures/global/get_category.proc +1 -1
- data/_includes/themes/j1/procedures/global/get_category_item.proc +1 -1
- data/_includes/themes/j1/procedures/global/get_documents_dir.proc +1 -1
- data/_includes/themes/j1/procedures/global/get_page_path.proc +1 -1
- data/_includes/themes/j1/procedures/global/get_page_url.proc +1 -1
- data/_includes/themes/j1/procedures/global/pager.proc +1 -1
- data/_includes/themes/j1/procedures/global/select_color.proc +1 -1
- data/_includes/themes/j1/procedures/global/select_font_size.proc +1 -1
- data/_includes/themes/j1/procedures/global/select_icon_size.proc +1 -1
- data/_includes/themes/j1/procedures/global/select_location.proc +1 -1
- data/_includes/themes/j1/procedures/global/set_base_vars_folders.proc +1 -1
- data/_includes/themes/j1/procedures/global/set_env_entry_document.proc +1 -1
- data/_includes/themes/j1/procedures/global/set_image_block.proc +1 -1
- data/_includes/themes/j1/procedures/global/setup.proc +1 -1
- data/_includes/themes/j1/procedures/layouts/content_writer.proc +1 -1
- data/_includes/themes/j1/procedures/layouts/default_writer.proc +1 -1
- data/_includes/themes/j1/procedures/layouts/module_writer.proc +2 -2
- data/_includes/themes/j1/procedures/layouts/resource_writer.proc +1 -1
- data/_includes/themes/j1/procedures/posts/collate_calendar.proc +1 -1
- data/_includes/themes/j1/procedures/posts/collate_list.proc +1 -1
- data/_includes/themes/j1/procedures/posts/collate_timeline.proc +19 -18
- data/_includes/themes/j1/procedures/posts/create_ad_block.proc +1 -1
- data/_includes/themes/j1/procedures/posts/create_series_header.proc +10 -6
- data/_layouts/app.html +1 -1
- data/_layouts/blog_archive.html +1 -1
- data/_layouts/collection.html +1 -1
- data/_layouts/compress.html +1 -1
- data/_layouts/default.html +1 -1
- data/_layouts/home.html +1 -1
- data/_layouts/page.html +1 -1
- data/_layouts/paginator/autopage_category.html +1 -1
- data/_layouts/paginator/autopage_collection.html +1 -1
- data/_layouts/paginator/autopage_collections_tags.html +1 -1
- data/_layouts/paginator/autopage_tags.html +1 -1
- data/_layouts/post.html +1 -1
- data/_layouts/raw.html +1 -1
- data/apps/public/cc/cc.yml +1 -1
- data/assets/data/authclient.html +1 -1
- data/assets/data/banner.html +12 -13
- data/assets/data/carousel.json +8 -16
- data/assets/data/cookiebar.html +4 -4
- data/assets/data/fam.html +124 -0
- data/assets/data/footer.html +1 -1
- data/assets/data/galleries.json +1 -1
- data/assets/data/gallery_customizer.html +19 -7
- data/assets/data/mdi_icons.json +1 -1
- data/assets/data/menu.html +1 -1
- data/assets/data/mmenu.html +1 -1
- data/assets/data/mmenu_sidebar.html +4 -4
- data/assets/data/mmenu_toc.html +1 -1
- data/assets/data/panel.html +10 -10
- data/assets/data/quicklinks.html +16 -16
- data/assets/data/themes.json +1 -1
- data/assets/data/twa_v1.json +1 -1
- data/assets/error_pages/HTTP204.html +2 -1
- data/assets/error_pages/HTTP400.html +4 -3
- data/assets/error_pages/HTTP401.html +4 -3
- data/assets/error_pages/HTTP403.html +4 -3
- data/assets/error_pages/HTTP404.html +4 -3
- data/assets/error_pages/HTTP500.html +4 -3
- data/assets/error_pages/HTTP501.html +4 -3
- data/assets/error_pages/HTTP502.html +4 -3
- data/assets/error_pages/HTTP503.html +4 -3
- data/assets/error_pages/HTTP520.html +4 -3
- data/assets/error_pages/HTTP521.html +4 -3
- data/assets/error_pages/HTTP533.html +4 -3
- data/assets/themes/j1/adapter/js/algolia.js +2 -2
- data/assets/themes/j1/adapter/js/attic.js +3 -3
- data/assets/themes/j1/adapter/js/bmd.js +2 -2
- data/assets/themes/j1/adapter/js/carousel.js +401 -38
- data/assets/themes/j1/adapter/js/clipboard.js +2 -2
- data/assets/themes/j1/adapter/js/cookiebar.js +9 -2
- data/assets/themes/j1/adapter/js/{ssm.js → fam.js} +250 -140
- data/assets/themes/j1/adapter/js/framer.js +74 -58
- data/assets/themes/j1/adapter/js/gallery_customizer.js +4 -3
- data/assets/themes/j1/adapter/js/j1.js +38 -11
- data/assets/themes/j1/adapter/js/jf_gallery.js +4 -4
- data/assets/themes/j1/adapter/js/lightbox.js +2 -2
- data/assets/themes/j1/adapter/js/logger.js +2 -2
- data/assets/themes/j1/adapter/js/{searcher.js → lunr_search.js} +70 -67
- data/assets/themes/j1/adapter/js/mmenu.js +9 -7
- data/assets/themes/j1/adapter/js/navigator.js +2 -3
- data/assets/themes/j1/adapter/js/rouge.js +8 -6
- data/assets/themes/j1/adapter/js/rtable.js +6 -4
- data/assets/themes/j1/adapter/js/themer.js +55 -47
- data/assets/themes/j1/adapter/js/toccer.js +64 -32
- data/assets/themes/j1/core/css/animate.css +2 -2
- data/assets/themes/j1/core/css/icon-fonts/fontawesome.css +2 -2
- data/assets/themes/j1/core/css/icon-fonts/iconify.css +5 -5
- data/assets/themes/j1/core/css/icon-fonts/materialdesign.css +9 -9
- data/assets/themes/j1/core/css/icon-fonts/twemoji.css +6 -6
- data/assets/themes/j1/core/css/themes/bootstrap/bootstrap.css +8 -5
- data/assets/themes/j1/core/css/themes/bootstrap/bootstrap.min.css +2 -2
- data/assets/themes/j1/core/css/themes/uno-dark/bootstrap.css +38 -35
- data/assets/themes/j1/core/css/themes/uno-dark/bootstrap.min.css +2 -2
- data/assets/themes/j1/core/css/themes/uno-light/bootstrap.css +636 -511
- data/assets/themes/j1/core/css/themes/uno-light/bootstrap.min.css +2 -2
- data/assets/themes/j1/core/css/vendor.css +19 -21
- data/assets/themes/j1/core/css/vendor.min.css +1 -1
- data/assets/themes/j1/core/js/template.js +9 -19
- 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 +1 -1
- data/assets/themes/j1/modules/backstretch/js/backstretch.min.js +1 -1
- data/assets/themes/j1/modules/bmd/js/bootstrap-material-design.js +6 -0
- data/assets/themes/j1/modules/carousel/css/carousel.css +1 -1
- data/assets/themes/j1/modules/carousel/css/carousel.min.css +1 -1
- data/assets/themes/j1/modules/carousel/css/carousel_transitions.css +1 -1
- data/assets/themes/j1/modules/carousel/css/carousel_transitions.min.css +1 -1
- data/assets/themes/j1/modules/carousel/css/theme/uno.css +122 -83
- data/assets/themes/j1/modules/carousel/css/theme/uno.min.css +2 -2
- data/assets/themes/j1/modules/cash/js/cash.js +1374 -0
- data/assets/themes/j1/modules/cash/js/cash.min.js +42 -0
- data/assets/themes/j1/modules/clipboard/css/theme/uno.css +3 -3
- data/assets/themes/j1/modules/clipboard/css/theme/uno.min.css +2 -2
- data/assets/themes/j1/modules/fam/css/uno/fam.css +369 -0
- data/assets/themes/j1/modules/fam/js/fam.js +477 -0
- data/assets/themes/j1/modules/iframeResizer/LICENSE +21 -21
- data/assets/themes/j1/modules/iframeResizer/examples/frame.nested.html +1 -1
- data/assets/themes/j1/modules/iframeResizer/js/{iframeResizer.js → resizer.js} +0 -0
- data/assets/themes/j1/modules/iframeResizer/js/{iframeResizer.map → resizer.map} +0 -0
- data/assets/themes/j1/modules/iframeResizer/js/{iframeResizer.min.js → resizer.min.js} +0 -0
- data/assets/themes/j1/modules/jquery/css/jqueryUI/theme.css +443 -0
- data/assets/themes/j1/modules/jquery/css/jqueryUI/theme.min.css +5 -0
- data/assets/themes/j1/modules/jquery/js/jqueryUI.js +18701 -0
- data/assets/themes/j1/modules/jquery/js/jqueryUI.min.js +13 -0
- data/assets/themes/j1/modules/jquery/js/require.js +2145 -0
- data/assets/themes/j1/modules/jquery/js/require.min.js +5 -0
- data/assets/themes/j1/modules/justifiedGallery/_versions/v3.7.0/css/theme/uno.css +1 -1
- data/assets/themes/j1/modules/justifiedGallery/_versions/v4.0.0/css/theme/uno.css +1 -1
- data/assets/themes/j1/modules/justifiedGallery/css/theme/uno.css +6 -5
- data/assets/themes/j1/modules/justifiedGallery/css/theme/uno.min.css +2 -2
- data/assets/themes/j1/modules/kofax.7z +0 -0
- data/assets/themes/j1/modules/lightGallery/css/themes/uno.css +1 -1
- data/assets/themes/j1/modules/lightGallery/css/themes/uno.min.css +1 -1
- data/assets/themes/j1/modules/lightGallery/js/modules/j1/j1-video.js +1 -1
- data/assets/themes/j1/modules/lightGallery/js/modules/j1/j1-video.min.js +1 -1
- data/assets/themes/j1/modules/lightbox/LICENSE +22 -22
- data/assets/themes/j1/modules/lightbox/css/lightbox.css +1 -1
- data/assets/themes/j1/modules/lightbox/css/lightbox.min.css +1 -1
- data/assets/themes/j1/modules/lightbox/css/theme/uno.css +1 -1
- data/assets/themes/j1/modules/lightbox/css/theme/uno.min.css +1 -1
- data/assets/themes/j1/modules/lightbox/js/lightbox.js +2 -2
- data/assets/themes/j1/modules/lightbox/js/lightbox.min.js +1 -1
- data/assets/themes/j1/modules/lunrSearch/css/lunr_search.css +32 -0
- data/assets/themes/j1/modules/lunrSearch/css/lunr_search.min.css +32 -0
- data/assets/themes/j1/modules/lunrSearch/js/dateformat.js +125 -0
- data/assets/themes/j1/modules/lunrSearch/js/dateformat.min.js +14 -0
- data/assets/themes/j1/modules/lunrSearch/js/lunr.js +3475 -0
- data/assets/themes/j1/modules/lunrSearch/js/lunr.min.js +51 -0
- data/assets/themes/j1/modules/lunrSearch/js/lunr_search.js +184 -0
- data/assets/themes/j1/modules/lunrSearch/js/lunr_search.min.js +17 -0
- data/assets/themes/j1/modules/lunrSearch/js/mustache.js +772 -0
- data/assets/themes/j1/modules/lunrSearch/js/mustache.min.js +772 -0
- data/assets/themes/j1/modules/lunrSearch/js/uri.js +2340 -0
- data/assets/themes/j1/modules/lunrSearch/js/uri.min.js +93 -0
- data/assets/themes/j1/modules/materialize/js/anime.js +1283 -0
- data/assets/themes/j1/modules/materialize/js/anime.min.js +34 -0
- data/assets/themes/j1/modules/materialize/js/autocomplete.js +450 -0
- data/assets/themes/j1/modules/materialize/js/buttons.js +409 -0
- data/assets/themes/j1/modules/materialize/js/cards.js +40 -0
- data/assets/themes/j1/modules/materialize/js/carousel.js +717 -0
- data/assets/themes/j1/modules/materialize/js/cash-dom.js +1044 -0
- data/assets/themes/j1/modules/materialize/js/cash.js +960 -0
- data/assets/themes/j1/modules/materialize/js/characterCounter.js +136 -0
- data/assets/themes/j1/modules/materialize/js/chips.js +481 -0
- data/assets/themes/j1/modules/materialize/js/collapsible.js +275 -0
- data/assets/themes/j1/modules/materialize/js/component.js +44 -0
- data/assets/themes/j1/modules/materialize/js/datepicker.js +975 -0
- data/assets/themes/j1/modules/materialize/js/dropdown.js +617 -0
- data/assets/themes/j1/modules/materialize/js/forms.js +275 -0
- data/assets/themes/j1/modules/materialize/js/global.js +427 -0
- data/assets/themes/j1/modules/materialize/js/materialbox.js +453 -0
- data/assets/themes/j1/modules/materialize/js/modal.js +382 -0
- data/assets/themes/j1/modules/materialize/js/parallax.js +138 -0
- data/assets/themes/j1/modules/materialize/js/pushpin.js +145 -0
- data/assets/themes/j1/modules/materialize/js/range.js +263 -0
- data/assets/themes/j1/modules/materialize/js/ripple.js +335 -0
- data/assets/themes/j1/modules/materialize/js/scrollspy.js +295 -0
- data/assets/themes/j1/modules/materialize/js/select.js +432 -0
- data/assets/themes/j1/modules/materialize/js/sidenav.js +580 -0
- data/assets/themes/j1/modules/materialize/js/slider.js +359 -0
- data/assets/themes/j1/modules/materialize/js/tabs.js +402 -0
- data/assets/themes/j1/modules/materialize/js/tapTarget.js +314 -0
- data/assets/themes/j1/modules/materialize/js/timepicker.js +647 -0
- data/assets/themes/j1/modules/materialize/js/toasts.js +310 -0
- data/assets/themes/j1/modules/materialize/js/tooltip.js +303 -0
- data/assets/themes/j1/modules/materialize/js/waves.js +335 -0
- data/assets/themes/j1/modules/materialize/scss/components/_badges.scss +55 -0
- data/assets/themes/j1/modules/materialize/scss/components/_buttons.scss +322 -0
- data/assets/themes/j1/modules/materialize/scss/components/_cards.scss +195 -0
- data/assets/themes/j1/modules/materialize/scss/components/_carousel.scss +90 -0
- data/assets/themes/j1/modules/materialize/scss/components/_chips.scss +90 -0
- data/assets/themes/j1/modules/materialize/scss/components/_collapsible.scss +91 -0
- data/assets/themes/j1/modules/materialize/scss/components/_color-classes.scss +32 -0
- data/assets/themes/j1/modules/materialize/scss/components/_color-variables.scss +370 -0
- data/assets/themes/j1/modules/materialize/scss/components/_datepicker.scss +191 -0
- data/assets/themes/j1/modules/materialize/scss/components/_dropdown.scss +85 -0
- data/assets/themes/j1/modules/materialize/scss/components/_global.scss +769 -0
- data/assets/themes/j1/modules/materialize/scss/components/_grid.scss +156 -0
- data/assets/themes/j1/modules/materialize/scss/components/_icons-material-design.scss +5 -0
- data/assets/themes/j1/modules/materialize/scss/components/_materialbox.scss +43 -0
- data/assets/themes/j1/modules/materialize/scss/components/_modal.scss +94 -0
- data/assets/themes/j1/modules/materialize/scss/components/_navbar.scss +208 -0
- data/assets/themes/j1/modules/materialize/scss/components/_normalize.scss +447 -0
- data/assets/themes/j1/modules/materialize/scss/components/_preloader.scss +334 -0
- data/assets/themes/j1/modules/materialize/scss/components/_pulse.scss +34 -0
- data/assets/themes/j1/modules/materialize/scss/components/_sidenav.scss +216 -0
- data/assets/themes/j1/modules/materialize/scss/components/_slider.scss +92 -0
- data/assets/themes/j1/modules/materialize/scss/components/_table_of_contents.scss +33 -0
- data/assets/themes/j1/modules/materialize/scss/components/_tabs.scss +99 -0
- data/assets/themes/j1/modules/materialize/scss/components/_tapTarget.scss +103 -0
- data/assets/themes/j1/modules/materialize/scss/components/_timepicker.scss +183 -0
- data/assets/themes/j1/modules/materialize/scss/components/_toast.scss +58 -0
- data/assets/themes/j1/modules/materialize/scss/components/_tooltip.scss +32 -0
- data/assets/themes/j1/modules/materialize/scss/components/_transitions.scss +13 -0
- data/assets/themes/j1/modules/materialize/scss/components/_typography.scss +60 -0
- data/assets/themes/j1/modules/materialize/scss/components/_variables.scss +349 -0
- data/assets/themes/j1/modules/materialize/scss/components/_waves.scss +114 -0
- data/assets/themes/j1/modules/materialize/scss/components/forms/_checkboxes.scss +200 -0
- data/assets/themes/j1/modules/materialize/scss/components/forms/_file-input.scss +44 -0
- data/assets/themes/j1/modules/materialize/scss/components/forms/_forms.scss +22 -0
- data/assets/themes/j1/modules/materialize/scss/components/forms/_input-fields.scss +354 -0
- data/assets/themes/j1/modules/materialize/scss/components/forms/_radio-buttons.scss +115 -0
- data/assets/themes/j1/modules/materialize/scss/components/forms/_range.scss +161 -0
- data/assets/themes/j1/modules/materialize/scss/components/forms/_select.scss +180 -0
- data/assets/themes/j1/modules/materialize/scss/components/forms/_switches.scss +89 -0
- data/assets/themes/j1/modules/materialize/scss/materialize.scss +41 -0
- data/assets/themes/j1/modules/mdiPreviewer/css/previewer.css +1 -1
- data/assets/themes/j1/modules/mdiPreviewer/css/previewer.min.css +1 -1
- data/assets/themes/j1/modules/mmenuLight/css/mmenu.css +1 -1
- data/assets/themes/j1/modules/mmenuLight/css/mmenu.min.css +1 -1
- data/assets/themes/j1/modules/mmenuLight/css/theme/uno.css +1 -1
- data/assets/themes/j1/modules/mmenuLight/css/theme/uno.min.css +2 -2
- data/assets/themes/j1/modules/mmenuLight/js/mmenu.js +1 -1
- data/assets/themes/j1/modules/mmenuLight/js/mmenu.min.js +1 -1
- data/assets/themes/j1/modules/rtable/css/theme/uno.css +1 -1
- data/assets/themes/j1/modules/rtable/css/theme/uno.min.css +1 -1
- data/assets/themes/j1/modules/rtable/js/rtable.js +1 -1
- data/assets/themes/j1/modules/rtable/js/rtable.min.js +1 -1
- data/assets/themes/j1/modules/{bsThemeSwitcher → themeSwitcher}/js/switcher.js +1 -1
- data/assets/themes/j1/modules/{bsThemeSwitcher → themeSwitcher}/js/switcher.min.js +1 -1
- data/assets/themes/j1/modules/twemoji/css/picker/twemoji-picker.css +1 -1
- data/assets/themes/j1/modules/twemoji/css/picker/twemoji-picker.min.css +1 -1
- data/assets/themes/j1/modules/twemoji/js/LICENSE +21 -21
- data/assets/themes/j1/modules/twemoji/js/picker/LICENSE +21 -21
- data/assets/themes/j1/modules/twemoji/js/picker/twemoji-picker.js +2 -2
- data/assets/themes/j1/modules/twemoji/js/picker/twemoji-picker.min.js +1 -1
- data/assets/themes/j1/modules/twemoji/js/twemoji.js +1 -1
- data/assets/themes/j1/modules/twemoji/js/twemoji.min.js +1 -1
- data/exe/j1 +2 -0
- data/lib/j1/commands/generate.rb +48 -47
- data/lib/j1/patches/rubygems/eventmachine-1.2.7-x64-mingw32/lib/2.6/fastfilereaderext.so +0 -0
- data/lib/j1/patches/rubygems/eventmachine-1.2.7-x64-mingw32/lib/2.6/rubyeventmachine.so +0 -0
- data/lib/j1/utils/exec.rb +1 -1
- data/lib/j1/version.rb +1 -1
- data/lib/j1_app.rb +0 -4
- data/lib/j1_app/j1_auth_manager/auth_manager.rb +1 -1
- data/lib/j1_app/j1_auth_manager/commands.rb +1 -1
- data/lib/j1_app/j1_auth_manager/error_pages.rb +1 -1
- data/lib/j1_app/j1_auth_manager/helpers_disqus.rb +1 -1
- data/lib/j1_app/j1_auth_manager/helpers_facebook.rb +1 -1
- data/lib/j1_app/j1_auth_manager/helpers_github.rb +1 -1
- data/lib/j1_app/j1_auth_manager/helpers_patreon.rb +1 -1
- data/lib/j1_app/j1_auth_manager/helpers_twitter.rb +1 -1
- data/lib/j1_app/j1_auth_manager/warden_omniauth.rb +1 -1
- data/lib/j1_app/omniauth/strategies/disqus.rb +1 -1
- data/lib/j1_app/omniauth/strategies/facebook.rb +1 -1
- data/lib/j1_app/omniauth/strategies/github.rb +1 -1
- data/lib/j1_app/omniauth/strategies/patreon.rb +1 -1
- data/lib/j1_app/omniauth/strategies/twitter.rb +1 -1
- data/lib/patches/rubygems/eventmachine-1.2.7-x64-mingw32/lib/2.6/fastfilereaderext.so +0 -0
- data/lib/patches/rubygems/eventmachine-1.2.7-x64-mingw32/lib/2.6/rubyeventmachine.so +0 -0
- data/lib/starter_web/Gemfile +26 -41
- data/lib/starter_web/_config.yml +14 -9
- data/lib/starter_web/_data/_defaults/categories.yml +1 -1
- data/lib/starter_web/_data/_defaults/colors.yml +1 -1
- data/lib/starter_web/_data/_defaults/font_sizes.yml +1 -1
- data/lib/starter_web/_data/_defaults/j1_light_gallery.yml +1 -1
- data/lib/starter_web/_data/_defaults/resources.yml +1 -1
- data/lib/starter_web/_data/_defaults/template_settings.yml +1 -1
- data/lib/starter_web/_data/apps/carousel.yml +167 -346
- data/lib/starter_web/_data/apps/defaults/carousel.yml +88 -87
- data/lib/starter_web/_data/apps/defaults/gallery_customizer.yml +1 -1
- data/lib/starter_web/_data/apps/defaults/justified_gallery.yml +1 -1
- data/lib/starter_web/_data/apps/defaults/light_gallery.yml +1 -1
- data/lib/starter_web/_data/apps/defaults/lightbox.yml +1 -1
- data/lib/starter_web/_data/apps/gallery_customizer.yml +1 -1
- data/lib/starter_web/_data/apps/justified_gallery.yml +45 -11
- data/lib/starter_web/_data/apps/light_gallery.yml +1 -1
- data/lib/starter_web/_data/apps/lightbox.yml +1 -1
- data/lib/starter_web/_data/blocks/banner.yml +2 -2
- data/lib/starter_web/_data/blocks/defaults/banner.yml +1 -1
- data/lib/starter_web/_data/blocks/defaults/footer.yml +1 -1
- data/lib/starter_web/_data/blocks/defaults/panel.yml +1 -1
- data/lib/starter_web/_data/blocks/footer.yml +2 -2
- data/lib/starter_web/_data/blocks/panel.yml +7 -7
- data/lib/starter_web/_data/builder/blog_navigator.yml +1 -1
- data/lib/starter_web/_data/categories.yml +1 -1
- data/lib/starter_web/_data/colors.yml +1 -1
- data/lib/starter_web/_data/font_sizes.yml +1 -1
- data/lib/starter_web/_data/j1_config.yml +37 -33
- data/lib/starter_web/_data/layouts/app.yml +1 -1
- data/lib/starter_web/_data/layouts/blog_archive.yml +1 -1
- data/lib/starter_web/_data/layouts/collection.yml +7 -7
- data/lib/starter_web/_data/layouts/default.yml +1 -1
- data/lib/starter_web/_data/layouts/home.yml +13 -4
- data/lib/starter_web/_data/layouts/page.yml +10 -1
- data/lib/starter_web/_data/layouts/post.yml +10 -1
- data/lib/starter_web/_data/layouts/raw.yml +1 -1
- data/lib/starter_web/_data/modules/advertising.yml +1 -1
- data/lib/starter_web/_data/modules/attics.yml +1 -1
- data/lib/starter_web/_data/modules/authentication.yml +1 -1
- data/lib/starter_web/_data/modules/cookiebar.yml +1 -1
- data/lib/starter_web/_data/modules/defaults/attics.yml +1 -1
- data/lib/starter_web/_data/modules/defaults/authentication.yml +45 -43
- data/lib/starter_web/_data/modules/defaults/cookiebar.yml +1 -1
- data/lib/starter_web/_data/modules/defaults/{ssm.yml → fam.yml} +13 -16
- data/lib/starter_web/_data/modules/defaults/framer.yml +1 -1
- data/lib/starter_web/_data/modules/defaults/log4javascript.yml +1 -1
- data/lib/starter_web/_data/modules/defaults/log4r.yml +1 -1
- data/lib/starter_web/_data/modules/defaults/{jekyll_search.yml → lunr_search.yml} +46 -26
- data/lib/starter_web/_data/modules/defaults/navigator.yml +5 -5
- data/lib/starter_web/_data/modules/defaults/themer.yml +1 -1
- data/lib/starter_web/_data/modules/defaults/toccer.yml +5 -3
- data/lib/starter_web/_data/modules/fam.yml +192 -0
- data/lib/starter_web/_data/modules/framer.yml +1 -1
- data/lib/starter_web/_data/modules/log4javascript.yml +1 -1
- data/lib/starter_web/_data/modules/log4r.yml +1 -1
- data/lib/starter_web/_data/modules/{jekyll_search.yml → lunr_search.yml} +10 -7
- data/lib/starter_web/_data/modules/navigator.yml +3 -3
- data/lib/starter_web/_data/modules/navigator_menu.yml +14 -8
- data/lib/starter_web/_data/modules/themer.yml +2 -97
- data/lib/starter_web/_data/modules/toccer.yml +1 -74
- data/lib/starter_web/_data/pages/builder.yml +1 -1
- data/lib/starter_web/_data/plugins/defaults/notebooks.yml +1 -1
- data/lib/starter_web/_data/plugins/defaults/paginator.yml +1 -1
- data/lib/starter_web/_data/plugins/notebooks.yml +1 -1
- data/lib/starter_web/_data/plugins/paginator.yml +1 -1
- data/lib/starter_web/_data/private.yml +1 -1
- data/lib/starter_web/_data/resources.yml +153 -105
- data/lib/starter_web/_data/utilities/defaults/util_srv.yml +1 -1
- data/lib/starter_web/_data/utilities/util_srv.yml +1 -1
- data/lib/starter_web/_includes/attributes.asciidoc +2 -2
- data/lib/starter_web/_includes/breadcrumbs.html +11 -0
- data/lib/starter_web/_includes/documents/licenses/mit.asciidoc +19 -19
- data/lib/starter_web/_includes/tables/jekyll_variables.asciidoc +45 -45
- data/lib/starter_web/_includes/tables/template_variables.asciidoc +46 -46
- data/lib/starter_web/_plugins/asciidoctor-extensions/admonition-block-answer.rb +1 -1
- data/lib/starter_web/_plugins/asciidoctor-extensions/admonition-block-question.rb +1 -1
- data/lib/starter_web/_plugins/asciidoctor-extensions/banner.rb +1 -1
- data/lib/starter_web/_plugins/asciidoctor-extensions/carousel-block.rb +1 -1
- data/lib/starter_web/_plugins/asciidoctor-extensions/fab-icon-inline.rb +1 -1
- data/lib/starter_web/_plugins/asciidoctor-extensions/fas-icon-inline.rb +1 -1
- data/lib/starter_web/_plugins/asciidoctor-extensions/gallery-block.rb +1 -1
- data/lib/starter_web/_plugins/asciidoctor-extensions/gist-block.rb +1 -1
- data/lib/starter_web/_plugins/asciidoctor-extensions/iconify-icon-inline.rb +1 -1
- data/lib/starter_web/_plugins/asciidoctor-extensions/lightbox-block.rb +1 -1
- data/lib/starter_web/_plugins/asciidoctor-extensions/mdi-icon-inline.rb +1 -1
- data/lib/starter_web/_plugins/asciidoctor-extensions/panel.rb +1 -1
- data/lib/starter_web/_plugins/asciidoctor-extensions/shout-block.rb +1 -1
- data/lib/starter_web/_plugins/asciidoctor-extensions/twitter-emoji-inline.rb +1 -1
- data/lib/starter_web/_plugins/debug.rb +1 -2
- data/lib/starter_web/_plugins/filters.rb +1 -2
- data/lib/starter_web/_plugins/lorem_inline.rb +159 -0
- data/lib/starter_web/_plugins/lunr_index.rb +316 -0
- data/lib/starter_web/_plugins/minifyJS.rb +1 -1
- data/lib/starter_web/_plugins/minifyJSON.rb +1 -1
- data/lib/starter_web/_plugins/prettify.rb +1 -4
- data/lib/starter_web/_plugins/simple_search_filter.rb +1 -2
- data/lib/starter_web/_plugins/symlink_watcher.rb +3 -4
- data/lib/starter_web/assets/images/modules/attics/banner/lunr-banner-1280x800.jpg +0 -0
- data/lib/starter_web/assets/images/modules/icons/d1/d1-256x256.png +0 -0
- data/lib/starter_web/assets/images/modules/icons/d1/d1-32x32.ico +0 -0
- data/lib/starter_web/assets/images/modules/icons/d1/d1-512x512.png +0 -0
- data/lib/starter_web/assets/images/modules/icons/d1/d1-64x64.png +0 -0
- data/lib/starter_web/assets/images/modules/icons/d1/d1.ico +0 -0
- data/lib/starter_web/assets/images/modules/icons/d1/favicon.ico +0 -0
- data/lib/starter_web/assets/images/modules/icons/d1/scalable/d1.svg +48 -43
- data/lib/starter_web/assets/images/pages/j1_webhooks/uml/auth_mgmr_signin_request_flow.uxf +632 -632
- data/lib/starter_web/assets/images/pages/j1_webhooks/uml/webhook_flow.uxf +648 -648
- data/lib/starter_web/assets/images/pages/winlogbeat/coordinate-map.png +0 -0
- data/lib/starter_web/assets/images/pages/winlogbeat/kibana-powershell.jpg +0 -0
- data/lib/starter_web/assets/images/pages/winlogbeat/option_ignore_outgoing.png +0 -0
- data/lib/starter_web/assets/images/pages/winlogbeat/winlogbeat-dashboard.png +0 -0
- data/lib/starter_web/assets/images/quotes/colored-1.jpg +0 -0
- data/lib/starter_web/assets/images/quotes/colored-2.jpg +0 -0
- data/lib/starter_web/assets/images/quotes/default.jpg +0 -0
- data/lib/starter_web/assets/images/quotes/light-blue.jpg +0 -0
- data/lib/starter_web/assets/images/quotes/people.jpg +0 -0
- data/lib/starter_web/collections/posts/public/featured/_posts/0000-00-00-welcome-to-j1-template.adoc.erb +9 -10
- data/lib/starter_web/collections/posts/public/featured/_posts/2018-05-01-confusion-about-base-url.adoc +7 -8
- data/lib/starter_web/collections/posts/public/featured/_posts/2019-05-01-top-open-source-static-site-generators.adoc +9 -6
- data/lib/starter_web/collections/posts/public/featured/_posts/2019-06-01-about-cookies.adoc +198 -196
- data/lib/starter_web/collections/posts/public/featured/_posts/_includes/documents/readme +1 -0
- data/lib/starter_web/collections/posts/public/featured/_posts/_includes/documents/unsplash-badge.asciidoc +31 -31
- data/lib/starter_web/collections/posts/public/series/_posts/2020-01-01-post-test-series.adoc +144 -0
- data/lib/starter_web/collections/posts/public/series/_posts/2020-01-02-post-test-series.adoc +146 -0
- data/lib/starter_web/collections/posts/public/series/_posts/2020-01-03-post-test-series.adoc +146 -0
- data/lib/starter_web/collections/posts/public/series/_posts/2020-01-04-post-test-series.adoc +146 -0
- data/lib/starter_web/collections/posts/public/series/_posts/_includes/documents/100-docker-using-shared-folders.asciidoc +430 -430
- data/lib/starter_web/collections/posts/public/series/_posts/_includes/tables/debug_variables.asciidoc +47 -48
- data/lib/starter_web/collections/posts/public/wikipedia/_posts/2016-11-20-minneapolis.adoc +2 -3
- data/lib/starter_web/collections/posts/public/wikipedia/_posts/2016-11-24-narcisse-snake-dens.adoc +2 -7
- data/lib/starter_web/collections/posts/public/wikipedia/_posts/2016-11-26-columbia-river.adoc +2 -6
- data/lib/starter_web/config.ru +23 -24
- data/lib/starter_web/dot.gitattributes +1 -1
- data/lib/starter_web/dot.nojekyll +19 -19
- data/lib/starter_web/index.html +16 -10
- data/lib/starter_web/package.json +51 -35
- data/lib/starter_web/pages/public/about/about_site.adoc +2 -2
- data/lib/starter_web/pages/public/about/become_a_patron.adoc +1 -3
- data/lib/starter_web/pages/public/blog/navigator/archive.html +32 -7
- data/lib/starter_web/pages/public/blog/navigator/archive/categoryview.html +39 -14
- data/lib/starter_web/pages/public/blog/navigator/archive/dateview.html +31 -7
- data/lib/starter_web/pages/public/blog/navigator/archive/tagview.html +7 -3
- data/lib/starter_web/pages/public/blog/navigator/index.html +6 -3
- data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/100_meet_and_greet_jekyll.adoc +3 -4
- data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/200_preparations.adoc +18 -7
- data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/300_first_awesome_web.adoc +19 -8
- data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/_includes/documents/300_first_awesome_web.asciidoc +11 -12
- data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/_includes/tables/debug_variables.asciidoc +47 -48
- data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/_includes/tables/readme +1 -0
- data/lib/starter_web/pages/public/learn/roundtrip/100_present_images.adoc +35 -76
- data/lib/starter_web/pages/public/learn/roundtrip/100_present_videos.adoc +14 -12
- data/lib/starter_web/pages/public/learn/roundtrip/200_typography.adoc +20 -20
- data/lib/starter_web/pages/public/learn/roundtrip/300_icon_fonts.adoc +13 -8
- data/lib/starter_web/pages/public/learn/roundtrip/400_asciidoc_extensions.adoc +14 -9
- data/lib/starter_web/pages/public/learn/roundtrip/410_bs_modals_extentions.adoc +9 -6
- data/lib/starter_web/pages/public/learn/roundtrip/420_responsive_tables_extensions.adoc +62 -8
- data/lib/starter_web/pages/public/learn/roundtrip/500_themes.adoc +9 -7
- data/lib/starter_web/pages/public/learn/roundtrip/600_lunr.adoc +236 -0
- data/lib/starter_web/pages/public/learn/roundtrip/610_fam.adoc +294 -0
- data/lib/starter_web/pages/public/learn/roundtrip/_includes/documents/410_bottom_info.asciidoc +14 -14
- data/lib/starter_web/pages/public/learn/roundtrip/_includes/documents/410_bottom_left_warning.asciidoc +11 -11
- data/lib/starter_web/pages/public/learn/roundtrip/_includes/documents/410_bottom_right_danger.asciidoc +11 -11
- data/lib/starter_web/pages/public/learn/roundtrip/_includes/documents/410_central_success.asciidoc +11 -11
- data/lib/starter_web/pages/public/learn/roundtrip/_includes/documents/410_full_height_left_info.asciidoc +11 -11
- data/lib/starter_web/pages/public/learn/roundtrip/_includes/documents/410_full_height_right_success.asciidoc +11 -11
- data/lib/starter_web/pages/public/learn/roundtrip/_includes/documents/410_top_info.asciidoc +11 -11
- data/lib/starter_web/pages/public/learn/roundtrip/_includes/documents/410_top_left_info.asciidoc +11 -11
- data/lib/starter_web/pages/public/learn/roundtrip/_includes/documents/410_top_right_success.asciidoc +11 -11
- data/lib/starter_web/pages/public/learn/where_to_go.adoc +9 -10
- data/lib/starter_web/pages/public/legal/de/100_impress.adoc +3 -2
- data/lib/starter_web/pages/public/legal/de/200_terms_of_use.adoc +2 -1
- data/lib/starter_web/pages/public/legal/de/300_privacy.adoc +2 -1
- data/lib/starter_web/pages/public/legal/de/400_license_agreement.adoc +2 -1
- data/lib/starter_web/pages/public/legal/de/500_support.adoc +2 -1
- data/lib/starter_web/pages/public/legal/en/000_copyright.adoc +32 -28
- data/lib/starter_web/pages/public/legal/en/100_impress.adoc +12 -8
- data/lib/starter_web/pages/public/legal/en/200_terms_of_use.adoc +17 -12
- data/lib/starter_web/pages/public/legal/en/300_privacy.adoc +13 -5
- data/lib/starter_web/pages/public/legal/en/400_license_agreement.adoc +12 -4
- data/lib/starter_web/pages/public/legal/en/500_support.adoc +12 -4
- data/lib/starter_web/pages/public/legal/en/eu/cookie.policy.asciidoc +50 -55
- data/lib/starter_web/pages/public/panels/intro_panel/panel.adoc +2 -3
- data/lib/starter_web/pages/public/previewer/_includes/documents/licenses/mit.asciidoc +19 -19
- data/lib/starter_web/pages/public/previewer/bootstrap_theme.adoc +24 -30
- data/lib/starter_web/pages/public/previewer/iframer.adoc +47 -34
- data/lib/starter_web/pages/public/previewer/justified_gallery.html +15 -7
- data/lib/starter_web/pages/public/previewer/mdi_icons_preview.adoc +11 -7
- data/lib/starter_web/pages/public/previewer/rouge.adoc +250 -11
- data/lib/starter_web/pages/public/previewer/twitter_emoji_preview.adoc +10 -7
- data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
- data/lib/starter_web/utilsrv/package.json +7 -7
- data/lib/starter_web/utilsrv/server.js +1 -1
- metadata +148 -80
- data/assets/data/search.json +0 -165
- data/assets/data/ssm.html +0 -242
- data/assets/themes/j1/adapter/js/back2top.js +0 -231
- data/assets/themes/j1/modules/jekyllSearch/js/simple-jekyll-search.js +0 -468
- data/assets/themes/j1/modules/jekyllSearch/js/simple-jekyll-search.min.js +0 -6
- data/assets/themes/j1/modules/tocbot/css/theme/uno.css +0 -95
- data/assets/themes/j1/modules/tocbot/css/theme/uno.min.css +0 -15
- data/assets/themes/j1/modules/tocbot/css/tocbot.css +0 -75
- data/assets/themes/j1/modules/tocbot/css/tocbot.min.css +0 -19
- data/assets/themes/j1/modules/tocbot/js/tocbot.js +0 -19
- data/assets/themes/j1/modules/tocbot/js/tocbot.min.js +0 -19
- data/lib/j1_app/j1_auth_manager/views/auth_manager_ui.erb.kapott +0 -234
- data/lib/j1_app/j1_auth_manager/views/auth_manager_ui.new.erb +0 -297
- data/lib/starter_web/_data/modules/back2top.yml +0 -30
- data/lib/starter_web/_data/modules/defaults/back2top.yml +0 -146
- data/lib/starter_web/_data/modules/defaults/stickybits.yml +0 -36
- data/lib/starter_web/_data/modules/ssm.yml +0 -142
- data/lib/starter_web/_plugins/lorem-inline.rb +0 -65
- data/lib/starter_web/assets/images/quotes/default.png +0 -0
- data/lib/starter_web/assets/images/quotes/people.png +0 -0
- data/lib/starter_web/collections/posts/public/series/_posts/2018-11-01-docker-using-shared-folders.adoc +0 -493
- data/lib/starter_web/collections/posts/public/test_posts/_posts/2020-09-11-test_post.adoc +0 -220
- data/lib/starter_web/collections/posts/public/test_posts/_posts/_includes/attributes.asciidoc +0 -34
- data/lib/starter_web/collections/posts/public/test_posts/_posts/_includes/documents/readme +0 -0
- data/lib/starter_web/collections/posts/public/test_posts/_posts/_includes/tables/debug_variables.asciidoc +0 -48
- data/lib/starter_web/collections/posts/public/test_posts/_posts/_includes/tables/readme +0 -0
- data/lib/starter_web/pages/public/test_pages/_includes/attributes.asciidoc +0 -49
- data/lib/starter_web/pages/public/test_pages/_includes/documents/100_gistblock.asciidoc +0 -27
- data/lib/starter_web/pages/public/test_pages/_includes/tables/000_bem_specifiers.asciidoc +0 -22
- data/lib/starter_web/pages/public/test_pages/_includes/tables/000_specifier_examples.asciidoc +0 -56
- data/lib/starter_web/pages/public/test_pages/deck_of_posts.adoc +0 -162
- data/lib/starter_web/pages/public/test_pages/floating_ad.adoc +0 -207
- data/lib/starter_web/pages/public/test_pages/floating_div.adoc +0 -195
- data/lib/starter_web/pages/public/test_pages/nav_pagination_tester.adoc +0 -283
- data/lib/starter_web/pages/public/test_pages/page_attribute_tester.adoc +0 -195
- data/lib/starter_web/pages/public/test_pages/responsive_images.adoc +0 -212
- data/lib/starter_web/pages/public/test_pages/responsive_tables.adoc +0 -209
- data/lib/starter_web/pages/public/test_pages/vtutorials/000_includes/attributes.asciidoc +0 -117
- data/lib/starter_web/pages/public/test_pages/vtutorials/000_includes/documents/100_gistblock.asciidoc +0 -27
- data/lib/starter_web/pages/public/test_pages/vtutorials/000_includes/documents/410_bottom_info.asciidoc +0 -11
- data/lib/starter_web/pages/public/test_pages/vtutorials/000_includes/documents/410_bottom_left_warning.asciidoc +0 -11
- data/lib/starter_web/pages/public/test_pages/vtutorials/000_includes/documents/410_bottom_right_danger.asciidoc +0 -11
- data/lib/starter_web/pages/public/test_pages/vtutorials/000_includes/documents/410_central_success.asciidoc +0 -11
- data/lib/starter_web/pages/public/test_pages/vtutorials/000_includes/documents/410_full_height_left_info.asciidoc +0 -11
- data/lib/starter_web/pages/public/test_pages/vtutorials/000_includes/documents/410_full_height_right_success.asciidoc +0 -11
- data/lib/starter_web/pages/public/test_pages/vtutorials/000_includes/documents/410_table_3_column.asciidoc +0 -47
- data/lib/starter_web/pages/public/test_pages/vtutorials/000_includes/documents/410_top_info.asciidoc +0 -11
- data/lib/starter_web/pages/public/test_pages/vtutorials/000_includes/documents/410_top_left_info.asciidoc +0 -11
- data/lib/starter_web/pages/public/test_pages/vtutorials/000_includes/documents/410_top_right_success.asciidoc +0 -11
- data/lib/starter_web/pages/public/test_pages/vtutorials/000_includes/documents/419_advanced_modals_html.asciidoc +0 -928
- data/lib/starter_web/pages/public/test_pages/vtutorials/000_test_youtube_video.adoc +0 -141
- data/lib/starter_web/pages/public/test_pages/vtutorials/100_basic_video.adoc +0 -109
@@ -1,12 +1,14 @@
|
|
1
1
|
---
|
2
2
|
title: Roundtrip
|
3
3
|
tagline: responsive tables
|
4
|
-
|
4
|
+
date: 2020-11-09 12:00:00
|
5
|
+
description: >
|
6
|
+
Creating a design for responsive tables is challenging. The approach used by
|
7
|
+
J1 Template is based on pure CSS on top of the classic Bootstrap styles for
|
8
|
+
simplicity and portability to be viewed best on all devices and browsers.
|
5
9
|
|
6
|
-
|
7
|
-
|
8
|
-
index: [ Template, Bootstrap, Roundtrip, Extended, Tables]
|
9
|
-
categories: [ pages ]
|
10
|
+
tags: [ Roundtrip, Introduction ]
|
11
|
+
categories: [ Bootstrap, Table, Extension ]
|
10
12
|
|
11
13
|
flowtext: false
|
12
14
|
|
@@ -15,8 +17,6 @@ regenerate: false
|
|
15
17
|
|
16
18
|
resources: [ rtable, rouge ]
|
17
19
|
resource_options:
|
18
|
-
- toccer:
|
19
|
-
collapseDepth: 3
|
20
20
|
- attic:
|
21
21
|
padding_top: 400
|
22
22
|
padding_bottom: 50
|
@@ -38,6 +38,7 @@ resource_options:
|
|
38
38
|
// Set page (local) attributes here
|
39
39
|
// -----------------------------------------------------------------------------
|
40
40
|
// :page--attr: <attr-value>
|
41
|
+
:debug:
|
41
42
|
:images-dir: {imagesdir}/pages/roundtrip/100_present_images
|
42
43
|
|
43
44
|
// Load Liquid procedures
|
@@ -46,15 +47,68 @@ resource_options:
|
|
46
47
|
|
47
48
|
// Load page attributes
|
48
49
|
// -----------------------------------------------------------------------------
|
49
|
-
{% include {{load_attributes}} scope="
|
50
|
+
{% include {{load_attributes}} scope="all" %}
|
50
51
|
|
51
52
|
|
52
53
|
// Page content
|
53
54
|
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
55
|
+
|
54
56
|
Creating a design for responsive tables is challenging. The approach used by
|
55
57
|
J1 Template is based on pure CSS on top of the classic Bootstrap styles for
|
56
58
|
simplicity and portability to be viewed best on all devices and browsers.
|
57
59
|
|
60
|
+
ifdef::debug[]
|
61
|
+
|
62
|
+
.Source, options NOT set
|
63
|
+
[source, md, role="noclip"]
|
64
|
+
----
|
65
|
+
[cols=",", options="header", ]
|
66
|
+
|===============================================================================
|
67
|
+
|Bratze |Bru
|
68
|
+
|
69
|
+
|Fick
|
70
|
+
|dich
|
71
|
+
|
72
|
+
|===============================================================================
|
73
|
+
----
|
74
|
+
|
75
|
+
|
76
|
+
.Options NOT set
|
77
|
+
[cols=",", options="header", ]
|
78
|
+
|===============================================================================
|
79
|
+
|Bratze |Bru
|
80
|
+
|
81
|
+
|Fick
|
82
|
+
|dich
|
83
|
+
|
84
|
+
|===============================================================================
|
85
|
+
|
86
|
+
.Source, options SET
|
87
|
+
[source, adoc, role="noclip"]
|
88
|
+
----
|
89
|
+
[cols="6a,6a", options="header", width="100%", role="table-responsive mt-3"]
|
90
|
+
|===============================================================================
|
91
|
+
|Bratze |Bru
|
92
|
+
|
93
|
+
|Fick
|
94
|
+
|dich
|
95
|
+
|
96
|
+
|===============================================================================
|
97
|
+
----
|
98
|
+
|
99
|
+
.options set
|
100
|
+
[cols="6a,6a", options="header", width="100%", role="table-responsive mt-3"]
|
101
|
+
|===============================================================================
|
102
|
+
|Bratze |Bru
|
103
|
+
|
104
|
+
|Fick
|
105
|
+
|dich
|
106
|
+
|
107
|
+
|===============================================================================
|
108
|
+
endif::[]
|
109
|
+
|
110
|
+
|
111
|
+
|
58
112
|
== Table types
|
59
113
|
|
60
114
|
But, for sure, the solution provided is a compromise. To fit the common needs
|
@@ -1,19 +1,20 @@
|
|
1
1
|
---
|
2
2
|
title: Roundtrip
|
3
3
|
tagline: themes
|
4
|
-
|
4
|
+
date: 2020-11-10 12:00:00
|
5
|
+
description: >
|
6
|
+
The themes feature for J1 is in an experimental state for the template
|
7
|
+
system. Anyway, it makes sense to present what is possible using different
|
8
|
+
versions of Bootstrap's CSS styles for a website.
|
5
9
|
|
6
|
-
tags: [
|
7
|
-
|
8
|
-
categories: [ pages ]
|
10
|
+
tags: [ Roundtrip, Introduction ]
|
11
|
+
categories: [ Theme, Module ]
|
9
12
|
|
10
13
|
permalink: /pages/public/learn/roundtrip/themes/
|
11
14
|
regenerate: false
|
12
15
|
|
13
16
|
resources: [ rouge, clipboard ]
|
14
17
|
resource_options:
|
15
|
-
- toccer:
|
16
|
-
collapseDepth: 3
|
17
18
|
- attic:
|
18
19
|
padding_top: 400
|
19
20
|
padding_bottom: 50
|
@@ -43,11 +44,12 @@ resource_options:
|
|
43
44
|
|
44
45
|
// Load page attributes
|
45
46
|
// -----------------------------------------------------------------------------
|
46
|
-
{% include {{load_attributes}} scope="
|
47
|
+
{% include {{load_attributes}} scope="all" %}
|
47
48
|
|
48
49
|
|
49
50
|
// Page content
|
50
51
|
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
52
|
+
|
51
53
|
++++
|
52
54
|
<!-- page_path: {{page_path | debug}} -->
|
53
55
|
<!-- site.source: {{site.source | debug}} -->
|
@@ -0,0 +1,236 @@
|
|
1
|
+
---
|
2
|
+
title: Lunr
|
3
|
+
tagline: full index search
|
4
|
+
date: 2020-11-08 12:00:00
|
5
|
+
description: >
|
6
|
+
Learn the search query language used by Lunr. The DSL used by Lunr
|
7
|
+
is quite close to Solr to support a powerful search experience
|
8
|
+
for better result. Using search expressions with wildcards, conditions
|
9
|
+
like and|or and fuzzy search algorithms are supported.
|
10
|
+
|
11
|
+
tags: [ Roundtrip, Introduction ]
|
12
|
+
categories: [ Search ]
|
13
|
+
|
14
|
+
toc: true
|
15
|
+
scrollbar: false
|
16
|
+
|
17
|
+
permalink: /pages/public/learn/roundtrip/lunr/
|
18
|
+
regenerate: true
|
19
|
+
|
20
|
+
resources: [ lunr, rouge ]
|
21
|
+
resource_options:
|
22
|
+
- attic:
|
23
|
+
padding_top: 400
|
24
|
+
padding_bottom: 50
|
25
|
+
opacity: 0.5
|
26
|
+
slides:
|
27
|
+
- url: /assets/images/modules/attics/banner/lunr-banner-1280x800.jpg
|
28
|
+
alt: Lunr
|
29
|
+
---
|
30
|
+
|
31
|
+
// Page Initializer
|
32
|
+
// =============================================================================
|
33
|
+
// Enable the Liquid Preprocessor
|
34
|
+
:page-liquid:
|
35
|
+
|
36
|
+
// Set page (local) attributes here
|
37
|
+
// -----------------------------------------------------------------------------
|
38
|
+
// :page--attr: <attr-value>
|
39
|
+
|
40
|
+
// Load Liquid procedures
|
41
|
+
// -----------------------------------------------------------------------------
|
42
|
+
{% capture load_attributes %}themes/{{site.template.name}}/procedures/global/attributes_loader.proc{%endcapture%}
|
43
|
+
|
44
|
+
// Load page attributes
|
45
|
+
// -----------------------------------------------------------------------------
|
46
|
+
{% include {{load_attributes}} scope="all" %}
|
47
|
+
|
48
|
+
|
49
|
+
// Page content
|
50
|
+
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
51
|
+
|
52
|
+
== Searching
|
53
|
+
|
54
|
+
After you have built an index of your documents, the next step is to
|
55
|
+
perform a search.
|
56
|
+
|
57
|
+
The simplest way to start is to pass the text on which you want to
|
58
|
+
search into the search method:
|
59
|
+
|
60
|
+
[source, javascript]
|
61
|
+
----
|
62
|
+
idx.search('foo')
|
63
|
+
----
|
64
|
+
|
65
|
+
The above will return details of all documents that match the term
|
66
|
+
“foo”. Although it looks like a string, the `search` method parses the
|
67
|
+
string into a search query. This supports special syntax for defining
|
68
|
+
more complex queries.
|
69
|
+
|
70
|
+
Searches for multiple terms are also supported. If a document matches
|
71
|
+
_at least_ one of the search terms, it will show in the results. The
|
72
|
+
search terms are combined with OR.
|
73
|
+
|
74
|
+
[source, javascript]
|
75
|
+
----
|
76
|
+
idx.search('foo bar')
|
77
|
+
----
|
78
|
+
|
79
|
+
The above example will match documents that contain either “foo” or
|
80
|
+
“bar”. Documents that contain _both_ will score more highly and will be
|
81
|
+
returned first.
|
82
|
+
|
83
|
+
=== Scoring
|
84
|
+
|
85
|
+
The score (also known as relevance) of a document is calculated by the
|
86
|
+
https://en.wikipedia.org/wiki/Okapi_BM25[BM25] algorithm, along with
|
87
|
+
other factors such as link:#Boosts[boosts]. You don’t need to worry too
|
88
|
+
much about the details of how BM25 works; to summarize, the more a
|
89
|
+
search term occurs in a single document, the more that term will
|
90
|
+
increase that document’s score, but the more a search term occurs in the
|
91
|
+
overall _collection_ of documents, the less that term will increase a
|
92
|
+
document’s score.
|
93
|
+
|
94
|
+
For example, let’s say you’re indexing a collection of documents about
|
95
|
+
JavaScript testing libraries. The terms “JavaScript”, “library”, and
|
96
|
+
“test” may occur very frequently throughout the entire collection, so
|
97
|
+
finding a document that mentions one of these terms isn’t very
|
98
|
+
significant. However, if you’re searching for “integration test”, only
|
99
|
+
three documents in the collection have the term “integration” in them,
|
100
|
+
and _one_ of them mentions “integration” many times, that will bring the
|
101
|
+
score for that one document higher up.
|
102
|
+
|
103
|
+
=== Wildcards
|
104
|
+
|
105
|
+
Lunr supports wildcards when performing searches. A wildcard is
|
106
|
+
represented as an asterisk (`*`) and can appear anywhere in a search
|
107
|
+
term. For example, the following will match all documents with words
|
108
|
+
beginning with “foo”:
|
109
|
+
|
110
|
+
[source, javascript]
|
111
|
+
----
|
112
|
+
idx.search('foo*')
|
113
|
+
----
|
114
|
+
|
115
|
+
This will match all documents that end with ‘oo’:
|
116
|
+
|
117
|
+
[source, javascript]
|
118
|
+
----
|
119
|
+
idx.search('*oo')
|
120
|
+
----
|
121
|
+
|
122
|
+
Leading wildcards, as in the above example, should be used sparingly.
|
123
|
+
They can have a negative impact on the performance of a search,
|
124
|
+
especially in large indexes.
|
125
|
+
|
126
|
+
Finally, a wildcard can be in the middle of a term. The following will
|
127
|
+
match any documents that contain a term that begins with “f” and ends in
|
128
|
+
“o”:
|
129
|
+
|
130
|
+
[source, javascript]
|
131
|
+
----
|
132
|
+
idx.search('f*o')
|
133
|
+
----
|
134
|
+
|
135
|
+
It is also worth noting that, when a search term contains a wildcard, no
|
136
|
+
stemming is performed on the search term.
|
137
|
+
|
138
|
+
=== Fields
|
139
|
+
|
140
|
+
By default, Lunr will search all fields in a document for the query
|
141
|
+
term, and it is possible to restrict a term to a specific field. The
|
142
|
+
following example searches for the term “foo” in the field title:
|
143
|
+
|
144
|
+
[source, javascript]
|
145
|
+
----
|
146
|
+
idx.search('title:foo')
|
147
|
+
----
|
148
|
+
|
149
|
+
The search term is prefixed with the name of the field, followed by a
|
150
|
+
colon (`:`). The field _must_ be one of the fields defined when building
|
151
|
+
the index. Unrecognised fields will lead to an error.
|
152
|
+
|
153
|
+
Field-based searches can be combined with all other term modifiers and
|
154
|
+
wildcards, as well as other terms. For example, to search for words
|
155
|
+
beginning with “foo” in the title or with “bar” in any field the
|
156
|
+
following query can be used:
|
157
|
+
|
158
|
+
[source, javascript]
|
159
|
+
----
|
160
|
+
idx.search('title:foo* bar')
|
161
|
+
----
|
162
|
+
|
163
|
+
=== Boosts
|
164
|
+
|
165
|
+
In multi-term searches, a single term may be important than others. For
|
166
|
+
these cases Lunr supports term level boosts. Any document that matches a
|
167
|
+
boosted term will get a higher relevance score, and appear higher up in
|
168
|
+
the results. A boost is applied by appending a caret (`^`) and then a
|
169
|
+
positive integer to a term.
|
170
|
+
|
171
|
+
[source, javascript]
|
172
|
+
----
|
173
|
+
idx.search('foo^10 bar')
|
174
|
+
----
|
175
|
+
|
176
|
+
The above example weights the term “foo” 10 times higher than the term
|
177
|
+
“bar”. The boost value can be any positive integer, and different terms
|
178
|
+
can have different boosts:
|
179
|
+
|
180
|
+
[source, javascript]
|
181
|
+
----
|
182
|
+
idx.search('foo^10 bar^5 baz')
|
183
|
+
----
|
184
|
+
|
185
|
+
=== Fuzzy Matches
|
186
|
+
|
187
|
+
Lunr supports fuzzy matching search terms in documents, which can be
|
188
|
+
helpful if the spelling of a term is unclear, or to increase the number
|
189
|
+
of search results that are returned. The amount of fuzziness to allow
|
190
|
+
when searching can also be controlled. Fuzziness is applied by appending
|
191
|
+
a tilde (`~`) and then a positive integer to a term. The following
|
192
|
+
search matches all documents that have a word within 1 edit distance of
|
193
|
+
“foo”:
|
194
|
+
|
195
|
+
[source, javascript]
|
196
|
+
----
|
197
|
+
idx.search('foo~1')
|
198
|
+
----
|
199
|
+
|
200
|
+
An edit distance of 1 allows words to match if either adding, removing,
|
201
|
+
changing or transposing a character in the word would lead to a match.
|
202
|
+
For example “boo” requires a single edit (replacing “f” with “b”) and
|
203
|
+
would match, but “boot” would not as it also requires an additional “t”
|
204
|
+
at the end.
|
205
|
+
|
206
|
+
=== Term Presence
|
207
|
+
|
208
|
+
By default, Lunr combines multiple terms together in a search with a
|
209
|
+
logical OR. That is, a search for “foo bar” will match documents that
|
210
|
+
contain “foo” or contain “bar” or contain both. This behaviour is
|
211
|
+
controllable at the term level, i.e. the presence of each term in
|
212
|
+
matching documents can be specified. By default each term is optional in
|
213
|
+
a matching document, though a document must have at least one matching
|
214
|
+
term. It is possible to specify that a term must be present in matching
|
215
|
+
documents, or that it must be absent in matching documents.
|
216
|
+
|
217
|
+
To indicate that a term must be present in matching documents the term
|
218
|
+
should be prefixed with a plus (`+`) and to indicate that a term must be
|
219
|
+
absent the term should be prefixed with a minus (`-`). Without either
|
220
|
+
prefix the term’s presence in matching documents is optional.
|
221
|
+
|
222
|
+
The below example searches for documents that must contain “foo”, might
|
223
|
+
contain “bar” and must not contain “baz”:
|
224
|
+
|
225
|
+
[source, javascript]
|
226
|
+
----
|
227
|
+
idx.search("+foo bar -baz")
|
228
|
+
----
|
229
|
+
|
230
|
+
To simulate a logical AND search of “foo AND bar” mark both terms as
|
231
|
+
required:
|
232
|
+
|
233
|
+
[source, javascript]
|
234
|
+
----
|
235
|
+
idx.search("+foo +bar")
|
236
|
+
----
|
@@ -0,0 +1,294 @@
|
|
1
|
+
---
|
2
|
+
title: Floating Action Menu
|
3
|
+
tagline: using fam buttons
|
4
|
+
date: 2020-11-08 12:00:00
|
5
|
+
description: >
|
6
|
+
A floating action button (FAB) represents the primary action/s
|
7
|
+
of a page. Multiple actions can be configured as a FAM, the
|
8
|
+
floating action menu. See FAM buttons and menus in action
|
9
|
+
|
10
|
+
tags: [ Roundtrip, Introduction, FAM ]
|
11
|
+
categories: [ Module ]
|
12
|
+
|
13
|
+
toc: true
|
14
|
+
advertising: false
|
15
|
+
scrollbar: false
|
16
|
+
|
17
|
+
image: /assets/images/modules/attics/cookies-1920x1200-bw.jpg
|
18
|
+
permalink: /pages/public/learn/roundtrip/fam/
|
19
|
+
regenerate: true
|
20
|
+
|
21
|
+
resources: [ lightbox, rouge, clipboard, fam ]
|
22
|
+
resource_options:
|
23
|
+
- attic:
|
24
|
+
padding_top: 400
|
25
|
+
padding_bottom: 50
|
26
|
+
opacity: 0.5
|
27
|
+
slides:
|
28
|
+
- url: /assets/images/modules/attics/cookies-1920x1200-bw.jpg
|
29
|
+
alt: jekyll.1200x600-bw.jpg
|
30
|
+
---
|
31
|
+
|
32
|
+
// Page Initializer
|
33
|
+
// =============================================================================
|
34
|
+
// Enable the Liquid Preprocessor
|
35
|
+
:page-liquid:
|
36
|
+
|
37
|
+
// Set page (local) attributes here
|
38
|
+
// -----------------------------------------------------------------------------
|
39
|
+
// :page--attr: <attr-value>
|
40
|
+
// :debug:
|
41
|
+
|
42
|
+
// Load Liquid procedures
|
43
|
+
// -----------------------------------------------------------------------------
|
44
|
+
{% capture load_attributes %}themes/{{site.template.name}}/procedures/global/attributes_loader.proc{%endcapture%}
|
45
|
+
|
46
|
+
// Load page attributes
|
47
|
+
// -----------------------------------------------------------------------------
|
48
|
+
{% include {{load_attributes}} scope="none" %}
|
49
|
+
|
50
|
+
|
51
|
+
// Page content
|
52
|
+
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
53
|
+
// See: https://material.io/components/buttons-floating-action-button
|
54
|
+
|
55
|
+
A floating action button (FAB) represents the primary action/s
|
56
|
+
of a page. Multiple actions can be configured as a FAM, the
|
57
|
+
floating action menu. See FAM buttons and menus in action
|
58
|
+
|
59
|
+
== Floating Action Menu (FAM)
|
60
|
+
|
61
|
+
If you want a fixed floating action button, you can add multiple actions
|
62
|
+
that will appear on hover. Our demo is in the bottom righthand corner of
|
63
|
+
the page.
|
64
|
+
|
65
|
+
[source, html]
|
66
|
+
----
|
67
|
+
<div class="fam-btn">
|
68
|
+
<a class="btn-fab-floating btn-large red">
|
69
|
+
<i class="large material-icons">mode_edit</i>
|
70
|
+
</a>
|
71
|
+
<ul>
|
72
|
+
<li><a class="btn-fab-floating red"><i class="material-icons">insert_chart</i></a></li>
|
73
|
+
<li><a class="btn-fab-floating yellow darken-1"><i class="material-icons">format_quote</i></a></li>
|
74
|
+
<li><a class="btn-fab-floating green"><i class="material-icons">publish</i></a></li>
|
75
|
+
<li><a class="btn-fab-floating blue"><i class="material-icons">attach_file</i></a></li>
|
76
|
+
</ul>
|
77
|
+
</div>
|
78
|
+
----
|
79
|
+
|
80
|
+
== Initialization
|
81
|
+
|
82
|
+
[source, javascript]
|
83
|
+
----
|
84
|
+
document.addEventListener('DOMContentLoaded', function() {
|
85
|
+
var elems = document.querySelectorAll('.fam-btn');
|
86
|
+
var instances = j1.fam.init(elems, options);
|
87
|
+
});
|
88
|
+
----
|
89
|
+
|
90
|
+
or using *jQuery*
|
91
|
+
|
92
|
+
[source, javascript]
|
93
|
+
----
|
94
|
+
$(document).ready(function(){
|
95
|
+
$('.fam-btn').j1.fam();
|
96
|
+
});
|
97
|
+
----
|
98
|
+
|
99
|
+
=== Options
|
100
|
+
|
101
|
+
[cols=",,,", options="header", ]
|
102
|
+
|===============================================================================
|
103
|
+
|Name |Type |Default |Description
|
104
|
+
|
105
|
+
|`direction`
|
106
|
+
|String
|
107
|
+
|`top`
|
108
|
+
|Direction FAM menu opens. Can be `top`, `right`, `buttom`, or `left`
|
109
|
+
|
110
|
+
|`hoverEnabled`
|
111
|
+
|Boolean
|
112
|
+
|`true`
|
113
|
+
|If `true`, FAM menu will open on hover instead of click
|
114
|
+
|
115
|
+
|`toolbarEnabled`
|
116
|
+
|Boolean
|
117
|
+
|`false`
|
118
|
+
|Enable transit the FAM into a toolbar on click
|
119
|
+
|
120
|
+
|===============================================================================
|
121
|
+
|
122
|
+
== Methods
|
123
|
+
|
124
|
+
Because jQuery is no longer a dependency, all the methods are called on
|
125
|
+
the plugin instance. You can get the plugin instance like this:
|
126
|
+
|
127
|
+
[source, javascript]
|
128
|
+
----
|
129
|
+
var instance = j1.fam.getInstance(elem);
|
130
|
+
----
|
131
|
+
|
132
|
+
or using *jQuery*
|
133
|
+
|
134
|
+
[source, javascript]
|
135
|
+
----
|
136
|
+
$('.fam-btn').fam('methodName');
|
137
|
+
$('.fam-btn').fam('methodName', paramName);
|
138
|
+
----
|
139
|
+
|
140
|
+
WARNING: You can still use the old jQuery plugin method calls.
|
141
|
+
But you won't be able to access instance properties.
|
142
|
+
|
143
|
+
=== `open()`
|
144
|
+
|
145
|
+
Opens a FAM.
|
146
|
+
|
147
|
+
[source, javascript]
|
148
|
+
----
|
149
|
+
instance.open();
|
150
|
+
----
|
151
|
+
|
152
|
+
=== `close()`
|
153
|
+
|
154
|
+
Closes a FAM.
|
155
|
+
|
156
|
+
[source, javascript]
|
157
|
+
----
|
158
|
+
instance.close();
|
159
|
+
----
|
160
|
+
|
161
|
+
=== `destroy()`
|
162
|
+
|
163
|
+
Destroy plugin instance and teardown
|
164
|
+
|
165
|
+
[source, javascript]
|
166
|
+
----
|
167
|
+
instance.destroy();
|
168
|
+
----
|
169
|
+
|
170
|
+
=== Properties
|
171
|
+
|
172
|
+
[cols=",,", options="header", ]
|
173
|
+
|===============================================================================
|
174
|
+
|Name |Type |Description
|
175
|
+
|
176
|
+
|`el`
|
177
|
+
|Element
|
178
|
+
|The DOM element the plugin was initialized with.
|
179
|
+
|
180
|
+
|`options`
|
181
|
+
|Object
|
182
|
+
|The options the instance was initialized with.
|
183
|
+
|
184
|
+
|`isOpen`
|
185
|
+
|Boolean
|
186
|
+
|Describes open/close state of the FAM.
|
187
|
+
|
188
|
+
|===============================================================================
|
189
|
+
|
190
|
+
== Horizontal FAM
|
191
|
+
|
192
|
+
Creating a horizontal FAM is easy! Just set the direction option.
|
193
|
+
|
194
|
+
[source, javascript]
|
195
|
+
----
|
196
|
+
document.addEventListener('DOMContentLoaded', function() {
|
197
|
+
var elems = document.querySelectorAll('.fam-btn');
|
198
|
+
var instances = j1.fam.init(elems, {
|
199
|
+
direction: 'left'
|
200
|
+
});
|
201
|
+
});
|
202
|
+
----
|
203
|
+
|
204
|
+
== Click-only FAM
|
205
|
+
|
206
|
+
If you want to disable the hover behaviour, and instead toggle the FAM
|
207
|
+
menu when the user clicks on the large button (works great on mobile!),
|
208
|
+
just add the `click-to-toggle` class to the FAM.
|
209
|
+
|
210
|
+
[source, javascript]
|
211
|
+
----
|
212
|
+
document.addEventListener('DOMContentLoaded', function() {
|
213
|
+
var elems = document.querySelectorAll('.fam-btn');
|
214
|
+
var instances = j1.fam.init(elems, {
|
215
|
+
direction: 'left',
|
216
|
+
hoverEnabled: false
|
217
|
+
});
|
218
|
+
});
|
219
|
+
----
|
220
|
+
|
221
|
+
/////
|
222
|
+
== FAM to Toolbar
|
223
|
+
|
224
|
+
Instead of displaying individual button options, you can transition your
|
225
|
+
FAM into a toolbar on click. Just add the `toolbar` class to the FAM.
|
226
|
+
|
227
|
+
[source, javascript]
|
228
|
+
----
|
229
|
+
document.addEventListener('DOMContentLoaded', function() {
|
230
|
+
var elems = document.querySelectorAll('.fam-btn');
|
231
|
+
var instances = j1.fam.init(elems, {
|
232
|
+
toolbarEnabled: true
|
233
|
+
});
|
234
|
+
});
|
235
|
+
----
|
236
|
+
|
237
|
+
Or using jQuery
|
238
|
+
|
239
|
+
[source, javascript]
|
240
|
+
----
|
241
|
+
$('.fam-btn').fam({
|
242
|
+
toolbarEnabled: true
|
243
|
+
});
|
244
|
+
----
|
245
|
+
/////
|
246
|
+
|
247
|
+
/////
|
248
|
+
++++
|
249
|
+
<div class="fam-btn">
|
250
|
+
<a id="page_ctrl_button" class="btn-fab-floating btn-large btn-md-red raised-z5"><i class="mdi mdi-chevron-down"></i></a>
|
251
|
+
<ul id="page_ctrl_items">
|
252
|
+
<li><a id="fam_reload_page" class="btn-fab-floating btn-md-red raised-z5"><i class="mdi mdi-reload"></i></a></li>
|
253
|
+
<li><a id="open_mmenu_toc" class="btn-fab-floating btn-md-blue raised-z5"><i class="mdi mdi-wrap"></i></a></li>
|
254
|
+
<li><a id="fam_scroll_to_top" class="btn-fab-floating btn-md-green raised-z5"><i class="mdi mdi-step-backward-2 mdi-rotate-90"></i></a></li>
|
255
|
+
<li><a id="fam_next_section" class="btn-fab-floating btn-md-green raised-z5"><i class="mdi mdi-step-forward mdi-rotate-90"></i></a></li>
|
256
|
+
<li><a id="fam_previous_section" class="btn-fab-floating btn-md-green raised-z5"><i class="mdi mdi-step-backward mdi-rotate-90"></i></a></li>
|
257
|
+
<!--
|
258
|
+
<li><a id="ssm_scroll_to_bottom" class="btn-fab-floating btn-md-green raised-z5"><i class="mdi mdi-step-forward-2 mdi-rotate-90"></i></a></li>
|
259
|
+
-->
|
260
|
+
</ul>
|
261
|
+
</div>
|
262
|
+
++++
|
263
|
+
|
264
|
+
|
265
|
+
++++
|
266
|
+
<script>
|
267
|
+
$(document).ready(function() {
|
268
|
+
var FloatingActionOptions = { direction: 'top',
|
269
|
+
hoverEnabled: true,
|
270
|
+
toolbarEnabled: false };
|
271
|
+
|
272
|
+
var elems = document.querySelectorAll('.fam-btn');
|
273
|
+
var instances = j1.fam.init(elems, FloatingActionOptions);
|
274
|
+
// var $instances = $('.fam-btn').j1.fam(FloatingActionOptions);
|
275
|
+
var $ActionButton = $('#page_ctrl_button');
|
276
|
+
|
277
|
+
if (FloatingActionOptions.hoverEnabled) {
|
278
|
+
$ActionButton.hover(
|
279
|
+
function() {
|
280
|
+
$('.mdi').toggleClass('mdi-chevron-down mdi-chevron-up');
|
281
|
+
}, function() {
|
282
|
+
$('.mdi').toggleClass('mdi-chevron-down mdi-chevron-up');
|
283
|
+
}
|
284
|
+
);
|
285
|
+
} else {
|
286
|
+
$ActionButton.on('click', function (e) {
|
287
|
+
$('.mdi').toggleClass('mdi-chevron-down mdi-chevron-up');
|
288
|
+
});
|
289
|
+
}
|
290
|
+
|
291
|
+
});
|
292
|
+
</script>
|
293
|
+
++++
|
294
|
+
/////
|