j1-template 2022.5.0.rc3 → 2022.5.0.rc4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (22) hide show
  1. checksums.yaml +4 -4
  2. data/assets/data/banner.html +2 -2
  3. data/assets/themes/j1/adapter/js/masterslider.js +22 -5
  4. data/lib/j1/version.rb +1 -1
  5. data/lib/starter_web/_config.yml +3 -3
  6. data/lib/starter_web/_data/blocks/banner.yml +1 -1
  7. data/lib/starter_web/_data/modules/defaults/masterslider.yml +1 -1
  8. data/lib/starter_web/_data/modules/masterslider.yml +0 -4
  9. data/lib/starter_web/package.json +1 -1
  10. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_interactive_widgets.html +512 -512
  11. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_nbi_widgets.html +629 -629
  12. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_nbi_widgets_bar_chart.html +95 -95
  13. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_nbi_widgets_hist_chart.html +93 -93
  14. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_nbi_widgets_line_chart.html +96 -96
  15. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_nbi_widgets_question_multiple_choice.html +70 -70
  16. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_nbi_widgets_question_short_answer.html +156 -156
  17. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_nbi_widgets_scatter_chart.html +95 -95
  18. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_nbi_widgets_scatter_drag_chart.html +93 -93
  19. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_odes_in_python.html +955 -955
  20. data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
  21. data/lib/starter_web/utilsrv/package.json +1 -1
  22. metadata +2 -2
@@ -1,70 +1,70 @@
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">nbinteract</span> <span class="k">as</span> <span class="nn">nbi</span>
19
- </pre></div>
20
-
21
- </div>
22
- </div>
23
- </div>
24
-
25
- </div>
26
-
27
-
28
-
29
- <div class="
30
- cell border-box-sizing code_cell rendered">
31
- <div class="input">
32
-
33
- <div class="inner_cell">
34
- <div class="input_area">
35
- <div class=" highlight hl-ipython3"><pre><span></span><span class="n">multiple_choice</span> <span class="o">=</span> <span class="n">nbi</span><span class="o">.</span><span class="n">multiple_choice</span><span class="p">(</span>
36
- <span class="n">question</span><span class="o">=</span><span class="s2">&quot;Select all prime numbers.&quot;</span><span class="p">,</span>
37
- <span class="n">choices</span><span class="o">=</span><span class="p">[</span><span class="s1">&#39;12&#39;</span><span class="p">,</span> <span class="s1">&#39;3&#39;</span><span class="p">,</span> <span class="s1">&#39;31&#39;</span><span class="p">],</span>
38
- <span class="n">answers</span><span class="o">=</span><span class="p">[</span><span class="mi">1</span><span class="p">,</span> <span class="mi">2</span><span class="p">]</span>
39
- <span class="p">)</span>
40
-
41
- <span class="n">multiple_choice</span>
42
- </pre></div>
43
-
44
- </div>
45
- </div>
46
- </div>
47
-
48
- <div class="output_wrapper">
49
- <div class="output">
50
-
51
-
52
- <div class="output_area">
53
-
54
-
55
-
56
-
57
-
58
- <div class="output_subarea output_widget_view ">
59
- <button class="js-nbinteract-widget">
60
- Loading widgets...
61
- </button>
62
- </div>
63
-
64
- </div>
65
-
66
- </div>
67
- </div>
68
-
69
- </div>
70
-
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">nbinteract</span> <span class="k">as</span> <span class="nn">nbi</span>
19
+ </pre></div>
20
+
21
+ </div>
22
+ </div>
23
+ </div>
24
+
25
+ </div>
26
+
27
+
28
+
29
+ <div class="
30
+ cell border-box-sizing code_cell rendered">
31
+ <div class="input">
32
+
33
+ <div class="inner_cell">
34
+ <div class="input_area">
35
+ <div class=" highlight hl-ipython3"><pre><span></span><span class="n">multiple_choice</span> <span class="o">=</span> <span class="n">nbi</span><span class="o">.</span><span class="n">multiple_choice</span><span class="p">(</span>
36
+ <span class="n">question</span><span class="o">=</span><span class="s2">&quot;Select all prime numbers.&quot;</span><span class="p">,</span>
37
+ <span class="n">choices</span><span class="o">=</span><span class="p">[</span><span class="s1">&#39;12&#39;</span><span class="p">,</span> <span class="s1">&#39;3&#39;</span><span class="p">,</span> <span class="s1">&#39;31&#39;</span><span class="p">],</span>
38
+ <span class="n">answers</span><span class="o">=</span><span class="p">[</span><span class="mi">1</span><span class="p">,</span> <span class="mi">2</span><span class="p">]</span>
39
+ <span class="p">)</span>
40
+
41
+ <span class="n">multiple_choice</span>
42
+ </pre></div>
43
+
44
+ </div>
45
+ </div>
46
+ </div>
47
+
48
+ <div class="output_wrapper">
49
+ <div class="output">
50
+
51
+
52
+ <div class="output_area">
53
+
54
+
55
+
56
+
57
+
58
+ <div class="output_subarea output_widget_view ">
59
+ <button class="js-nbinteract-widget">
60
+ Loading widgets...
61
+ </button>
62
+ </div>
63
+
64
+ </div>
65
+
66
+ </div>
67
+ </div>
68
+
69
+ </div>
70
+
@@ -1,156 +1,156 @@
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">nbinteract</span> <span class="k">as</span> <span class="nn">nbi</span>
19
- </pre></div>
20
-
21
- </div>
22
- </div>
23
- </div>
24
-
25
- </div>
26
-
27
-
28
-
29
- <div class="
30
- cell border-box-sizing code_cell rendered">
31
- <div class="input">
32
-
33
- <div class="inner_cell">
34
- <div class="input_area">
35
- <div class=" highlight hl-ipython3"><pre><span></span><span class="n">short_answer</span> <span class="o">=</span> <span class="n">nbi</span><span class="o">.</span><span class="n">short_answer</span><span class="p">(</span>
36
- <span class="s1">&#39;What is 1+1?&#39;</span><span class="p">,</span>
37
- <span class="n">answers</span><span class="o">=</span><span class="s1">&#39;2&#39;</span><span class="p">,</span>
38
- <span class="n">explanation</span><span class="o">=</span><span class="s1">&#39;1+1 is 2&#39;</span>
39
- <span class="p">)</span>
40
-
41
- <span class="n">short_answer</span>
42
- </pre></div>
43
-
44
- </div>
45
- </div>
46
- </div>
47
-
48
- <div class="output_wrapper">
49
- <div class="output">
50
-
51
-
52
- <div class="output_area">
53
-
54
-
55
-
56
-
57
-
58
- <div class="output_subarea output_widget_view ">
59
- <button class="js-nbinteract-widget">
60
- Loading widgets...
61
- </button>
62
- </div>
63
-
64
- </div>
65
-
66
- </div>
67
- </div>
68
-
69
- </div>
70
-
71
-
72
-
73
- <div class="
74
- cell border-box-sizing code_cell rendered">
75
- <div class="input">
76
-
77
- <div class="inner_cell">
78
- <div class="input_area">
79
- <div class=" highlight hl-ipython3"><pre><span></span><span class="n">short_answer</span> <span class="o">=</span> <span class="n">nbi</span><span class="o">.</span><span class="n">short_answer</span><span class="p">(</span>
80
- <span class="s1">&#39;Enter the first name of a member of the Beatles:&#39;</span><span class="p">,</span>
81
- <span class="p">[</span><span class="s1">&#39;John&#39;</span><span class="p">,</span> <span class="s1">&#39;Paul&#39;</span><span class="p">,</span> <span class="s1">&#39;George&#39;</span><span class="p">,</span> <span class="s1">&#39;Ringo&#39;</span><span class="p">]</span>
82
- <span class="p">)</span>
83
-
84
- <span class="n">short_answer</span>
85
- </pre></div>
86
-
87
- </div>
88
- </div>
89
- </div>
90
-
91
- <div class="output_wrapper">
92
- <div class="output">
93
-
94
-
95
- <div class="output_area">
96
-
97
-
98
-
99
-
100
-
101
- <div class="output_subarea output_widget_view ">
102
- <button class="js-nbinteract-widget">
103
- Loading widgets...
104
- </button>
105
- </div>
106
-
107
- </div>
108
-
109
- </div>
110
- </div>
111
-
112
- </div>
113
-
114
-
115
-
116
- <div class="
117
- cell border-box-sizing code_cell rendered">
118
- <div class="input">
119
-
120
- <div class="inner_cell">
121
- <div class="input_area">
122
- <div class=" highlight hl-ipython3"><pre><span></span><span class="n">short_answer</span> <span class="o">=</span> <span class="n">nbi</span><span class="o">.</span><span class="n">short_answer</span><span class="p">(</span>
123
- <span class="s1">&#39;Enter an even number:&#39;</span><span class="p">,</span>
124
- <span class="k">lambda</span> <span class="n">x</span><span class="p">:</span> <span class="nb">int</span><span class="p">(</span><span class="n">x</span><span class="p">)</span> <span class="o">%</span> <span class="mi">2</span> <span class="o">==</span> <span class="mi">0</span>
125
- <span class="p">)</span>
126
-
127
- <span class="n">short_answer</span>
128
- </pre></div>
129
-
130
- </div>
131
- </div>
132
- </div>
133
-
134
- <div class="output_wrapper">
135
- <div class="output">
136
-
137
-
138
- <div class="output_area">
139
-
140
-
141
-
142
-
143
-
144
- <div class="output_subarea output_widget_view ">
145
- <button class="js-nbinteract-widget">
146
- Loading widgets...
147
- </button>
148
- </div>
149
-
150
- </div>
151
-
152
- </div>
153
- </div>
154
-
155
- </div>
156
-
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">nbinteract</span> <span class="k">as</span> <span class="nn">nbi</span>
19
+ </pre></div>
20
+
21
+ </div>
22
+ </div>
23
+ </div>
24
+
25
+ </div>
26
+
27
+
28
+
29
+ <div class="
30
+ cell border-box-sizing code_cell rendered">
31
+ <div class="input">
32
+
33
+ <div class="inner_cell">
34
+ <div class="input_area">
35
+ <div class=" highlight hl-ipython3"><pre><span></span><span class="n">short_answer</span> <span class="o">=</span> <span class="n">nbi</span><span class="o">.</span><span class="n">short_answer</span><span class="p">(</span>
36
+ <span class="s1">&#39;What is 1+1?&#39;</span><span class="p">,</span>
37
+ <span class="n">answers</span><span class="o">=</span><span class="s1">&#39;2&#39;</span><span class="p">,</span>
38
+ <span class="n">explanation</span><span class="o">=</span><span class="s1">&#39;1+1 is 2&#39;</span>
39
+ <span class="p">)</span>
40
+
41
+ <span class="n">short_answer</span>
42
+ </pre></div>
43
+
44
+ </div>
45
+ </div>
46
+ </div>
47
+
48
+ <div class="output_wrapper">
49
+ <div class="output">
50
+
51
+
52
+ <div class="output_area">
53
+
54
+
55
+
56
+
57
+
58
+ <div class="output_subarea output_widget_view ">
59
+ <button class="js-nbinteract-widget">
60
+ Loading widgets...
61
+ </button>
62
+ </div>
63
+
64
+ </div>
65
+
66
+ </div>
67
+ </div>
68
+
69
+ </div>
70
+
71
+
72
+
73
+ <div class="
74
+ cell border-box-sizing code_cell rendered">
75
+ <div class="input">
76
+
77
+ <div class="inner_cell">
78
+ <div class="input_area">
79
+ <div class=" highlight hl-ipython3"><pre><span></span><span class="n">short_answer</span> <span class="o">=</span> <span class="n">nbi</span><span class="o">.</span><span class="n">short_answer</span><span class="p">(</span>
80
+ <span class="s1">&#39;Enter the first name of a member of the Beatles:&#39;</span><span class="p">,</span>
81
+ <span class="p">[</span><span class="s1">&#39;John&#39;</span><span class="p">,</span> <span class="s1">&#39;Paul&#39;</span><span class="p">,</span> <span class="s1">&#39;George&#39;</span><span class="p">,</span> <span class="s1">&#39;Ringo&#39;</span><span class="p">]</span>
82
+ <span class="p">)</span>
83
+
84
+ <span class="n">short_answer</span>
85
+ </pre></div>
86
+
87
+ </div>
88
+ </div>
89
+ </div>
90
+
91
+ <div class="output_wrapper">
92
+ <div class="output">
93
+
94
+
95
+ <div class="output_area">
96
+
97
+
98
+
99
+
100
+
101
+ <div class="output_subarea output_widget_view ">
102
+ <button class="js-nbinteract-widget">
103
+ Loading widgets...
104
+ </button>
105
+ </div>
106
+
107
+ </div>
108
+
109
+ </div>
110
+ </div>
111
+
112
+ </div>
113
+
114
+
115
+
116
+ <div class="
117
+ cell border-box-sizing code_cell rendered">
118
+ <div class="input">
119
+
120
+ <div class="inner_cell">
121
+ <div class="input_area">
122
+ <div class=" highlight hl-ipython3"><pre><span></span><span class="n">short_answer</span> <span class="o">=</span> <span class="n">nbi</span><span class="o">.</span><span class="n">short_answer</span><span class="p">(</span>
123
+ <span class="s1">&#39;Enter an even number:&#39;</span><span class="p">,</span>
124
+ <span class="k">lambda</span> <span class="n">x</span><span class="p">:</span> <span class="nb">int</span><span class="p">(</span><span class="n">x</span><span class="p">)</span> <span class="o">%</span> <span class="mi">2</span> <span class="o">==</span> <span class="mi">0</span>
125
+ <span class="p">)</span>
126
+
127
+ <span class="n">short_answer</span>
128
+ </pre></div>
129
+
130
+ </div>
131
+ </div>
132
+ </div>
133
+
134
+ <div class="output_wrapper">
135
+ <div class="output">
136
+
137
+
138
+ <div class="output_area">
139
+
140
+
141
+
142
+
143
+
144
+ <div class="output_subarea output_widget_view ">
145
+ <button class="js-nbinteract-widget">
146
+ Loading widgets...
147
+ </button>
148
+ </div>
149
+
150
+ </div>
151
+
152
+ </div>
153
+ </div>
154
+
155
+ </div>
156
+