j1-template 2022.2.2 → 2022.2.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (62) hide show
  1. checksums.yaml +4 -4
  2. data/_includes/themes/j1/blocks/footer/boxes/contacts_box.proc +46 -18
  3. data/_includes/themes/j1/blocks/footer/boxes/links_box.proc +1 -0
  4. data/assets/data/fab.html +2 -2
  5. data/assets/data/footer.html +2 -2
  6. data/assets/themes/j1/core/css/themes/unolight/bootstrap.css +64 -206
  7. data/assets/themes/j1/core/css/themes/unolight/bootstrap.min.css +2 -2
  8. data/assets/themes/j1/modules/nbInteract/README.md +169 -0
  9. data/assets/themes/j1/modules/nbInteract/css/nbinteract-core.css +4 -0
  10. data/assets/themes/j1/modules/nbInteract/css/nbinteract-core.min.css +4 -0
  11. data/lib/j1/version.rb +1 -1
  12. data/lib/starter_web/Gemfile +1 -1
  13. data/lib/starter_web/_config.yml +1 -1
  14. data/lib/starter_web/_data/blocks/defaults/footer.yml +25 -17
  15. data/lib/starter_web/_data/blocks/footer.yml +78 -65
  16. data/lib/starter_web/_data/resources.yml +0 -22
  17. data/lib/starter_web/_includes/attributes.asciidoc +14 -0
  18. data/lib/starter_web/_plugins/lunr_index.rb +1 -1
  19. data/lib/starter_web/assets/images/pages/nbinteract/nbi-textbook-example.jpg +0 -0
  20. data/lib/starter_web/package.json +1 -1
  21. data/lib/starter_web/pages/public/jupyter/docs/_includes/documents/j1_docs_example_static.asciidoc +232 -232
  22. data/lib/starter_web/pages/public/jupyter/docs/j1-nbinteract-doc.adoc +135 -134
  23. data/lib/starter_web/pages/public/jupyter/docs/nbi-widget-manual.adoc +2 -4
  24. data/lib/starter_web/pages/public/jupyter/notebooks/j1/.ipynb_checkpoints/j1_interactive_widgets-checkpoint.ipynb +170 -15
  25. data/lib/starter_web/pages/public/jupyter/notebooks/j1/j1_interactive_widgets.ipynb +170 -15
  26. data/lib/starter_web/pages/public/jupyter/notebooks/nbi-docs/.ipynb_checkpoints/nbi_docs_recipes_interactive_questions-checkpoint.ipynb +185 -0
  27. data/lib/starter_web/pages/public/jupyter/notebooks/nbi-docs/nbi_docs_recipes_interactive_questions.ipynb +19 -22
  28. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/binder-launches.html +670 -546
  29. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_docs_example_dynamic.html +186 -186
  30. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_interactive_widgets.html +919 -702
  31. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_ode_selected.html +186 -186
  32. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/nbi_docs_recipes_interactive_questions.html +242 -243
  33. data/lib/starter_web/pages/public/jupyter/{apis/binderhub-api.adoc → services/binderhub.adoc} +22 -25
  34. data/lib/starter_web/pages/public/jupyter/{apis/jupyterhub-api.adoc → services/jupyterhub.adoc} +2 -2
  35. data/lib/starter_web/pages/public/learn/roundtrip/300_icon_fonts.adoc +11 -0
  36. data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
  37. data/lib/starter_web/utilsrv/package.json +1 -1
  38. metadata +7 -28
  39. data/lib/starter_web/_data/_resources.yml +0 -1668
  40. data/lib/starter_web/assets/images/pages/nbinteract/binderhub-architecture.png +0 -0
  41. data/lib/starter_web/pages/public/jupyter/notebooks/j1/.ipynb_checkpoints/algebra_with_sympy-checkpoint.ipynb +0 -14488
  42. data/lib/starter_web/pages/public/jupyter/notebooks/j1/.ipynb_checkpoints/climate-change-forecast-checkpoint.ipynb +0 -916
  43. data/lib/starter_web/pages/public/jupyter/notebooks/j1/.ipynb_checkpoints/ipympl_test_plots-checkpoint.ipynb +0 -14517
  44. data/lib/starter_web/pages/public/jupyter/notebooks/j1/.ipynb_checkpoints/j1_algebra_with_sympy-checkpoint.ipynb +0 -14517
  45. data/lib/starter_web/pages/public/jupyter/notebooks/j1/.ipynb_checkpoints/j1_altair_interactive-checkpoint.ipynb +0 -16493
  46. data/lib/starter_web/pages/public/jupyter/notebooks/j1/.ipynb_checkpoints/j1_altair_visualization-checkpoint.ipynb +0 -15358
  47. data/lib/starter_web/pages/public/jupyter/notebooks/j1/.ipynb_checkpoints/j1_altair_visualization_full-checkpoint.ipynb +0 -2576
  48. data/lib/starter_web/pages/public/jupyter/notebooks/j1/.ipynb_checkpoints/j1_climate_change_forecast-checkpoint.ipynb +0 -1058
  49. data/lib/starter_web/pages/public/jupyter/notebooks/j1/.ipynb_checkpoints/j1_climate_change_forecast.ipynb +0 -1060
  50. data/lib/starter_web/pages/public/jupyter/notebooks/j1/.ipynb_checkpoints/j1_docs_example_dynamic-checkpoint.ipynb +0 -14478
  51. data/lib/starter_web/pages/public/jupyter/notebooks/j1/.ipynb_checkpoints/j1_docs_hist-checkpoint.ipynb +0 -98
  52. data/lib/starter_web/pages/public/jupyter/notebooks/j1/.ipynb_checkpoints/j1_interactive-checkpoint.ipynb +0 -560
  53. data/lib/starter_web/pages/public/jupyter/notebooks/j1/.ipynb_checkpoints/j1_ipympl_test_plots-checkpoint.ipynb +0 -14511
  54. data/lib/starter_web/pages/public/jupyter/notebooks/j1/.ipynb_checkpoints/j1_ode_selected-checkpoint.ipynb +0 -14478
  55. data/lib/starter_web/pages/public/jupyter/notebooks/j1/.ipynb_checkpoints/j1_odes_in_python-checkpoint.ipynb +0 -14818
  56. data/lib/starter_web/pages/public/jupyter/notebooks/j1/.ipynb_checkpoints/j1_pandas_creating_reading_and_writing-checkpoint.ipynb +0 -328
  57. data/lib/starter_web/pages/public/jupyter/notebooks/j1/.ipynb_checkpoints/j1_recipes_layout-checkpoint.ipynb +0 -341
  58. data/lib/starter_web/pages/public/jupyter/notebooks/j1/.ipynb_checkpoints/nbi_docs_recipes_graphing-checkpoint.ipynb +0 -98
  59. data/lib/starter_web/pages/public/jupyter/notebooks/nbi-docs/.ipynb_checkpoints/nbi_docs_examples_correlation-checkpoint.ipynb +0 -651
  60. data/lib/starter_web/pages/public/jupyter/notebooks/nbi-docs/.ipynb_checkpoints/nbi_docs_examples_variability_of_the_sample_mean-checkpoint.ipynb +0 -323
  61. data/lib/starter_web/pages/public/jupyter/notebooks/nbi-docs/.ipynb_checkpoints/nbi_docs_recipes_graphing-checkpoint.ipynb +0 -387
  62. data/lib/starter_web/pages/public/jupyter/notebooks/nbi-docs/.ipynb_checkpoints/nbi_docs_recipes_layout-checkpoint.ipynb +0 -384
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bc402781f6f473ed4685e1eb48cc258d07d48c861856f3a1f8c0f02117308e47
4
- data.tar.gz: d2ba4fe6374cca530579071f7a7320b12e3c17779f0c495fa256b6d2cd76bd99
3
+ metadata.gz: 55d0ab45d3bb29ab56fb1a6d992608c8dcd7eac68799c528705a29ffbd56b522
4
+ data.tar.gz: ca61d4f901d9dbbdc11d47e16803428d964fc846ecd94218d3bcd23705f5d1fe
5
5
  SHA512:
6
- metadata.gz: 73968677538faeb81a967b1a41928260e597977094c863b1fa82a02e0ecd2f67335f5c762f458a72c12ce48c16f1badc2a72d366d9a99c57cd5c735250c1ad67
7
- data.tar.gz: cc318ccd843702b184c5bdbe4cb89950412b91315171c0080a380c83f452284f856170bf7982121e8b79152cbff38fad2e2e156f12ceb13e557a50e04d0ae5f9
6
+ metadata.gz: d1399a6e01781a73bf57c1b9b9729941b65e2152e98e1ff59a21357e1e6e837dd552964ebbc52ca68297c922b6220fa6f75850f8908b82595fd1c8a35960e173
7
+ data.tar.gz: f6a5601d7169d09cb1b382144e483b6c886fc9174e3ed8064e956c6a51d52eff58d48117471e0d8aa1817e711653e19ed70cd630af046fe7a934e58629ba4358
@@ -12,42 +12,70 @@
12
12
  # For details, see: https://github.com/jekyll-one-org/j1-template/blob/main/LICENSE.md
13
13
  # -----------------------------------------------------------------------------
14
14
  # Test data:
15
- # liquid_var: {{ liquid_var | debug }}
15
+ # liquid_var: {{liquid_var | debug}}
16
16
  # -----------------------------------------------------------------------------
17
17
  {% endcomment %}
18
18
 
19
19
  {% comment %} Liquid procedures
20
- --------------------------------------------------------------- {% endcomment %}
20
+ -------------------------------------------------------------------------------- {% endcomment %}
21
21
 
22
22
  {% comment %} Variables
23
- --------------------------------------------------------------- {% endcomment %}
23
+ -------------------------------------------------------------------------------- {% endcomment %}
24
+ {% assign title = box.title %}
25
+ {% assign title_translation = box.title_translation %}
26
+ {% assign tagline = box.tagline %}
27
+
28
+ {% assign address_enabled = box.address.enabled %}
29
+ {% assign phone_enabled = box.phone.enabled %}
30
+ {% assign internet_enabled = box.internet.enabled %}
31
+
32
+ {% assign address_1 = box.address.address_1 %}
33
+ {% assign address_2 = box.address.address_2 %}
34
+ {% assign address_3 = box.address.address_3 %}
35
+
36
+
37
+ {% assign office_hours = box.phone.office_hours %}
38
+ {% assign phone_1 = box.phone.phone_1 %}
39
+ {% assign phone_2 = box.phone.phone_2 %}
40
+
41
+ {% assign home_text = box.internet.home_text %}
42
+ {% assign home_link = box.internet.home_link %}
43
+ {% assign mail_1 = box.internet.mail_1 %}
44
+ {% assign mail_2 = box.internet.mail_2 %}
24
45
 
25
46
 
26
47
  {% comment %} Main
27
- --------------------------------------------------------------- {% endcomment %}
48
+ -------------------------------------------------------------------------------- {% endcomment %}
28
49
  <!-- [INFO ] [j1.assets.data.footer ] [Found ContactsBox. Process ContactsBox] -->
29
50
  <div class="col-md-{{footer_box_width_md}}"> <!-- ContactsBox -->
30
- <div class="heading-footer"><h2 class="notoc notranslate">{{ title }}</h2></div>
31
- <ul class="list-unstyled contacts">
32
- {% if address %}
51
+
52
+ <h2 class="text-uppercase g-color-white-opacity-0_6 g-font-size-18 mb-0 {{title_translation}}">{{title}}</h2>
53
+ <p class="tagline mb-0"> <large>{{tagline}}</large> </p>
54
+ <div class="d-inline-block g-width-50 g-height-2 bg-primary mb-1"></div>
55
+
56
+ <ul class="list-unstyled contacts r-text-100">
57
+ {% if address_enabled %}
33
58
  <li>
34
- <i class="radius-3x fa fa-map-marker"></i>
35
- <p>{{ address_1 }}</p>
36
- <p>{{ address_2 }}</p>
59
+ <i class="fa fa-map-marker fa-2x"></i>
60
+ <p>{{address_1}}</p>
61
+ <p>{{address_2}}</p>
62
+ <p>{{address_3}}</p>
37
63
  </li>
38
64
  {% endif %}
39
- {% if phone %}
65
+ {% if phone_enabled %}
40
66
  <li>
41
- <i class="radius-3x fa fa-phone"></i>
42
- <p>{{ phone_1 }}</p>
43
- <p>{{ phone_2 }}</p>
67
+ <i class="fa fa-phone fa-2x"></i>
68
+ <p> hours: {{office_hours}}</p>
69
+ <p> office: {{phone_1}}</p>
70
+ <p> fax: {{phone_2}}</p>
44
71
  </li>
45
72
  {% endif %}
46
- {% if internet %}
73
+ {% if internet_enabled %}
47
74
  <li>
48
- <i class="radius-3x fa fa-globe"></i>
49
- <p><a href="mailto:{{ mail }}">{{ mail }}</a></p>
50
- <p><a href="#void">{{ www }}</a></p>
75
+ <i class="fa fa-globe fa-2x"></i>
76
+ <p><a class="link-news" href="{{home_link}}">{{home_text}}</a></p>
77
+ <p><a class="link-news" href="mailto:{{mail_1}}">{{mail_1}}</a></p>
78
+ <p><a class="link-news"href="mailto:{{mail_2}}">{{mail_2}}</a></p>
51
79
  </li>
52
80
  {% endif %}
53
81
  </ul>
@@ -26,6 +26,7 @@
26
26
  {% assign tagline = box.tagline %}
27
27
  {% assign links = box.links %}
28
28
 
29
+
29
30
  {% comment %} Main
30
31
  ================================================================================ {% endcomment %}
31
32
  <!-- [INFO ] [links_box.proc ] [ place links box ] -->
data/assets/data/fab.html CHANGED
@@ -116,14 +116,14 @@ exclude_from_search: true
116
116
  {% endif %}
117
117
 
118
118
  <button type="button" id="{{menu.id}}_button" class="btn btn-fab btn-{{menu.color}} {{options}}" aria-label="fab-button">
119
- <i id="fab-icon" class="mdi mdi-{{menu.icon}}"></i>
119
+ <i id="fab-icon" class="mdi mdi-{{menu.icon}} md-white"></i>
120
120
  </button>
121
121
 
122
122
  <ul id="fab_menu_items">
123
123
  {% for item in menu.items %} {% if item.enabled %}
124
124
  <li>
125
125
  <!-- a href="#void" id="{{item.id}}" class="btn-fab-floating btn-{{item.color}} raised-z{{fab_options.raised_level}}" style="display: none" -->
126
- <a href="#" id="{{item.id}}" class="btn-fab-floating btn-{{item.color}} raised-z{{fab_options.raised_level}}" style="display: none">
126
+ <a href="#" id="{{item.id}}" class="btn-fab-floating btn-{{item.color}} raised-z{{fab_options.raised_level}}" style="display: none">
127
127
  <i id="fab-icon" class="mdi mdi-{{item.icon}} mdi-{{item.icon_properties}}"></i>
128
128
  </a>
129
129
  </li>
@@ -21,7 +21,7 @@ exclude_from_search: true
21
21
  # Test data:
22
22
  # {{ variable | debug }}
23
23
  # -----------------------------------------------------------------------------
24
- {% endcomment %}
24
+ {% endcomment %}
25
25
 
26
26
  <!-- [INFO ] [j1.assets.data.footer ] [Footer generated: {{site.time}}] -->
27
27
 
@@ -162,7 +162,7 @@ exclude_from_search: true
162
162
  --------------------------------------------------------------- {% endcomment %}
163
163
  {% when 'contact' %}
164
164
  {% if box.enabled %}
165
- {% include {{contacts_box}} %}
165
+ {% include {{contacts_box}} title=box.title tagline=box.tagline %}
166
166
  {% endif %}
167
167
 
168
168
  {% comment %} Reset element variable