mumuki-laboratory 7.10.5 → 7.12.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +26 -7
- data/Rakefile +9 -2
- data/app/assets/javascripts/mumuki_laboratory/application/bridge.js +26 -5
- data/app/assets/javascripts/mumuki_laboratory/application/characters.js +3 -1
- data/app/assets/javascripts/mumuki_laboratory/application/gamification.js +163 -0
- data/app/assets/javascripts/mumuki_laboratory/application/kids.js +171 -333
- data/app/assets/javascripts/mumuki_laboratory/application/kindergarten.js +159 -0
- data/app/assets/javascripts/mumuki_laboratory/application/mu-modal-carrousel.js +63 -0
- data/app/assets/javascripts/mumuki_laboratory/application/number-counter.js +18 -0
- data/app/assets/javascripts/mumuki_laboratory/application/primary.js +258 -0
- data/app/assets/javascripts/mumuki_laboratory/application/profile.js +31 -16
- data/app/assets/javascripts/mumuki_laboratory/application/submission.js +1 -0
- data/app/assets/javascripts/mumuki_laboratory/application/submissions-store.js +19 -2
- data/app/assets/stylesheets/mumuki_laboratory/application/_errors.scss +1 -3
- data/app/assets/stylesheets/mumuki_laboratory/application/_modules.scss +3 -1
- data/app/assets/stylesheets/mumuki_laboratory/application/modules/_avatar.scss +21 -0
- data/app/assets/stylesheets/mumuki_laboratory/application/modules/{_chapter_show.scss → _content_show.scss} +0 -0
- data/app/assets/stylesheets/mumuki_laboratory/application/modules/_kids_results.scss +117 -0
- data/app/assets/stylesheets/mumuki_laboratory/application/modules/_kindergarten.scss +335 -12
- data/app/assets/stylesheets/mumuki_laboratory/application/modules/_medal.scss +48 -0
- data/app/assets/stylesheets/mumuki_laboratory/application/modules/_terms.scss +44 -0
- data/app/assets/stylesheets/mumuki_laboratory/application/modules/_user_profile.scss +40 -3
- data/app/controllers/application_controller.rb +15 -8
- data/app/controllers/book_discussions_controller.rb +4 -0
- data/app/controllers/users_controller.rb +8 -2
- data/app/helpers/avatar_helper.rb +11 -3
- data/app/helpers/contextualization_result_helper.rb +9 -1
- data/app/helpers/gamification_helper.rb +5 -0
- data/app/helpers/kindergarten_helper.rb +5 -0
- data/app/helpers/links_helper.rb +8 -0
- data/app/helpers/medal_helper.rb +36 -0
- data/app/helpers/open_graph_helper.rb +2 -2
- data/app/helpers/organization_list_helper.rb +1 -1
- data/app/helpers/overlapped_buttons_helper.rb +1 -1
- data/app/helpers/page_title_helper.rb +2 -2
- data/app/helpers/profile_helper.rb +9 -1
- data/app/views/book/_header.html.erb +17 -0
- data/app/views/book/show.html.erb +1 -18
- data/app/views/discussions/terms.html.erb +10 -0
- data/app/views/exercise_solutions/_contextualization_results_container.html.erb +9 -0
- data/app/views/exercise_solutions/_kids_level_up.html.erb +11 -0
- data/app/views/exercise_solutions/_kids_results.html.erb +1 -1
- data/app/views/exercise_solutions/_results_title.html.erb +5 -0
- data/app/views/exercises/show.html.erb +4 -0
- data/app/views/invitations/_invitation_form.html.erb +1 -0
- data/app/views/layouts/_discussions.html.erb +4 -0
- data/app/views/layouts/_error.html.erb +3 -6
- data/app/views/layouts/_guide.html.erb +10 -3
- data/app/views/layouts/_kindergarten.html.erb +38 -0
- data/app/views/layouts/_main.html.erb +3 -1
- data/app/views/layouts/_organization_chooser.html.erb +0 -7
- data/app/views/layouts/_terms_acceptance_disclaimer.html.erb +6 -0
- data/app/views/layouts/application.html.erb +10 -3
- data/app/views/layouts/exercise_inputs/layouts/_input_kindergarten.html.erb +27 -27
- data/app/views/layouts/modals/_guide_corollary.html.erb +10 -1
- data/app/views/layouts/modals/_kids_context.html.erb +1 -1
- data/app/views/layouts/modals/_kids_results.html.erb +16 -6
- data/app/views/layouts/modals/_kindergarten_context.html.erb +30 -0
- data/app/views/layouts/modals/_kindergarten_results.html.erb +36 -0
- data/app/views/layouts/modals/_kindergarten_results_aborted.html.erb +27 -0
- data/app/views/layouts/modals/_level_up.html.erb +27 -0
- data/app/views/users/_avatar_list.html.erb +6 -2
- data/app/views/users/_edit_user_form.html.erb +9 -4
- data/app/views/users/_term.html.erb +10 -0
- data/app/views/users/_user_form.html.erb +17 -3
- data/app/views/users/terms.html.erb +18 -0
- data/config/routes.rb +2 -0
- data/lib/mumuki/laboratory.rb +1 -1
- data/lib/mumuki/laboratory/controllers/current_organization.rb +1 -1
- data/lib/mumuki/laboratory/controllers/results_rendering.rb +4 -2
- data/lib/mumuki/laboratory/locales/en.yml +21 -5
- data/lib/mumuki/laboratory/locales/es-CL.yml +10 -4
- data/lib/mumuki/laboratory/locales/es.yml +22 -6
- data/lib/mumuki/laboratory/locales/pt.yml +21 -5
- data/lib/mumuki/laboratory/version.rb +1 -1
- data/spec/capybara_helper.rb +99 -0
- data/spec/controllers/exercise_solutions_controller_spec.rb +3 -4
- data/spec/dummy/db/schema.rb +37 -1
- data/spec/dummy/public/medal/outline.svg +1089 -0
- data/spec/features/choose_organization_spec.rb +12 -30
- data/spec/features/disable_user_flow_spec.rb +3 -5
- data/spec/features/disabled_organization_flow_spec.rb +9 -14
- data/spec/features/exercise_flow_spec.rb +2 -2
- data/spec/features/guide_reset_spec.rb +1 -1
- data/spec/features/guides_flow_spec.rb +1 -1
- data/spec/features/home_private_flow_spec.rb +1 -3
- data/spec/features/home_public_flow_spec.rb +6 -12
- data/spec/features/invitations_flow_spec.rb +2 -2
- data/spec/features/login_flow_spec.rb +2 -2
- data/spec/features/not_found_private_flow_spec.rb +4 -4
- data/spec/features/not_found_public_flow_spec.rb +1 -6
- data/spec/features/profile_flow_spec.rb +1 -1
- data/spec/helpers/page_title_helper_spec.rb +3 -3
- data/spec/javascripts/editors-spec.js +23 -0
- data/spec/javascripts/gamification-spec.js +58 -0
- data/spec/javascripts/submissions-store-spec.js +139 -6
- data/spec/spec_helper.rb +2 -0
- data/spec/teaspoon_env.rb +24 -6
- metadata +137 -98
@@ -1,4 +1,13 @@
|
|
1
1
|
<div class="<%= "bs-callout bs-callout-#{icon_class_for contextualization.submission_status}" %>">
|
2
2
|
<%= render partial: 'exercise_solutions/results_title', locals: {contextualization: contextualization} %>
|
3
|
+
|
4
|
+
<% if in_gamified_context? %>
|
5
|
+
<div id="mu-exp-earned-message" class="hidden">
|
6
|
+
<span><%= t(:you_earned) %></span>
|
7
|
+
<strong><span id="mu-exp-points"></span></strong>
|
8
|
+
<span><%= t(:exp_points) %></span>
|
9
|
+
</div>
|
10
|
+
<% end %>
|
11
|
+
|
3
12
|
<%= yield %>
|
4
13
|
</div>
|
@@ -0,0 +1,11 @@
|
|
1
|
+
<div>
|
2
|
+
<h3 class="text-center">
|
3
|
+
<%= t :level_up %>
|
4
|
+
</h3>
|
5
|
+
<div class="text-center mu-level">
|
6
|
+
<i class="fa fa-star fa-fw fa-4x"></i>
|
7
|
+
<span class="mu-level-number"></span>
|
8
|
+
<p></p>
|
9
|
+
<p id="mu-solve-more-exercises"> <%= (t :solve_more_exercises_to_level_up).html_safe %></p>
|
10
|
+
</div>
|
11
|
+
</div>
|
@@ -12,7 +12,7 @@
|
|
12
12
|
<%= corollary_box @exercise %>
|
13
13
|
<% else %>
|
14
14
|
<div class="mu-kids-default-success">
|
15
|
-
<img class="capital-animation mu-kids-character-
|
15
|
+
<img class="capital-animation mu-kids-character-result"/>
|
16
16
|
<p><%= t :kids_default_success %></p>
|
17
17
|
</div>
|
18
18
|
<% end %>
|
@@ -1,3 +1,8 @@
|
|
1
1
|
<h4 class="text-<%= icon_class_for(contextualization.submission_status) %>">
|
2
2
|
<strong><%= fa_icon icon_type_for(contextualization.submission_status) %> <%= t_contextualization_status contextualization %></strong>
|
3
|
+
<% if in_gamified_context? %>
|
4
|
+
<strong><small class="text-success">
|
5
|
+
<span class="mu-experience"></span>
|
6
|
+
</small></strong>
|
7
|
+
<% end %>
|
3
8
|
</h4>
|
@@ -61,6 +61,10 @@
|
|
61
61
|
<%= render partial: 'layouts/exercise_skipped' %>
|
62
62
|
<% end %>
|
63
63
|
|
64
|
+
<% if in_gamified_context? %>
|
65
|
+
<%= render partial: 'layouts/modals/level_up' %>
|
66
|
+
<% end %>
|
67
|
+
|
64
68
|
<%= render partial: 'layouts/modals/guide_corollary', locals: {guide: @guide} %>
|
65
69
|
<%= render partial: 'layouts/modals/new_message', locals: {exercise: @exercise} if should_render_message_input?(@exercise) %>
|
66
70
|
<% end if current_user? %>
|
@@ -14,9 +14,16 @@
|
|
14
14
|
<div class="mu-inline-block-right">
|
15
15
|
<h1><%= language_icon @guide.language %></h1>
|
16
16
|
</div>
|
17
|
-
<div class="mu-inline-block-left">
|
18
|
-
<h1>
|
19
|
-
|
17
|
+
<div class="mu-inline-block-left guide-header">
|
18
|
+
<h1 class="pull-left">
|
19
|
+
<span class="pull-left">
|
20
|
+
<%= subject.name %>
|
21
|
+
</span>
|
22
|
+
<% if current_user? && should_display_medal?(@guide, Organization.current) %>
|
23
|
+
<div class="pull-left">
|
24
|
+
<%= content_medal_for(@guide, current_user) %>
|
25
|
+
</div>
|
26
|
+
<% end %>
|
20
27
|
<%= teacher_info_button @guide%>
|
21
28
|
<%= link_to_bibliotheca_guide @guide %>
|
22
29
|
</h1>
|
@@ -0,0 +1,38 @@
|
|
1
|
+
<div class="mu-kindergarten-header">
|
2
|
+
<div class="mu-kindergarten-character">
|
3
|
+
<img class="mu-kids-character-animation" alt="">
|
4
|
+
<div class="mu-kindergarten-character-speech-bubble">
|
5
|
+
<span class="mu-kindergarten-exercise-description"><%= exercise.description_task %></span>
|
6
|
+
<div class="mu-kindergarten-buttons">
|
7
|
+
<button class="mu-kindergarten-show-context" onclick="mumuki.kids.context.show()">
|
8
|
+
<img class="mu-kindergarten-button-image" src="https://mumuki.io/static/show-context.svg" alt="">
|
9
|
+
</button>
|
10
|
+
<button class="mu-kindergarten-play-description" onclick="mumuki.kids.speech.click('.mu-kindergarten-exercise-description', '<%= exercise.locale %>')">
|
11
|
+
<img class="mu-kindergarten-button-image mu-kindergarten-play" src="https://mumuki.io/static/audio-play.svg" alt="">
|
12
|
+
<img class="mu-kindergarten-button-image mu-kindergarten-stop hidden" src="https://mumuki.io/static/audio-stop.svg" alt="">
|
13
|
+
</button>
|
14
|
+
</div>
|
15
|
+
</div>
|
16
|
+
</div>
|
17
|
+
<div class="mu-kindergarten-hint">
|
18
|
+
<% if exercise.hint? %>
|
19
|
+
<button class="mu-hint-light" onclick="mumuki.kids.hint.toggle()">
|
20
|
+
<img class="mu-hint-light on" src="https://mumuki.io/static/lamparita_on.svg" alt="">
|
21
|
+
</button>
|
22
|
+
<div class="mu-kindergarten-light-speech-bubble">
|
23
|
+
<span class="mu-kindergarten-exercise-hint">
|
24
|
+
<%= exercise.hint.markdownified %>
|
25
|
+
</span>
|
26
|
+
<button class="expand-or-collapse-hint-media" onclick="mumuki.kids.hint.toggleMedia()">
|
27
|
+
<i class="fa fa-fw fa-2x fa-caret-up"></i>
|
28
|
+
</button>
|
29
|
+
</div>
|
30
|
+
<% else %>
|
31
|
+
<img class="mu-hint-light off" src="https://mumuki.io/static/lamparita_off.svg" alt="">
|
32
|
+
<% end %>
|
33
|
+
</div>
|
34
|
+
</div>
|
35
|
+
|
36
|
+
<div id="mu-kids-discussion-link-html" class="hidden">
|
37
|
+
<%= kids_read_discussions_link(exercise) %>
|
38
|
+
</div>
|
@@ -6,7 +6,9 @@
|
|
6
6
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
7
7
|
<% end %>
|
8
8
|
|
9
|
-
<meta name="description" content="<%=
|
9
|
+
<meta name="description" content="<%= Organization.current.description %>"/>
|
10
|
+
|
11
|
+
|
10
12
|
|
11
13
|
<%= open_graph_tags subject %>
|
12
14
|
<%= assets_include_tags %>
|
@@ -10,13 +10,6 @@
|
|
10
10
|
<%= render partial: 'layouts/organizations_listing' %>
|
11
11
|
</div>
|
12
12
|
</div>
|
13
|
-
<div class="modal-footer">
|
14
|
-
<div class="row">
|
15
|
-
<div class="col-md-12 pull-right">
|
16
|
-
<%= link_to t(:stay_here), Organization.central.url_for(request.path) %>
|
17
|
-
</div>
|
18
|
-
</div>
|
19
|
-
</div>
|
20
13
|
</div>
|
21
14
|
</div>
|
22
15
|
</div>
|
@@ -1,4 +1,5 @@
|
|
1
1
|
<%= content_for :navbar do %>
|
2
|
+
<%= hidden_field_tag("mu-current-exp", UserStats.exp_for(@current_user)) if in_gamified_context? %>
|
2
3
|
<div class="<%= exercise_container_type %>">
|
3
4
|
<nav class="mu-navbar">
|
4
5
|
<div class="mu-navbar-breadcrumb hidden-xs">
|
@@ -18,18 +19,23 @@
|
|
18
19
|
</div>
|
19
20
|
<div class="mu-navbar-avatar">
|
20
21
|
<% if current_logged_user? %>
|
22
|
+
<% if in_gamified_context? %>
|
23
|
+
<i class="fa fa-star fa-fw fa-2x navbar-icon mu-level-tooltip" data-toggle="tooltip" data-placement="bottom" title="<%= t(:level) %>"></i>
|
24
|
+
<span class="mu-level-number"></span>
|
25
|
+
<% end %>
|
21
26
|
<div class="dropdown">
|
22
27
|
<span>
|
23
28
|
<a class="notifications-box <%= has_notifications? ? '' : 'notifications-box-empty' %>" href=<%= "#{user_notifications_path}" %>>
|
24
|
-
<i class="fa fa-bell fa-fw fa-
|
29
|
+
<i class="fa fa-bell fa-fw fa-2x navbar-icon"></i>
|
25
30
|
<span class="badge badge-notifications"><%= notifications_count %></span>
|
26
31
|
</a>
|
27
32
|
</span>
|
28
33
|
</div>
|
29
34
|
<div class="dropdown">
|
30
|
-
<
|
35
|
+
<div id="profileDropdown" class="profile-dropdown navbar-icon" data-toggle="dropdown" aria-label="<%= t(:user) %>" role="menu" tabindex="0">
|
31
36
|
<%= profile_picture_for current_user %>
|
32
|
-
|
37
|
+
<span class="caret"></span>
|
38
|
+
</div>
|
33
39
|
<ul class="dropdown-menu dropdown-menu-right" aria-labelledby="profileDropdown">
|
34
40
|
<%= menu_bar_list_items %>
|
35
41
|
<li class="divider"></li>
|
@@ -75,3 +81,4 @@
|
|
75
81
|
<% end %>
|
76
82
|
|
77
83
|
<%= render partial: 'layouts/main' %>
|
84
|
+
|
@@ -1,40 +1,40 @@
|
|
1
1
|
<% content_for :no_container do %>
|
2
2
|
|
3
|
-
|
3
|
+
<div <%= turbolinks_enable_for exercise %>>
|
4
4
|
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
5
|
+
<div class="mu-kids-landscape-support container-fluid">
|
6
|
+
<img class="mu-kids-character-animation"/>
|
7
|
+
<h3><%= t :only_landscape_support %></h3>
|
8
|
+
</div>
|
9
9
|
|
10
|
-
|
10
|
+
<div class="mu-kids-exercise mu-kindergarten container-fluid">
|
11
11
|
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
</div>
|
12
|
+
<div class="mu-kids-exercise-description mu-kids-exercise-description-fixed">
|
13
|
+
<div class="mu-kids-character">
|
14
|
+
<%= render partial: 'layouts/kindergarten', locals: {exercise: exercise} %>
|
16
15
|
</div>
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
16
|
+
</div>
|
17
|
+
<div class="mu-kids-exercise-workspace <%= 'mu-full-workspace' if kindergarten_full_workspace? exercise %>">
|
18
|
+
<div class="mu-exercise-content mu-kids-blocks">
|
19
|
+
<%= yield :exercise_content %>
|
20
|
+
</div>
|
21
|
+
<div class="mu-kids-states mu-kids-single-state mu-multiple-scenarios">
|
22
|
+
<div class="mu-scenarios">
|
23
|
+
<div class="mu-kids-state mu-state-initial mu-kids-gbs-board-initial mu-initial-state">
|
24
|
+
<div class="mu-kids-state-image"><%= exercise.initial_state&.html_safe %></div>
|
25
|
+
</div>
|
26
|
+
<div class="mu-kids-state mu-state-final mu-final-state">
|
27
|
+
<div class="mu-kids-state-image"><%= exercise.final_state&.html_safe %></div>
|
29
28
|
</div>
|
30
|
-
<ol class="indicators"></ol>
|
31
29
|
</div>
|
30
|
+
<ol class="indicators"></ol>
|
32
31
|
</div>
|
33
32
|
</div>
|
33
|
+
</div>
|
34
34
|
|
35
|
-
|
36
|
-
|
37
|
-
|
35
|
+
<%= render partial: 'layouts/modals/kindergarten_results', locals: {exercise: exercise, assignment: @assignment} %>
|
36
|
+
<%= render partial: 'layouts/modals/kindergarten_results_aborted' %>
|
37
|
+
<%= render partial: 'layouts/modals/kindergarten_context', locals: {exercise: exercise, assignment: @assignment} %>
|
38
38
|
|
39
|
-
|
39
|
+
</div>
|
40
40
|
<% end %>
|
@@ -1,4 +1,4 @@
|
|
1
|
-
<div class="modal fade guide-corollary" id="guide-done" tabindex="-1" role="dialog" aria-hidden="true">
|
1
|
+
<div class="modal fade guide-corollary mu-kids-modal-border" id="guide-done" tabindex="-1" role="dialog" aria-hidden="true">
|
2
2
|
<div class="modal-dialog">
|
3
3
|
<div class="modal-content">
|
4
4
|
<div class="modal-header">
|
@@ -15,6 +15,15 @@
|
|
15
15
|
<%= corollary_box guide %>
|
16
16
|
</div>
|
17
17
|
</div>
|
18
|
+
<div class="row">
|
19
|
+
<div class="col-md-12 mu-last-box">
|
20
|
+
<hr>
|
21
|
+
<% if should_display_medal? @guide, Organization.current %>
|
22
|
+
<p><%= t :unlocked_medal_as_avatar %></p>
|
23
|
+
<%= corollary_medal_for guide %>
|
24
|
+
<% end %>
|
25
|
+
</div>
|
26
|
+
</div>
|
18
27
|
<div class="row">
|
19
28
|
<div class="col-md-12 text-center">
|
20
29
|
<%= next_lesson_button guide %>
|
@@ -1,4 +1,4 @@
|
|
1
|
-
<div class="modal fade mu-kids-context" id="mu-kids-context" tabindex="-1" role="dialog" aria-hidden="true">
|
1
|
+
<div class="modal fade mu-kids-context mu-kids-modal-border" id="mu-kids-context" tabindex="-1" role="dialog" aria-hidden="true">
|
2
2
|
<div class="modal-dialog">
|
3
3
|
<div class="modal-content">
|
4
4
|
<div class="modal-header">
|
@@ -1,17 +1,27 @@
|
|
1
|
-
<div class="modal fade mu-kids-results" id="kids-results" tabindex="-1" role="dialog" aria-hidden="true">
|
1
|
+
<div class="modal fade mu-kids-results mu-kids-modal-border" id="kids-results" tabindex="-1" role="dialog" aria-hidden="true">
|
2
2
|
<div class="modal-dialog">
|
3
|
-
<div class="modal-content">
|
4
|
-
<
|
3
|
+
<div class="modal-content success">
|
4
|
+
<button type="button" class="mu-kids-modal-button mu-previous hidden" onclick="mumuki.kids.resultsCarrousel.prevSlide()" aria-label="Previous">
|
5
|
+
<span aria-hidden="true">
|
6
|
+
<i class="fa fa-fw fa-arrow-left fa-3x"></i>
|
7
|
+
</span>
|
8
|
+
</button>
|
9
|
+
<button type="button" class="mu-kids-modal-button mu-next" onclick="mumuki.kids.resultsCarrousel.nextSlide()" aria-label="Next">
|
10
|
+
<span aria-hidden="true">
|
11
|
+
<i class="fa fa-fw fa-arrow-right fa-3x"></i>
|
12
|
+
</span>
|
13
|
+
</button>
|
14
|
+
<div class="modal-header text-center">
|
5
15
|
</div>
|
6
16
|
<div class="modal-body">
|
7
17
|
<div class="container-fluid">
|
8
18
|
<div class="row">
|
9
19
|
<div class="col-md-12">
|
10
|
-
<div class="
|
11
|
-
<div class="
|
20
|
+
<div class="mu-kids-results-carrousel">
|
21
|
+
<div class="active submission-results">
|
12
22
|
<% if current_user? && @assignment.solved? %>
|
13
23
|
<%= render partial: 'exercise_solutions/kids_results',
|
14
|
-
|
24
|
+
locals: {assignment: @assignment, guide_finished_by_solution: false} %>
|
15
25
|
<% end %>
|
16
26
|
</div>
|
17
27
|
</div>
|
@@ -0,0 +1,30 @@
|
|
1
|
+
<div class="modal fade mu-kids-modal-border" id="mu-kids-context" tabindex="-1" role="dialog" aria-hidden="true">
|
2
|
+
<div class="modal-dialog">
|
3
|
+
<div class="modal-content kindergarten">
|
4
|
+
<button type="button" class="mu-kids-modal-button mu-close" data-waiting="" data-dismiss="modal" aria-label="Close">
|
5
|
+
<span aria-hidden="true">
|
6
|
+
<i class="fa fa-fw fa-times fa-3x"></i>
|
7
|
+
</span>
|
8
|
+
</button>
|
9
|
+
<button type="button" class="mu-kids-modal-button mu-previous hidden" onclick="mumuki.kids.context.prevSlide()" aria-label="Previous">
|
10
|
+
<span aria-hidden="true">
|
11
|
+
<i class="fa fa-fw fa-arrow-left fa-3x"></i>
|
12
|
+
</span>
|
13
|
+
</button>
|
14
|
+
<button type="button" class="mu-kids-modal-button mu-next" onclick="mumuki.kids.context.nextSlide()" aria-label="Next">
|
15
|
+
<span aria-hidden="true">
|
16
|
+
<i class="fa fa-fw fa-arrow-right fa-3x"></i>
|
17
|
+
</span>
|
18
|
+
</button>
|
19
|
+
<div class="modal-body mu-kids-context-body">
|
20
|
+
<div class="container-fluid">
|
21
|
+
<div class="row">
|
22
|
+
<div class="col-md-12">
|
23
|
+
<%= exercise.description_context %>
|
24
|
+
</div>
|
25
|
+
</div>
|
26
|
+
</div>
|
27
|
+
</div>
|
28
|
+
</div>
|
29
|
+
</div>
|
30
|
+
</div>
|
@@ -0,0 +1,36 @@
|
|
1
|
+
<div class="modal fade mu-kids-results mu-kids-modal-border" id="kids-results" tabindex="-1" role="dialog" aria-hidden="true">
|
2
|
+
<div class="modal-dialog">
|
3
|
+
<div class="modal-content kindergarten">
|
4
|
+
<button type="button" class="mu-kids-modal-button mu-close" data-waiting="" data-dismiss="modal" aria-label="Close">
|
5
|
+
<span aria-hidden="true">
|
6
|
+
<i class="fa fa-fw fa-times fa-3x"></i>
|
7
|
+
</span>
|
8
|
+
</button>
|
9
|
+
<button type="button" class="mu-kids-modal-button mu-previous hidden" onclick="mumuki.kids.resultsCarrousel.prevSlide()" aria-label="Previous">
|
10
|
+
<span aria-hidden="true">
|
11
|
+
<i class="fa fa-fw fa-arrow-left fa-3x"></i>
|
12
|
+
</span>
|
13
|
+
</button>
|
14
|
+
<button type="button" class="mu-kids-modal-button mu-next" onclick="mumuki.kids.resultsCarrousel.nextSlide()" aria-label="Next">
|
15
|
+
<span aria-hidden="true">
|
16
|
+
<i class="fa fa-fw fa-arrow-right fa-3x"></i>
|
17
|
+
</span>
|
18
|
+
</button>
|
19
|
+
<div class="modal-header">
|
20
|
+
</div>
|
21
|
+
<div class="modal-body">
|
22
|
+
<div class="container-fluid">
|
23
|
+
<div class="row">
|
24
|
+
<div class="col-md-12">
|
25
|
+
<div class="mu-kids-results-carrousel">
|
26
|
+
<div class="active submission-results kindergarten"></div>
|
27
|
+
</div>
|
28
|
+
</div>
|
29
|
+
</div>
|
30
|
+
</div>
|
31
|
+
</div>
|
32
|
+
<div class="modal-footer">
|
33
|
+
</div>
|
34
|
+
</div>
|
35
|
+
</div>
|
36
|
+
</div>
|
@@ -0,0 +1,27 @@
|
|
1
|
+
<div class="modal fade mu-kids-results-aborted mu-kids-modal-border" id="kids-results-aborted" tabindex="-1" role="dialog" aria-hidden="true">
|
2
|
+
<div class="modal-dialog">
|
3
|
+
<div class="modal-content broken kindergarten">
|
4
|
+
<button type="button" class="mu-kids-modal-button mu-close" data-dismiss="modal" aria-label="Close" data-waiting="">
|
5
|
+
<span aria-hidden="true">
|
6
|
+
<i class="fa fa-fw fa-times fa-3x"></i>
|
7
|
+
</span>
|
8
|
+
</button>
|
9
|
+
<div class="modal-header">
|
10
|
+
<h4 class="modal-title text-broken">
|
11
|
+
<strong><%= t :kindergarten_aborted %></strong>
|
12
|
+
</h4>
|
13
|
+
</div>
|
14
|
+
<div class="modal-body">
|
15
|
+
<div class="container-fluid">
|
16
|
+
<div class="row">
|
17
|
+
<div class="col-md-12">
|
18
|
+
<div class="mu-kids-character kindergarten">
|
19
|
+
<img class="mu-kids-character-result-aborted"/>
|
20
|
+
</div>
|
21
|
+
</div>
|
22
|
+
</div>
|
23
|
+
</div>
|
24
|
+
</div>
|
25
|
+
</div>
|
26
|
+
</div>
|
27
|
+
</div>
|