j1-template 2022.5.2 → 2022.6.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (358) hide show
  1. checksums.yaml +4 -4
  2. data/_includes/themes/j1/layouts/content_generator_news_panel_posts.html +61 -40
  3. data/_includes/themes/j1/layouts/content_generator_page.html +22 -22
  4. data/_includes/themes/j1/layouts/content_generator_post.html +1 -1
  5. data/_includes/themes/j1/layouts/layout_metadata_generator.html +13 -79
  6. data/_includes/themes/j1/{blocks → procedures/blocks}/footer/boxes/about_box.proc +0 -0
  7. data/_includes/themes/j1/{blocks → procedures/blocks}/footer/boxes/contacts_box.proc +0 -0
  8. data/_includes/themes/j1/{blocks → procedures/blocks}/footer/boxes/issue.proc +0 -0
  9. data/_includes/themes/j1/{blocks → procedures/blocks}/footer/boxes/legal_statements.proc +0 -0
  10. data/_includes/themes/j1/{blocks → procedures/blocks}/footer/boxes/links_box.proc +0 -0
  11. data/_includes/themes/j1/{blocks → procedures/blocks}/footer/boxes/news_box.proc +0 -0
  12. data/_includes/themes/j1/{blocks → procedures/blocks}/footer/boxes/social_media_icons.proc +0 -0
  13. data/_includes/themes/j1/procedures/blocks/get_wave.proc +211 -0
  14. data/_includes/themes/j1/procedures/collections/create_collection_article_preview.proc +1 -1
  15. data/_includes/themes/j1/procedures/global/create_word_cloud.proc +1 -1
  16. data/_includes/themes/j1/procedures/posts/collate_timeline.proc +2 -2
  17. data/_includes/themes/j1/procedures/posts/pager.proc +9 -10
  18. data/_layouts/default.html +5 -1
  19. data/apps/private/README.txt +1 -0
  20. data/apps/protected/README.txt +1 -0
  21. data/apps/public/README.txt +1 -0
  22. data/assets/data/banner.html +38 -8
  23. data/assets/data/footer.html +31 -11
  24. data/assets/data/panel.html +118 -27
  25. data/assets/themes/j1/adapter/js/attic.js +4 -4
  26. data/assets/themes/j1/adapter/js/comments.js +18 -7
  27. data/assets/themes/j1/adapter/js/waves.js +227 -0
  28. data/assets/themes/j1/core/css/icon-fonts/fontawesome.min.css +1 -1
  29. data/assets/themes/j1/core/css/icon-fonts/mdi.min.css +1 -1
  30. data/assets/themes/j1/core/css/icon-fonts/mdil.min.css +1 -1
  31. data/assets/themes/j1/core/css/themes/bootstrap/bootstrap.css +92 -74
  32. data/assets/themes/j1/core/css/themes/bootstrap/bootstrap.min.css +5 -3
  33. data/assets/themes/j1/core/css/themes/theme_vapor/bootstrap.css +92 -74
  34. data/assets/themes/j1/core/css/themes/theme_vapor/bootstrap.min.css +5 -3
  35. data/assets/themes/j1/core/css/themes/unodark/bootstrap.css +105 -138
  36. data/assets/themes/j1/core/css/themes/unodark/bootstrap.min.css +5 -3
  37. data/assets/themes/j1/core/css/themes/unolight/bootstrap.css +457 -262
  38. data/assets/themes/j1/core/css/themes/unolight/bootstrap.min.css +26 -15
  39. data/assets/themes/j1/core/css/vendor.css +11 -8
  40. data/assets/themes/j1/core/css/vendor.min.css +1 -1
  41. data/assets/themes/j1/core/fonts/fontawesome_5/LICENSE.txt +34 -0
  42. data/assets/themes/j1/core/fonts/material_design_icons/LICENSE.txt +97 -0
  43. data/assets/themes/j1/core/fonts/material_design_icons_light/LICENSE.txt +92 -0
  44. data/assets/themes/j1/core/fonts/roboto/LICENSE.txt +11 -0
  45. data/assets/themes/j1/core/js/template.js +419 -746
  46. data/assets/themes/j1/core/js/template.min.js.map +1 -1
  47. data/assets/themes/j1/modules/backstretch/js/backstretch.js +1 -1
  48. data/assets/themes/j1/modules/backstretch/js/backstretch.min.js +1 -1
  49. data/assets/themes/j1/modules/bokeh/LICENSE.txt +28 -0
  50. data/assets/themes/j1/modules/jquery/js/extensions/hasClass.js +17 -0
  51. data/assets/themes/j1/modules/jquery/js/extensions/hasClass.min.js +17 -0
  52. data/assets/themes/j1/modules/jquery/js/extensions/removeClass.js +18 -0
  53. data/assets/themes/j1/modules/jquery/js/extensions/removeClass.min.js +17 -0
  54. data/assets/themes/j1/modules/later/LICENSE.txt +21 -0
  55. data/assets/themes/j1/modules/log4javascript/license.txt +201 -0
  56. data/assets/themes/j1/modules/lunr/stopwords/de.txt +229 -0
  57. data/assets/themes/j1/modules/lunr/stopwords/en.txt +119 -0
  58. data/assets/themes/j1/modules/masterslider/LICENSE.txt +621 -0
  59. data/assets/themes/j1/modules/masterslider/README.txt +531 -0
  60. data/assets/themes/j1/modules/msDropdown/LICENSE.txt +20 -0
  61. data/assets/themes/j1/modules/nbinteract-core/LICENSE.txt +60 -0
  62. data/assets/themes/j1/modules/rouge/css/themes.txt +46 -0
  63. data/assets/themes/j1/modules/vega/LICENSE.txt +27 -0
  64. data/lib/j1/version.rb +1 -1
  65. data/lib/starter_web/Gemfile +11 -7
  66. data/lib/starter_web/README.md +5 -5
  67. data/lib/starter_web/_config.yml +199 -135
  68. data/lib/starter_web/_data/blocks/banner.yml +18 -2
  69. data/lib/starter_web/_data/blocks/defaults/footer.yml +3 -1
  70. data/lib/starter_web/_data/blocks/defaults/panel.yml +4 -0
  71. data/lib/starter_web/_data/blocks/footer.yml +12 -1
  72. data/lib/starter_web/_data/blocks/panel.yml +88 -19
  73. data/lib/starter_web/_data/j1_config.yml +2 -2
  74. data/lib/starter_web/_data/layouts/collection.yml +0 -9
  75. data/lib/starter_web/_data/layouts/home.yml +21 -30
  76. data/lib/starter_web/_data/layouts/news_panel_posts.yml +0 -9
  77. data/lib/starter_web/_data/layouts/page.yml +0 -9
  78. data/lib/starter_web/_data/layouts/post.yml +0 -9
  79. data/lib/starter_web/_data/modules/blog_navigator.yml +6 -0
  80. data/lib/starter_web/_data/modules/defaults/blog_navigator.yml +15 -8
  81. data/lib/starter_web/_data/modules/defaults/cookieconsent.yml +5 -4
  82. data/lib/starter_web/_data/modules/defaults/navigator.yml +1 -1
  83. data/lib/starter_web/_data/modules/defaults/waves.yml +32 -0
  84. data/lib/starter_web/_data/modules/navigator_menu.yml +48 -120
  85. data/lib/starter_web/_data/modules/waves.yml +32 -0
  86. data/lib/starter_web/_data/plugins/defaults/feed.yml +82 -0
  87. data/lib/starter_web/_data/plugins/defaults/seo-tags.yml +65 -0
  88. data/lib/starter_web/_data/plugins/defaults/sitemap.yml +66 -0
  89. data/lib/starter_web/_data/plugins/feed.yml +35 -0
  90. data/lib/starter_web/_data/plugins/seo-tags.yml +30 -0
  91. data/lib/starter_web/_data/plugins/sitemap.yml +30 -0
  92. data/lib/starter_web/_data/resources.yml +22 -0
  93. data/lib/starter_web/_data/templates/feed.xml +191 -0
  94. data/lib/starter_web/_data/templates/robots.txt +1 -0
  95. data/lib/starter_web/_data/templates/seo-tags.html +140 -0
  96. data/lib/starter_web/_data/templates/sitemap.xml +36 -0
  97. data/lib/starter_web/_includes/attributes.asciidoc +49 -47
  98. data/lib/starter_web/_includes/custom/static/bs5_accordion.html +84 -0
  99. data/lib/starter_web/_includes/custom/templates/bs5_accordion.html +103 -0
  100. data/lib/starter_web/_plugins/{asciidoctor-extensions → asciidoctor}/admonition-block-answer.rb +0 -0
  101. data/lib/starter_web/_plugins/{asciidoctor-extensions → asciidoctor}/admonition-block-question.rb +0 -0
  102. data/lib/starter_web/_plugins/{asciidoctor-extensions → asciidoctor}/banner.rb +0 -0
  103. data/lib/starter_web/_plugins/{asciidoctor-extensions → asciidoctor}/callout.rb +0 -0
  104. data/lib/starter_web/_plugins/{asciidoctor-extensions → asciidoctor}/carousel-block.rb +0 -0
  105. data/lib/starter_web/_plugins/{asciidoctor-extensions → asciidoctor}/conum.rb +0 -0
  106. data/lib/starter_web/_plugins/{asciidoctor-extensions → asciidoctor}/fab-icon-inline.rb +0 -0
  107. data/lib/starter_web/_plugins/{asciidoctor-extensions → asciidoctor}/fas-icon-inline.rb +0 -0
  108. data/lib/starter_web/_plugins/{asciidoctor-extensions → asciidoctor}/flag-icon-inline.rb +0 -0
  109. data/lib/starter_web/_plugins/{asciidoctor-extensions → asciidoctor}/gallery-block.rb +0 -0
  110. data/lib/starter_web/_plugins/{asciidoctor-extensions → asciidoctor}/gist-block.rb +0 -0
  111. data/lib/starter_web/_plugins/{asciidoctor-extensions → asciidoctor}/iconify-icon-inline.rb +0 -0
  112. data/lib/starter_web/_plugins/{asciidoctor-extensions → asciidoctor}/lightbox-block.rb +0 -0
  113. data/lib/starter_web/_plugins/{asciidoctor-extensions → asciidoctor}/lorem_inline.rb +0 -0
  114. data/lib/starter_web/_plugins/{asciidoctor-extensions → asciidoctor}/masterslider-block.rb +0 -0
  115. data/lib/starter_web/_plugins/{asciidoctor-extensions → asciidoctor}/mdi-icon-inline.rb +0 -0
  116. data/lib/starter_web/_plugins/{asciidoctor-extensions → asciidoctor}/panel.rb +0 -0
  117. data/lib/starter_web/_plugins/{asciidoctor-extensions → asciidoctor}/range-slider-block.rb +0 -0
  118. data/lib/starter_web/_plugins/{asciidoctor-extensions → asciidoctor}/shout-block.rb +0 -0
  119. data/lib/starter_web/_plugins/{asciidoctor-extensions → asciidoctor}/textbook-block.rb +0 -0
  120. data/lib/starter_web/_plugins/{asciidoctor-extensions → asciidoctor}/twitter-emoji-inline.rb +0 -0
  121. data/lib/starter_web/_plugins/{debug.rb → filter/debug.rb} +0 -0
  122. data/lib/starter_web/_plugins/{encodeBase64.rb → filter/encodeBase64.rb} +0 -0
  123. data/lib/starter_web/_plugins/{encryptAES.rb → filter/encryptAES.rb} +0 -0
  124. data/lib/starter_web/_plugins/{filters.rb → filter/filters.rb} +11 -0
  125. data/lib/starter_web/_plugins/{minifyJS.rb → filter/minifyJS.rb} +0 -0
  126. data/lib/starter_web/_plugins/{minifyJSON.rb → filter/minifyJSON.rb} +0 -0
  127. data/lib/starter_web/_plugins/{prettify.rb → filter/prettify.rb} +0 -0
  128. data/lib/starter_web/_plugins/filter/xml_prettify.rb +36 -0
  129. data/lib/starter_web/_plugins/{symlink_watcher.rb → helper/symlink_watcher.rb} +0 -0
  130. data/lib/starter_web/_plugins/{date-i18n.rb → i18n/date.rb} +1 -1
  131. data/lib/starter_web/_plugins/{lunr_index.rb → index/lunr.rb} +38 -35
  132. data/lib/starter_web/_plugins/seo/j1-feed.rb +268 -0
  133. data/lib/starter_web/_plugins/seo/j1-seo-tags.rb +717 -0
  134. data/lib/starter_web/_plugins/seo/j1-sitemap.rb +140 -0
  135. data/lib/starter_web/assets/images/banner/scalable/wave.svg +13 -0
  136. data/lib/starter_web/assets/images/blocks/waves/scalable/1280x100/wave-1.svg +63 -0
  137. data/lib/starter_web/assets/images/blocks/waves/scalable/1280x100/wave-2.svg +60 -0
  138. data/lib/starter_web/assets/images/blocks/waves/scalable/1280x100/wave-3.svg +64 -0
  139. data/lib/starter_web/assets/images/blocks/waves/scalable/1280x100/wave-4.svg +62 -0
  140. data/lib/starter_web/assets/images/blocks/waves/scalable/1920x100/wave-1.svg +64 -0
  141. data/lib/starter_web/assets/images/blocks/waves/scalable/1920x100/wave-2.svg +60 -0
  142. data/lib/starter_web/assets/images/blocks/waves/scalable/1920x100/wave-3.svg +65 -0
  143. data/lib/starter_web/assets/images/blocks/waves/scalable/1920x100/wave-4.svg +62 -0
  144. data/lib/starter_web/assets/images/collections/blog/featured/dynamic-web-access.png +0 -0
  145. data/lib/starter_web/assets/images/collections/blog/featured/jamstack-generators.png +0 -0
  146. data/lib/starter_web/assets/images/collections/blog/featured/static-web-access.png +0 -0
  147. data/lib/starter_web/assets/images/icons/jekyll/logo-2x.png +0 -0
  148. data/lib/starter_web/assets/images/icons/jekyll/octojekyll.png +0 -0
  149. data/lib/starter_web/assets/images/modules/attics/1280x800/j1-template.png +0 -0
  150. data/lib/starter_web/assets/images/modules/attics/1280x800/jekyll-generator.png +0 -0
  151. data/lib/starter_web/assets/images/modules/attics/1280x800jekyll-generator.jpg +0 -0
  152. data/lib/starter_web/assets/images/modules/attics/1920x1280/_ben-kolde.jpg +0 -0
  153. data/lib/starter_web/assets/images/modules/attics/1920x1280/_moritz-kindler.jpg +0 -0
  154. data/lib/starter_web/assets/images/modules/attics/1920x1280/alina-grubnyak.jpg +0 -0
  155. data/lib/starter_web/assets/images/modules/attics/1920x1280/andrea-badino.jpg +0 -0
  156. data/lib/starter_web/assets/images/modules/attics/1920x1280/brad-neathery.jpg +0 -0
  157. data/lib/starter_web/assets/images/modules/attics/1920x1280/bruno-figueiredo.jpg +0 -0
  158. data/lib/starter_web/assets/images/modules/attics/1920x1280/fly-d.jpg +0 -0
  159. data/lib/starter_web/assets/images/modules/attics/1920x1280/guillaume-bolduc.jpg +0 -0
  160. data/lib/starter_web/assets/images/modules/attics/1920x1280/melanie-deziel.jpg +0 -0
  161. data/lib/starter_web/assets/images/modules/attics/1920x1280/milad-fakurian.jpg +0 -0
  162. data/lib/starter_web/assets/images/modules/attics/1920x1280/quino-al-2.jpg +0 -0
  163. data/lib/starter_web/assets/images/modules/attics/lunr-1280x800.jpg +0 -0
  164. data/lib/starter_web/assets/images/modules/attics/no-time-1920x1280.jpg +0 -0
  165. data/lib/starter_web/assets/images/modules/gallery/mega_cities/author.txt +75 -0
  166. data/lib/starter_web/assets/images/pages/egrid/bg.png +0 -0
  167. data/lib/starter_web/assets/images/pages/egrid/black_denim.png +0 -0
  168. data/lib/starter_web/assets/images/pages/egrid/explanation.png +0 -0
  169. data/lib/starter_web/assets/images/pages/egrid/html_markup.png +0 -0
  170. data/lib/starter_web/assets/images/pages/egrid/large/1.jpg +0 -0
  171. data/lib/starter_web/assets/images/pages/egrid/large/10.jpg +0 -0
  172. data/lib/starter_web/assets/images/pages/egrid/large/11.jpg +0 -0
  173. data/lib/starter_web/assets/images/pages/egrid/large/12.jpg +0 -0
  174. data/lib/starter_web/assets/images/pages/egrid/large/13.jpg +0 -0
  175. data/lib/starter_web/assets/images/pages/egrid/large/14.jpg +0 -0
  176. data/lib/starter_web/assets/images/pages/egrid/large/15.jpg +0 -0
  177. data/lib/starter_web/assets/images/pages/egrid/large/16.jpg +0 -0
  178. data/lib/starter_web/assets/images/pages/egrid/large/17.jpg +0 -0
  179. data/lib/starter_web/assets/images/pages/egrid/large/18.jpg +0 -0
  180. data/lib/starter_web/assets/images/pages/egrid/large/19.jpg +0 -0
  181. data/lib/starter_web/assets/images/pages/egrid/large/2.jpg +0 -0
  182. data/lib/starter_web/assets/images/pages/egrid/large/20.jpg +0 -0
  183. data/lib/starter_web/assets/images/pages/egrid/large/3.jpg +0 -0
  184. data/lib/starter_web/assets/images/pages/egrid/large/4.jpg +0 -0
  185. data/lib/starter_web/assets/images/pages/egrid/large/5.jpg +0 -0
  186. data/lib/starter_web/assets/images/pages/egrid/large/6.jpg +0 -0
  187. data/lib/starter_web/assets/images/pages/egrid/large/7.jpg +0 -0
  188. data/lib/starter_web/assets/images/pages/egrid/large/8.jpg +0 -0
  189. data/lib/starter_web/assets/images/pages/egrid/large/9.jpg +0 -0
  190. data/lib/starter_web/assets/images/pages/egrid/loading.gif +0 -0
  191. data/lib/starter_web/assets/images/pages/egrid/loading_dark.gif +0 -0
  192. data/lib/starter_web/assets/images/pages/egrid/nav-icon.png +0 -0
  193. data/lib/starter_web/assets/images/pages/egrid/nav.png +0 -0
  194. data/lib/starter_web/assets/images/pages/egrid/small/1.jpg +0 -0
  195. data/lib/starter_web/assets/images/pages/egrid/small/10.jpg +0 -0
  196. data/lib/starter_web/assets/images/pages/egrid/small/11.jpg +0 -0
  197. data/lib/starter_web/assets/images/pages/egrid/small/12.jpg +0 -0
  198. data/lib/starter_web/assets/images/pages/egrid/small/13.jpg +0 -0
  199. data/lib/starter_web/assets/images/pages/egrid/small/14.jpg +0 -0
  200. data/lib/starter_web/assets/images/pages/egrid/small/15.jpg +0 -0
  201. data/lib/starter_web/assets/images/pages/egrid/small/16.jpg +0 -0
  202. data/lib/starter_web/assets/images/pages/egrid/small/17.jpg +0 -0
  203. data/lib/starter_web/assets/images/pages/egrid/small/18.jpg +0 -0
  204. data/lib/starter_web/assets/images/pages/egrid/small/19.jpg +0 -0
  205. data/lib/starter_web/assets/images/pages/egrid/small/1a.jpg +0 -0
  206. data/lib/starter_web/assets/images/pages/egrid/small/2.jpg +0 -0
  207. data/lib/starter_web/assets/images/pages/egrid/small/20.jpg +0 -0
  208. data/lib/starter_web/assets/images/pages/egrid/small/3.jpg +0 -0
  209. data/lib/starter_web/assets/images/pages/egrid/small/4.jpg +0 -0
  210. data/lib/starter_web/assets/images/pages/egrid/small/5.jpg +0 -0
  211. data/lib/starter_web/assets/images/pages/egrid/small/6.jpg +0 -0
  212. data/lib/starter_web/assets/images/pages/egrid/small/7.jpg +0 -0
  213. data/lib/starter_web/assets/images/pages/egrid/small/8.jpg +0 -0
  214. data/lib/starter_web/assets/images/pages/egrid/small/9.jpg +0 -0
  215. data/lib/starter_web/assets/images/pages/roundtrip/500_themes/themes-menu-1280x800.jpg +0 -0
  216. data/lib/starter_web/assets/images/promo/home/screenshot.jpg +0 -0
  217. data/lib/starter_web/assets/images/promo/jekyll/jekyll-generator.png +0 -0
  218. data/lib/starter_web/assets/images/promo/jekyll/jekyll-og.png +0 -0
  219. data/lib/starter_web/collections/asciidoc_skeletons/simple-post/_posts/yyyy-mm-dd-your-post-name.asciidoc +13 -10
  220. data/lib/starter_web/collections/posts/public/featured/_posts/0000-00-00-welcome-to-j1.adoc.erb +8 -3
  221. data/lib/starter_web/collections/posts/public/featured/_posts/2021-01-01-about-cookies.adoc +11 -6
  222. data/lib/starter_web/collections/posts/public/featured/_posts/2021-02-01-site-generators.adoc +13 -10
  223. data/lib/starter_web/collections/posts/public/featured/_posts/2022-02-01-about-j1.adoc +12 -9
  224. data/lib/starter_web/collections/posts/public/featured/_posts/_includes/attributes.asciidoc +2 -2
  225. data/lib/starter_web/collections/posts/public/series/_posts/2020-01-01-post-wiki-series.adoc +13 -5
  226. data/lib/starter_web/collections/posts/public/series/_posts/2020-01-02-post-wiki-series.adoc +13 -6
  227. data/lib/starter_web/collections/posts/public/series/_posts/2020-01-03-post-wiki-series.adoc +13 -6
  228. data/lib/starter_web/index.html +85 -60
  229. data/lib/starter_web/package.json +1 -1
  230. data/lib/starter_web/pages/public/about/features.adoc +15 -7
  231. data/lib/starter_web/pages/public/about/reporting_issues.adoc +13 -5
  232. data/lib/starter_web/pages/public/about/site.adoc +2 -6
  233. data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/000_intro.adoc +14 -7
  234. data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/100_converter.adoc +15 -7
  235. data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/200_themes.adoc +14 -6
  236. data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/_includes/documents/100_converter/111_about_the_converter.asciidoc +15 -10
  237. data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/documentation.adoc +9 -8
  238. data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/multi.adoc +9 -8
  239. data/lib/starter_web/pages/public/asciidoc_skeletons/simple-document/simple.adoc +9 -8
  240. data/lib/starter_web/pages/public/blog/navigator/{archive.html → archive/allview.html} +53 -26
  241. data/lib/starter_web/pages/public/blog/navigator/archive/categoryview.html +45 -20
  242. data/lib/starter_web/pages/public/blog/navigator/archive/dateview.html +49 -19
  243. data/lib/starter_web/pages/public/blog/navigator/archive/tagview.html +57 -53
  244. data/lib/starter_web/pages/public/blog/navigator/index.html +212 -35
  245. data/lib/starter_web/pages/public/features/general.adoc +12 -30
  246. data/lib/starter_web/pages/public/features/template.adoc +9 -33
  247. data/lib/starter_web/pages/public/learn/quickstart.adoc +10 -8
  248. data/lib/starter_web/pages/public/learn/roundtrip/_includes/attributes.asciidoc +0 -7
  249. data/lib/starter_web/pages/public/learn/roundtrip/_includes/documents/410_table_bs_modal_examples.asciidoc +2 -2
  250. data/lib/starter_web/pages/public/learn/roundtrip/_includes/documents/themes_bootstrap.asciidoc +51 -0
  251. data/lib/starter_web/pages/public/learn/roundtrip/_includes/documents/themes_rouge.asciidoc +110 -0
  252. data/lib/starter_web/pages/public/learn/roundtrip/asciidoc_extensions.adoc +11 -9
  253. data/lib/starter_web/pages/public/learn/roundtrip/bootstrap_themes.adoc +80 -0
  254. data/lib/starter_web/pages/public/learn/roundtrip/icon_fonts.adoc +9 -7
  255. data/lib/starter_web/pages/public/learn/roundtrip/{quicksearch.adoc → lunr_search.adoc} +23 -18
  256. data/lib/starter_web/pages/public/learn/roundtrip/{bs_modals_extentions.adoc → modal_extentions.adoc} +23 -24
  257. data/lib/starter_web/pages/public/learn/roundtrip/present_images.adoc +12 -11
  258. data/lib/starter_web/pages/public/learn/roundtrip/present_videos.adoc +14 -10
  259. data/lib/starter_web/pages/public/learn/roundtrip/{responsive_tables_extensions.adoc → responsive_tables.adoc} +16 -13
  260. data/lib/starter_web/pages/public/learn/roundtrip/{typography.adoc → template_typography.adoc} +8 -7
  261. data/lib/starter_web/pages/public/learn/where_to_go.adoc +12 -29
  262. data/lib/starter_web/pages/public/legal/de/100_copyright.adoc +1 -1
  263. data/lib/starter_web/pages/public/legal/de/100_impress.adoc +1 -1
  264. data/lib/starter_web/pages/public/legal/de/300_privacy.adoc +1 -1
  265. data/lib/starter_web/pages/public/legal/de/400_comment_policy.adoc +3 -1
  266. data/lib/starter_web/pages/public/legal/en/100_copyright.adoc +7 -5
  267. data/lib/starter_web/pages/public/legal/en/200_impress.adoc +7 -5
  268. data/lib/starter_web/pages/public/legal/en/300_privacy.adoc +7 -5
  269. data/lib/starter_web/pages/public/legal/en/400_comment_policy.adoc +9 -5
  270. data/lib/starter_web/pages/public/panels/intro_panel/panel.adoc +11 -10
  271. data/lib/starter_web/pages/public/plans/plans.adoc +8 -5
  272. data/lib/starter_web/pages/public/previewer/preview_bootstrap_theme.adoc +15 -38
  273. data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
  274. data/lib/starter_web/utilsrv/package.json +1 -1
  275. metadata +170 -128
  276. data/_includes/themes/j1/blocks/footer/generator.html +0 -151
  277. data/_includes/themes/j1/layouts/content_generator_app.html +0 -32
  278. data/_includes/themes/j1/layouts/content_generator_article_navigator.html +0 -176
  279. data/_includes/themes/j1/layouts/content_generator_blog_archive.html +0 -251
  280. data/_layouts/app.html +0 -65
  281. data/_layouts/article_navigator.html +0 -66
  282. data/_layouts/blog_archive.html +0 -64
  283. data/assets/data/article_navigator/index.html +0 -51
  284. data/lib/starter_web/_data/layouts/app.yml +0 -172
  285. data/lib/starter_web/_data/layouts/article_navigator.yml +0 -173
  286. data/lib/starter_web/_data/layouts/blog_archive.yml +0 -191
  287. data/lib/starter_web/_includes/custom/static/custom_teaser.html +0 -64
  288. data/lib/starter_web/assets/images/banner/scalable/readme +0 -0
  289. data/lib/starter_web/assets/images/collections/blog/featured/dynamic-web-access.jpg +0 -0
  290. data/lib/starter_web/assets/images/collections/blog/featured/jamstack-generators-2.jpg +0 -0
  291. data/lib/starter_web/assets/images/collections/blog/featured/markus-spiske-2.jpg +0 -0
  292. data/lib/starter_web/assets/images/collections/blog/featured/static-web-access.jpg +0 -0
  293. data/lib/starter_web/assets/images/collections/blog/featured/welcome-to-j1-template.jpg +0 -0
  294. data/lib/starter_web/assets/images/collections/blog/featured/what-is-a-baseurl.jpg +0 -0
  295. data/lib/starter_web/assets/images/collections/blog/series/j1_using_docker/j1_docker_banner.1280x500.png +0 -0
  296. data/lib/starter_web/assets/images/collections/blog/series/j1_using_docker/kinematic_alpha.1280x600.png +0 -0
  297. data/lib/starter_web/assets/images/collections/blog/series/j1_using_docker/kinematic_j1.1280x300.png +0 -0
  298. data/lib/starter_web/assets/images/collections/blog/series/j1_using_docker/windows_docker_banner.1280x500.png +0 -0
  299. data/lib/starter_web/assets/images/modules/attics/1920x1280/moritz-kindler.jpg +0 -0
  300. data/lib/starter_web/assets/videos/gallery/dailymotion/meditation.jpg +0 -0
  301. data/lib/starter_web/assets/videos/gallery/dailymotion/pilates.jpg +0 -0
  302. data/lib/starter_web/assets/videos/gallery/html5/video1.mp4 +0 -0
  303. data/lib/starter_web/assets/videos/gallery/html5/video2.mp4 +0 -0
  304. data/lib/starter_web/assets/videos/gallery/kick-it-old-school-poster.jpg +0 -0
  305. data/lib/starter_web/assets/videos/gallery/nye-party-shop-poster.jpg +0 -0
  306. data/lib/starter_web/assets/videos/gallery/stay-colorful-poster.jpg +0 -0
  307. data/lib/starter_web/assets/videos/gallery/video1-poster.jpg +0 -0
  308. data/lib/starter_web/assets/videos/gallery/video1-thumb.jpg +0 -0
  309. data/lib/starter_web/assets/videos/gallery/video2-poster.jpg +0 -0
  310. data/lib/starter_web/assets/videos/gallery/video2-thumb.jpg +0 -0
  311. data/lib/starter_web/assets/videos/gallery/video_adele-poster.jpg +0 -0
  312. data/lib/starter_web/assets/videos/gallery/video_gaga-poster.jpg +0 -0
  313. data/lib/starter_web/assets/videos/gallery/video_gwen-poster.jpg +0 -0
  314. data/lib/starter_web/assets/videos/gallery/video_michelle-poster.jpg +0 -0
  315. data/lib/starter_web/assets/videos/gallery/vk/hai.jpg +0 -0
  316. data/lib/starter_web/assets/videos/gallery/vk/otter.jpg +0 -0
  317. data/lib/starter_web/assets/videos/gallery/voice_kids_de_2021/battle.jpg +0 -0
  318. data/lib/starter_web/assets/videos/gallery/voice_kids_de_2021/ben.jpg +0 -0
  319. data/lib/starter_web/assets/videos/gallery/voice_kids_de_2021/constance.jpg +0 -0
  320. data/lib/starter_web/assets/videos/gallery/voice_kids_de_2021/elisa.jpg +0 -0
  321. data/lib/starter_web/assets/videos/headers/present_videos/still/underground-broadway.jpg +0 -0
  322. data/lib/starter_web/assets/videos/headers/present_videos/underground-broadway.mp4 +0 -0
  323. data/lib/starter_web/assets/videos/tiktok/einhorn.jpg +0 -0
  324. data/lib/starter_web/assets/videos/tiktok/waluschka.jpg +0 -0
  325. data/lib/starter_web/pages/public/jupyter/examples/distributed/j1-circular-times-table.adoc +0 -142
  326. data/lib/starter_web/pages/public/jupyter/examples/distributed/j1-common-used-widgets.adoc +0 -232
  327. data/lib/starter_web/pages/public/jupyter/examples/distributed/j1-odes-in-python.adoc +0 -115
  328. data/lib/starter_web/pages/public/jupyter/examples/localized/j1_climate-change-forecast.adoc +0 -109
  329. data/lib/starter_web/pages/public/jupyter/notebooks/j1/j1_circular_times_table.ipynb +0 -12382
  330. data/lib/starter_web/pages/public/jupyter/notebooks/j1/j1_climate_change_forecast.ipynb +0 -1058
  331. data/lib/starter_web/pages/public/jupyter/notebooks/j1/j1_docs_example_dynamic.ipynb +0 -14478
  332. data/lib/starter_web/pages/public/jupyter/notebooks/j1/j1_interactive_widgets.ipynb +0 -442
  333. data/lib/starter_web/pages/public/jupyter/notebooks/j1/j1_nbi_widgets.ipynb +0 -523
  334. data/lib/starter_web/pages/public/jupyter/notebooks/j1/j1_nbi_widgets_bar_chart.ipynb +0 -89
  335. data/lib/starter_web/pages/public/jupyter/notebooks/j1/j1_nbi_widgets_hist_chart.ipynb +0 -87
  336. data/lib/starter_web/pages/public/jupyter/notebooks/j1/j1_nbi_widgets_line_chart.ipynb +0 -90
  337. data/lib/starter_web/pages/public/jupyter/notebooks/j1/j1_nbi_widgets_question_multiple_choice.ipynb +0 -64
  338. data/lib/starter_web/pages/public/jupyter/notebooks/j1/j1_nbi_widgets_question_short_answer.ipynb +0 -122
  339. data/lib/starter_web/pages/public/jupyter/notebooks/j1/j1_nbi_widgets_scatter_chart.ipynb +0 -89
  340. data/lib/starter_web/pages/public/jupyter/notebooks/j1/j1_nbi_widgets_scatter_drag_chart.ipynb +0 -87
  341. data/lib/starter_web/pages/public/jupyter/notebooks/j1/j1_odes_in_python.ipynb +0 -15227
  342. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_circular_times_table.html +0 -747
  343. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_climate_change_forecast.html +0 -1250
  344. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_docs_example_dynamic.html +0 -186
  345. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_interactive_widgets.html +0 -512
  346. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_nbi_widgets.html +0 -629
  347. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_nbi_widgets_bar_chart.html +0 -95
  348. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_nbi_widgets_hist_chart.html +0 -93
  349. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_nbi_widgets_line_chart.html +0 -96
  350. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_nbi_widgets_question_multiple_choice.html +0 -70
  351. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_nbi_widgets_question_short_answer.html +0 -156
  352. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_nbi_widgets_scatter_chart.html +0 -95
  353. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_nbi_widgets_scatter_drag_chart.html +0 -93
  354. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_odes_in_python.html +0 -955
  355. data/lib/starter_web/pages/public/jupyter/where_to_go.adoc +0 -232
  356. data/lib/starter_web/pages/public/learn/roundtrip/_includes/google-ad.js +0 -130
  357. data/lib/starter_web/pages/public/learn/roundtrip/themes.adoc +0 -253
  358. data/lib/starter_web/pages/public/se/se-fake.adoc +0 -48
@@ -1,512 +0,0 @@
1
- <div class="cell text_cell">
2
- <button class="js-nbinteract-widget">
3
- Loading widgets...
4
- </button>
5
- </div>
6
-
7
-
8
-
9
-
10
-
11
-
12
- <div class="
13
- cell border-box-sizing code_cell rendered">
14
- <div class="input">
15
-
16
- <div class="inner_cell">
17
- <div class="input_area">
18
- <div class=" highlight hl-ipython3"><pre><span></span><span class="kn">import</span> <span class="nn">matplotlib.pyplot</span> <span class="k">as</span> <span class="nn">plt</span>
19
- <span class="kn">import</span> <span class="nn">matplotlib.gridspec</span> <span class="k">as</span> <span class="nn">gridspec</span>
20
- <span class="kn">import</span> <span class="nn">ipywidgets</span> <span class="k">as</span> <span class="nn">widgets</span>
21
- <span class="kn">from</span> <span class="nn">ipywidgets</span> <span class="kn">import</span> <span class="n">interact</span><span class="p">,</span> <span class="n">Layout</span><span class="p">,</span> <span class="n">IntSlider</span><span class="p">,</span> <span class="n">FloatSlider</span>
22
- <span class="kn">import</span> <span class="nn">numpy</span> <span class="k">as</span> <span class="nn">np</span>
23
- <span class="kn">from</span> <span class="nn">numpy</span> <span class="kn">import</span> <span class="n">arange</span><span class="p">,</span><span class="n">sin</span><span class="p">,</span><span class="n">pi</span>
24
- </pre></div>
25
-
26
- </div>
27
- </div>
28
- </div>
29
-
30
- </div>
31
- <div class="cell border-box-sizing text_cell rendered"><div class="inner_cell">
32
- <div class="text_cell_render border-box-sizing rendered_html">
33
- <h3 id="IntSlider-for-interactive-calculation">IntSlider for interactive calculation<a class="anchor-link" href="#IntSlider-for-interactive-calculation">&#182;</a></h3>
34
- </div>
35
- </div>
36
- </div>
37
-
38
-
39
-
40
- <div class="
41
- cell border-box-sizing code_cell rendered">
42
- <div class="input">
43
-
44
- <div class="inner_cell">
45
- <div class="input_area">
46
- <div class=" highlight hl-ipython3"><pre><span></span><span class="k">def</span> <span class="nf">printf</span><span class="p">(</span><span class="nb">str</span><span class="p">,</span> <span class="o">*</span><span class="n">args</span><span class="p">):</span>
47
- <span class="nb">print</span><span class="p">(</span><span class="nb">str</span> <span class="o">%</span> <span class="n">args</span><span class="p">,</span> <span class="n">end</span><span class="o">=</span><span class="s1">&#39;&#39;</span><span class="p">)</span>
48
-
49
- <span class="c1"># Define the square function</span>
50
- <span class="c1">#</span>
51
- <span class="k">def</span> <span class="nf">square</span><span class="p">(</span><span class="n">x</span><span class="p">):</span>
52
- <span class="n">result</span> <span class="o">=</span> <span class="n">x</span> <span class="o">*</span> <span class="n">x</span>
53
-
54
- <span class="c1"># print short notice above the result value</span>
55
- <span class="nb">print</span><span class="p">(</span><span class="sa">f</span><span class="s1">&#39;Result of square(</span><span class="si">{</span><span class="n">x</span><span class="si">}</span><span class="s1">) is:&#39;</span><span class="p">,</span> <span class="n">end</span><span class="o">=</span><span class="s1">&#39;&#39;</span><span class="p">)</span>
56
-
57
- <span class="k">return</span> <span class="n">result</span>
58
-
59
- <span class="c1"># Simple interact widget from ipywidgets</span>
60
- <span class="c1">#</span>
61
- <span class="n">interact</span> <span class="o">=</span> <span class="n">interact</span><span class="p">(</span>
62
- <span class="n">square</span><span class="p">,</span>
63
- <span class="n">x</span><span class="o">=</span><span class="n">IntSlider</span><span class="p">(</span>
64
- <span class="n">value</span><span class="o">=</span><span class="mi">5</span><span class="p">,</span>
65
- <span class="nb">min</span><span class="o">=</span><span class="mi">0</span><span class="p">,</span>
66
- <span class="nb">max</span><span class="o">=</span><span class="mi">10</span><span class="p">,</span>
67
- <span class="n">step</span><span class="o">=</span><span class="mi">1</span><span class="p">,</span>
68
- <span class="n">description</span><span class="o">=</span><span class="s1">&#39;Slider value:&#39;</span><span class="p">,</span>
69
- <span class="n">layout</span><span class="o">=</span><span class="n">Layout</span><span class="p">(</span><span class="n">width</span><span class="o">=</span><span class="s1">&#39;99%&#39;</span><span class="p">)</span>
70
- <span class="p">)</span>
71
- <span class="p">);</span>
72
-
73
- <span class="c1"># the semicolon &#39;;&#39; suppress the output</span>
74
- <span class="c1"># of the code execution</span>
75
- <span class="c1">#</span>
76
- <span class="n">interact</span><span class="p">;</span>
77
- </pre></div>
78
-
79
- </div>
80
- </div>
81
- </div>
82
-
83
- <div class="output_wrapper">
84
- <div class="output">
85
-
86
-
87
- <div class="output_area">
88
-
89
-
90
-
91
-
92
-
93
- <div class="output_subarea output_widget_view ">
94
- <button class="js-nbinteract-widget">
95
- Loading widgets...
96
- </button>
97
- </div>
98
-
99
- </div>
100
-
101
- </div>
102
- </div>
103
-
104
- </div>
105
- <div class="cell border-box-sizing text_cell rendered"><div class="inner_cell">
106
- <div class="text_cell_render border-box-sizing rendered_html">
107
- <h3 id="FloatSlider-for-interactive-plotting">FloatSlider for interactive plotting<a class="anchor-link" href="#FloatSlider-for-interactive-plotting">&#182;</a></h3>
108
- </div>
109
- </div>
110
- </div>
111
-
112
-
113
-
114
- <div class="
115
- cell border-box-sizing code_cell rendered">
116
- <div class="input">
117
-
118
- <div class="inner_cell">
119
- <div class="input_area">
120
- <div class=" highlight hl-ipython3"><pre><span></span><span class="c1"># Define the plot function </span>
121
- <span class="c1">#</span>
122
- <span class="k">def</span> <span class="nf">myplot</span><span class="p">(</span><span class="n">xv</span><span class="p">):</span>
123
- <span class="c1"># calculate x as evenly spaced values within a interval 0 .. xv</span>
124
- <span class="n">x</span> <span class="o">=</span> <span class="n">arange</span><span class="p">(</span><span class="mi">0</span><span class="p">,</span> <span class="n">xv</span><span class="p">,</span> <span class="mf">0.01</span><span class="p">)</span>
125
- <span class="c1"># the plot function</span>
126
- <span class="n">y</span> <span class="o">=</span> <span class="n">sin</span><span class="p">(</span><span class="n">pi</span><span class="o">*</span><span class="n">x</span><span class="p">)</span>
127
-
128
- <span class="c1"># NOTE: Matplotlib doesn&#39;t work with pixels directly, but rather</span>
129
- <span class="c1"># physical sizes (inch) and DPI. To use pixels for the figures</span>
130
- <span class="c1"># figsize, the DPI of the monitor must be used for re-calculation</span>
131
- <span class="c1">#</span>
132
- <span class="c1"># See: https://www.infobyip.com/detectmonitordpi.php</span>
133
-
134
- <span class="c1"># DPI of common monitors</span>
135
- <span class="n">my_dpi</span><span class="o">=</span><span class="mi">96</span>
136
-
137
- <span class="c1"># figsize: width|height recalculated from inch to pixels</span>
138
- <span class="n">plt</span><span class="o">.</span><span class="n">figure</span><span class="p">(</span><span class="n">figsize</span><span class="o">=</span><span class="p">(</span><span class="mi">800</span><span class="o">/</span><span class="n">my_dpi</span><span class="p">,</span> <span class="mi">400</span><span class="o">/</span><span class="n">my_dpi</span><span class="p">),</span> <span class="n">dpi</span><span class="o">=</span><span class="n">my_dpi</span><span class="p">)</span>
139
-
140
- <span class="c1"># set the grid lines (light-gray)</span>
141
- <span class="n">plt</span><span class="o">.</span><span class="n">grid</span><span class="p">(</span><span class="n">axis</span><span class="o">=</span><span class="s1">&#39;x&#39;</span><span class="p">,</span> <span class="n">color</span><span class="o">=</span><span class="s1">&#39;#E0E0E0&#39;</span><span class="p">,</span> <span class="n">linestyle</span><span class="o">=</span><span class="s1">&#39;--&#39;</span><span class="p">,</span> <span class="n">linewidth</span><span class="o">=</span><span class="mi">2</span><span class="p">),</span>
142
- <span class="n">plt</span><span class="o">.</span><span class="n">grid</span><span class="p">(</span><span class="n">axis</span><span class="o">=</span><span class="s1">&#39;y&#39;</span><span class="p">,</span> <span class="n">color</span><span class="o">=</span><span class="s1">&#39;#E0E0E0&#39;</span><span class="p">,</span> <span class="n">linestyle</span><span class="o">=</span><span class="s1">&#39;-&#39;</span><span class="p">,</span> <span class="n">linewidth</span><span class="o">=</span><span class="mi">2</span><span class="p">),</span>
143
-
144
- <span class="c1"># set the axis labels</span>
145
- <span class="n">plt</span><span class="o">.</span><span class="n">xlabel</span><span class="p">(</span><span class="s1">&#39;x-values&#39;</span><span class="p">),</span>
146
- <span class="n">plt</span><span class="o">.</span><span class="n">ylabel</span><span class="p">(</span><span class="s1">&#39;y-values&#39;</span><span class="p">),</span>
147
-
148
- <span class="c1"># set the plot title</span>
149
- <span class="n">plt</span><span class="o">.</span><span class="n">title</span><span class="p">(</span><span class="s1">&#39;Simple plot function based on sin(x)&#39;</span><span class="p">),</span>
150
-
151
- <span class="c1"># define the plot</span>
152
- <span class="n">plt</span><span class="o">.</span><span class="n">plot</span><span class="p">(</span><span class="n">x</span><span class="p">,</span> <span class="n">y</span><span class="p">)</span>
153
-
154
-
155
- <span class="c1"># Create an interactive widget for the plot using interact</span>
156
- <span class="c1">#</span>
157
- <span class="n">interact</span> <span class="o">=</span> <span class="n">widgets</span><span class="o">.</span><span class="n">interact</span><span class="p">(</span>
158
- <span class="n">myplot</span><span class="p">,</span>
159
- <span class="n">xv</span> <span class="o">=</span> <span class="n">widgets</span><span class="o">.</span><span class="n">FloatSlider</span><span class="p">(</span>
160
- <span class="n">value</span><span class="o">=</span><span class="n">pi</span><span class="p">,</span>
161
- <span class="nb">min</span><span class="o">=</span><span class="p">(</span><span class="n">pi</span><span class="p">),</span>
162
- <span class="nb">max</span><span class="o">=</span><span class="p">(</span><span class="mi">4</span><span class="o">*</span><span class="n">pi</span><span class="p">),</span>
163
- <span class="n">step</span><span class="o">=</span><span class="mf">0.01</span><span class="p">,</span>
164
- <span class="n">description</span><span class="o">=</span><span class="s1">&#39;Value (x):&#39;</span><span class="p">,</span>
165
- <span class="n">layout</span><span class="o">=</span><span class="n">Layout</span><span class="p">(</span><span class="n">width</span><span class="o">=</span><span class="s1">&#39;99%&#39;</span><span class="p">)</span>
166
- <span class="p">)</span>
167
- <span class="p">)</span>
168
-
169
- <span class="c1"># the semicolon &#39;;&#39; suppress the output</span>
170
- <span class="c1"># of the code execution</span>
171
- <span class="c1">#</span>
172
- <span class="n">interact</span><span class="p">;</span>
173
- </pre></div>
174
-
175
- </div>
176
- </div>
177
- </div>
178
-
179
- <div class="output_wrapper">
180
- <div class="output">
181
-
182
-
183
- <div class="output_area">
184
-
185
-
186
-
187
-
188
-
189
- <div class="output_subarea output_widget_view ">
190
- <button class="js-nbinteract-widget">
191
- Loading widgets...
192
- </button>
193
- </div>
194
-
195
- </div>
196
-
197
- </div>
198
- </div>
199
-
200
- </div>
201
- <div class="cell border-box-sizing text_cell rendered"><div class="inner_cell">
202
- <div class="text_cell_render border-box-sizing rendered_html">
203
- <h3 id="Select-box">Select box<a class="anchor-link" href="#Select-box">&#182;</a></h3>
204
- </div>
205
- </div>
206
- </div>
207
-
208
-
209
-
210
- <div class="
211
- cell border-box-sizing code_cell rendered">
212
- <div class="input">
213
-
214
- <div class="inner_cell">
215
- <div class="input_area">
216
- <div class=" highlight hl-ipython3"><pre><span></span><span class="k">def</span> <span class="nf">say_my_name</span><span class="p">(</span><span class="n">name</span><span class="p">):</span>
217
- <span class="sd">&quot;&quot;&quot;</span>
218
- <span class="sd"> Print the current widget value in short sentence</span>
219
- <span class="sd"> &quot;&quot;&quot;</span>
220
- <span class="nb">print</span><span class="p">(</span><span class="sa">f</span><span class="s1">&#39;My name is </span><span class="si">{</span><span class="n">name</span><span class="si">}</span><span class="s1">&#39;</span><span class="p">)</span>
221
-
222
-
223
- <span class="n">widgets</span><span class="o">.</span><span class="n">interact</span><span class="p">(</span>
224
- <span class="n">say_my_name</span><span class="p">,</span>
225
- <span class="n">name</span><span class="o">=</span><span class="p">[</span><span class="s2">&quot;Jim&quot;</span><span class="p">,</span> <span class="s2">&quot;Emma&quot;</span><span class="p">,</span> <span class="s2">&quot;Bond&quot;</span><span class="p">]</span>
226
- <span class="p">);</span>
227
- </pre></div>
228
-
229
- </div>
230
- </div>
231
- </div>
232
-
233
- <div class="output_wrapper">
234
- <div class="output">
235
-
236
-
237
- <div class="output_area">
238
-
239
-
240
-
241
-
242
-
243
- <div class="output_subarea output_widget_view ">
244
- <button class="js-nbinteract-widget">
245
- Loading widgets...
246
- </button>
247
- </div>
248
-
249
- </div>
250
-
251
- </div>
252
- </div>
253
-
254
- </div>
255
- <div class="cell border-box-sizing text_cell rendered"><div class="inner_cell">
256
- <div class="text_cell_render border-box-sizing rendered_html">
257
- <h3 id="Combined-widgets">Combined widgets<a class="anchor-link" href="#Combined-widgets">&#182;</a></h3>
258
- </div>
259
- </div>
260
- </div>
261
-
262
-
263
-
264
- <div class="
265
- cell border-box-sizing code_cell rendered">
266
- <div class="input">
267
-
268
- <div class="inner_cell">
269
- <div class="input_area">
270
- <div class=" highlight hl-ipython3"><pre><span></span><span class="k">def</span> <span class="nf">widget_says</span><span class="p">(</span><span class="n">x</span><span class="p">):</span>
271
- <span class="sd">&quot;&quot;&quot;</span>
272
- <span class="sd"> Print the current widget value in short sentence</span>
273
- <span class="sd"> &quot;&quot;&quot;</span>
274
- <span class="nb">print</span><span class="p">(</span><span class="sa">f</span><span class="s1">&#39;Widget says: </span><span class="si">{</span><span class="n">x</span><span class="si">}</span><span class="s1">&#39;</span><span class="p">)</span>
275
-
276
-
277
- <span class="n">widgets</span><span class="o">.</span><span class="n">interact</span><span class="p">(</span><span class="n">widget_says</span><span class="p">,</span> <span class="n">x</span><span class="o">=</span><span class="p">[</span><span class="mi">0</span><span class="p">,</span> <span class="mi">1</span><span class="p">,</span> <span class="mi">2</span><span class="p">,</span> <span class="mi">3</span><span class="p">])</span>
278
- <span class="n">widgets</span><span class="o">.</span><span class="n">interact</span><span class="p">(</span><span class="n">widget_says</span><span class="p">,</span> <span class="n">x</span><span class="o">=</span><span class="p">(</span><span class="mi">0</span><span class="p">,</span> <span class="mi">10</span><span class="p">,</span> <span class="mi">1</span><span class="p">))</span>
279
- <span class="n">widgets</span><span class="o">.</span><span class="n">interact</span><span class="p">(</span><span class="n">widget_says</span><span class="p">,</span> <span class="n">x</span><span class="o">=</span><span class="p">(</span><span class="mi">0</span><span class="p">,</span> <span class="mi">10</span><span class="p">,</span> <span class="mf">.5</span><span class="p">))</span>
280
-
281
- <span class="c1"># the variable underscore (&#39;_&#39;)) returns the output</span>
282
- <span class="c1"># of the latest code execution</span>
283
- <span class="c1">#</span>
284
- <span class="n">_</span> <span class="o">=</span> <span class="n">widgets</span><span class="o">.</span><span class="n">interact</span><span class="p">(</span><span class="n">widget_says</span><span class="p">,</span> <span class="n">x</span><span class="o">=</span><span class="kc">True</span><span class="p">)</span>
285
- </pre></div>
286
-
287
- </div>
288
- </div>
289
- </div>
290
-
291
- <div class="output_wrapper">
292
- <div class="output">
293
-
294
-
295
- <div class="output_area">
296
-
297
-
298
-
299
-
300
-
301
- <div class="output_subarea output_widget_view ">
302
- <button class="js-nbinteract-widget">
303
- Loading widgets...
304
- </button>
305
- </div>
306
-
307
- </div>
308
-
309
- <div class="output_area">
310
-
311
-
312
-
313
-
314
-
315
- <div class="output_subarea output_widget_view ">
316
- <button class="js-nbinteract-widget">
317
- Loading widgets...
318
- </button>
319
- </div>
320
-
321
- </div>
322
-
323
- <div class="output_area">
324
-
325
-
326
-
327
-
328
-
329
- <div class="output_subarea output_widget_view ">
330
- <button class="js-nbinteract-widget">
331
- Loading widgets...
332
- </button>
333
- </div>
334
-
335
- </div>
336
-
337
- <div class="output_area">
338
-
339
-
340
-
341
-
342
-
343
- <div class="output_subarea output_widget_view ">
344
- <button class="js-nbinteract-widget">
345
- Loading widgets...
346
- </button>
347
- </div>
348
-
349
- </div>
350
-
351
- </div>
352
- </div>
353
-
354
- </div>
355
- <div class="cell border-box-sizing text_cell rendered"><div class="inner_cell">
356
- <div class="text_cell_render border-box-sizing rendered_html">
357
- <h3 id="Complex-widget-configs">Complex widget configs<a class="anchor-link" href="#Complex-widget-configs">&#182;</a></h3>
358
- </div>
359
- </div>
360
- </div>
361
-
362
-
363
-
364
- <div class="
365
- cell border-box-sizing code_cell rendered">
366
- <div class="input">
367
-
368
- <div class="inner_cell">
369
- <div class="input_area">
370
- <div class=" highlight hl-ipython3"><pre><span></span><span class="n">int_slider</span> <span class="o">=</span> <span class="n">widgets</span><span class="o">.</span><span class="n">IntSlider</span><span class="p">(</span>
371
- <span class="n">value</span><span class="o">=</span><span class="mi">5</span><span class="p">,</span>
372
- <span class="nb">min</span><span class="o">=</span><span class="mi">0</span><span class="p">,</span> <span class="nb">max</span><span class="o">=</span><span class="mi">10</span><span class="p">,</span> <span class="n">step</span><span class="o">=</span><span class="mi">1</span><span class="p">,</span>
373
- <span class="n">description</span><span class="o">=</span><span class="s1">&#39;Slider&#39;</span><span class="p">,</span>
374
- <span class="n">layout</span><span class="o">=</span><span class="n">Layout</span><span class="p">(</span><span class="n">width</span><span class="o">=</span><span class="s1">&#39;99%&#39;</span><span class="p">)</span>
375
- <span class="p">)</span>
376
-
377
- <span class="n">int_range_slider</span> <span class="o">=</span> <span class="n">widgets</span><span class="o">.</span><span class="n">IntRangeSlider</span><span class="p">(</span>
378
- <span class="n">value</span><span class="o">=</span><span class="p">(</span><span class="mi">20</span><span class="p">,</span> <span class="mi">40</span><span class="p">),</span>
379
- <span class="nb">min</span><span class="o">=</span><span class="mi">0</span><span class="p">,</span>
380
- <span class="nb">max</span><span class="o">=</span><span class="mi">100</span><span class="p">,</span>
381
- <span class="n">step</span><span class="o">=</span><span class="mi">2</span><span class="p">,</span>
382
- <span class="n">description</span><span class="o">=</span><span class="s1">&#39;Range Slider&#39;</span><span class="p">,</span>
383
- <span class="n">layout</span><span class="o">=</span><span class="n">Layout</span><span class="p">(</span><span class="n">width</span><span class="o">=</span><span class="s1">&#39;99%&#39;</span><span class="p">)</span>
384
- <span class="p">)</span>
385
-
386
- <span class="n">dropdown</span> <span class="o">=</span> <span class="n">widgets</span><span class="o">.</span><span class="n">Dropdown</span><span class="p">(</span>
387
- <span class="n">value</span><span class="o">=</span><span class="s1">&#39;Feb&#39;</span><span class="p">,</span>
388
- <span class="n">options</span><span class="o">=</span><span class="p">[</span><span class="s1">&#39;Jan&#39;</span><span class="p">,</span> <span class="s1">&#39;Feb&#39;</span><span class="p">,</span> <span class="s1">&#39;Mar&#39;</span><span class="p">,</span> <span class="s1">&#39;Apr&#39;</span><span class="p">],</span>
389
- <span class="n">description</span><span class="o">=</span><span class="s1">&#39;Dropdown&#39;</span>
390
- <span class="p">)</span>
391
-
392
- <span class="n">radiobuttons</span> <span class="o">=</span> <span class="n">widgets</span><span class="o">.</span><span class="n">RadioButtons</span><span class="p">(</span>
393
- <span class="n">value</span><span class="o">=</span><span class="s1">&#39;Feb&#39;</span><span class="p">,</span>
394
- <span class="n">options</span><span class="o">=</span><span class="p">[</span><span class="s1">&#39;Jan&#39;</span><span class="p">,</span> <span class="s1">&#39;Feb&#39;</span><span class="p">,</span> <span class="s1">&#39;Mar&#39;</span><span class="p">,</span> <span class="s1">&#39;Apr&#39;</span><span class="p">],</span>
395
- <span class="n">description</span><span class="o">=</span><span class="s1">&#39;Radio Buttons&#39;</span>
396
- <span class="p">)</span>
397
-
398
- <span class="n">combobox</span> <span class="o">=</span> <span class="n">widgets</span><span class="o">.</span><span class="n">Combobox</span><span class="p">(</span>
399
- <span class="n">placeholder</span><span class="o">=</span><span class="s1">&#39;start typing... (e.g. L or o)&#39;</span><span class="p">,</span>
400
- <span class="n">options</span><span class="o">=</span><span class="p">[</span><span class="s1">&#39;Amsterdam&#39;</span><span class="p">,</span> <span class="s1">&#39;Athens&#39;</span><span class="p">,</span> <span class="s1">&#39;Lisbon&#39;</span><span class="p">,</span> <span class="s1">&#39;London&#39;</span><span class="p">,</span> <span class="s1">&#39;Ljubljana&#39;</span><span class="p">],</span>
401
- <span class="n">description</span><span class="o">=</span><span class="s1">&#39;Combo Box&#39;</span>
402
- <span class="p">)</span>
403
-
404
- <span class="n">checkbox</span> <span class="o">=</span> <span class="n">widgets</span><span class="o">.</span><span class="n">Checkbox</span><span class="p">(</span>
405
- <span class="n">description</span><span class="o">=</span><span class="s1">&#39;Checkbox&#39;</span><span class="p">,</span>
406
- <span class="n">value</span><span class="o">=</span><span class="kc">True</span>
407
- <span class="p">)</span>
408
-
409
-
410
- <span class="c1"># VBox container to pack all widgets vertically</span>
411
- <span class="c1">#</span>
412
- <span class="n">widgets</span><span class="o">.</span><span class="n">VBox</span><span class="p">([</span>
413
- <span class="n">int_slider</span><span class="p">,</span>
414
- <span class="n">int_range_slider</span><span class="p">,</span>
415
- <span class="n">dropdown</span><span class="p">,</span>
416
- <span class="n">radiobuttons</span><span class="p">,</span>
417
- <span class="n">checkbox</span><span class="p">,</span>
418
- <span class="n">combobox</span><span class="p">,</span>
419
- <span class="p">])</span>
420
- </pre></div>
421
-
422
- </div>
423
- </div>
424
- </div>
425
-
426
- <div class="output_wrapper">
427
- <div class="output">
428
-
429
-
430
- <div class="output_area">
431
-
432
-
433
-
434
-
435
-
436
- <div class="output_subarea output_widget_view ">
437
- <button class="js-nbinteract-widget">
438
- Loading widgets...
439
- </button>
440
- </div>
441
-
442
- </div>
443
-
444
- </div>
445
- </div>
446
-
447
- </div>
448
- <div class="cell border-box-sizing text_cell rendered"><div class="inner_cell">
449
- <div class="text_cell_render border-box-sizing rendered_html">
450
- <h3 id="Connected-sliders">Connected sliders<a class="anchor-link" href="#Connected-sliders">&#182;</a></h3>
451
- </div>
452
- </div>
453
- </div>
454
-
455
-
456
-
457
- <div class="
458
- cell border-box-sizing code_cell rendered">
459
- <div class="input">
460
-
461
- <div class="inner_cell">
462
- <div class="input_area">
463
- <div class=" highlight hl-ipython3"><pre><span></span><span class="n">sl1</span> <span class="o">=</span> <span class="n">widgets</span><span class="o">.</span><span class="n">IntSlider</span><span class="p">(</span>
464
- <span class="n">description</span><span class="o">=</span><span class="s1">&#39;Slider 1&#39;</span><span class="p">,</span>
465
- <span class="nb">min</span><span class="o">=</span><span class="mi">0</span><span class="p">,</span>
466
- <span class="nb">max</span><span class="o">=</span><span class="mi">10</span><span class="p">,</span>
467
- <span class="n">layout</span><span class="o">=</span><span class="n">Layout</span><span class="p">(</span><span class="n">width</span><span class="o">=</span><span class="s1">&#39;99%&#39;</span><span class="p">)</span>
468
- <span class="p">)</span>
469
- <span class="n">sl2</span> <span class="o">=</span> <span class="n">widgets</span><span class="o">.</span><span class="n">IntSlider</span><span class="p">(</span>
470
- <span class="n">description</span><span class="o">=</span><span class="s1">&#39;Slider 2&#39;</span><span class="p">,</span>
471
- <span class="nb">min</span><span class="o">=</span><span class="mi">0</span><span class="p">,</span>
472
- <span class="nb">max</span><span class="o">=</span><span class="mi">10</span><span class="p">,</span>
473
- <span class="n">layout</span><span class="o">=</span><span class="n">Layout</span><span class="p">(</span><span class="n">width</span><span class="o">=</span><span class="s1">&#39;99%&#39;</span><span class="p">)</span>
474
- <span class="p">)</span>
475
- <span class="n">link</span> <span class="o">=</span> <span class="n">widgets</span><span class="o">.</span><span class="n">link</span><span class="p">(</span>
476
- <span class="p">(</span><span class="n">sl1</span><span class="p">,</span> <span class="s1">&#39;value&#39;</span><span class="p">),</span>
477
- <span class="p">(</span><span class="n">sl2</span><span class="p">,</span> <span class="s1">&#39;min&#39;</span><span class="p">)</span>
478
- <span class="p">)</span>
479
-
480
- <span class="n">sl1</span><span class="o">.</span><span class="n">value</span> <span class="o">=</span> <span class="mi">5</span>
481
- <span class="n">widgets</span><span class="o">.</span><span class="n">VBox</span><span class="p">([</span>
482
- <span class="n">sl1</span><span class="p">,</span> <span class="n">sl2</span>
483
- <span class="p">])</span>
484
- </pre></div>
485
-
486
- </div>
487
- </div>
488
- </div>
489
-
490
- <div class="output_wrapper">
491
- <div class="output">
492
-
493
-
494
- <div class="output_area">
495
-
496
-
497
-
498
-
499
-
500
- <div class="output_subarea output_widget_view ">
501
- <button class="js-nbinteract-widget">
502
- Loading widgets...
503
- </button>
504
- </div>
505
-
506
- </div>
507
-
508
- </div>
509
- </div>
510
-
511
- </div>
512
-