diff --git a/Actividades_Manual_Vantive.xlsx b/Actividades_Manual_Vantive.xlsx index af6077c..7d5ef91 100644 Binary files a/Actividades_Manual_Vantive.xlsx and b/Actividades_Manual_Vantive.xlsx differ diff --git a/contenido/08.html b/contenido/08.html index a6cbade..f11751c 100644 --- a/contenido/08.html +++ b/contenido/08.html @@ -175,7 +175,7 @@ $('#desarrollo').show(); }); - const imgDrop = ['img/08.0.png', 'img/08.0.png', 'img/08.0.png', 'img/08.0.png']; + const imgDrop = ['img/08.1.png', 'img/08.3.png', 'img/08.2.png', 'img/08.4.png']; let questions; let correctQuestions = 0; let maxQuestions = 4; @@ -334,9 +334,18 @@ width: "35em", didClose: () => { if ($('.drag-item:visible').length === 0) { - $('#desarrollo').hide(); - $('#cierre').show(); + const percentage = (correctCount / totalItems) * 100; + const passed = percentage >= 80; CourseNav.setSlideVisited(); + $('.wrap-course-content').addClass('fake1').removeClass('fake'); + if (passed) { + $('#desarrollo').hide(); + $('#cierre').show(); + } else { + $('.col-reintentar').show(); + $('#desarrollo').hide(); + $('#cierre').show(); + } } } }); diff --git a/contenido/09.html b/contenido/09.html index 8b6f872..c81fbe8 100644 --- a/contenido/09.html +++ b/contenido/09.html @@ -121,6 +121,10 @@ 85% { transform: translateY(6px) scale(0.99);} 100% { transform: translateY(-7px) scale(1.03);} } + + .btn-reintentar { + cursor: pointer; + }
diff --git a/contenido/10.html b/contenido/10.html index 9ec4dbf..4a3bebf 100644 --- a/contenido/10.html +++ b/contenido/10.html @@ -42,6 +42,10 @@ .btn-answer:hover { background-color: #72256b; } + + .btn-reintentar { + cursor: pointer; + }
@@ -304,8 +308,9 @@ const percentage = (correctQuestions / questions.length) * 100; const passed = percentage >= 80; + CourseNav.setSlideVisited(); + if (passed) { - CourseNav.setSlideVisited(); $('#desarrollo').hide(); $('#cierre').show(); } else { diff --git a/contenido/11.html b/contenido/11.html index bc3d87e..28a1af9 100644 --- a/contenido/11.html +++ b/contenido/11.html @@ -64,6 +64,10 @@ .piece-puzzle { transition: all 0.5s ease; } + + .btn-reintentar { + cursor: pointer; + }
@@ -338,8 +342,9 @@ const percentage = (correctQuestions / questions.length) * 100; const passed = percentage >= 80; + CourseNav.setSlideVisited(); + if (passed) { - CourseNav.setSlideVisited(); $('#desarrollo').hide(); $('#cierre').show(); } else { diff --git a/contenido/12.html b/contenido/12.html index 83f4e84..73b65f0 100644 --- a/contenido/12.html +++ b/contenido/12.html @@ -15,6 +15,14 @@ background-attachment: fixed; } + .fake2 { + background-image: url(img/bg03.jpg); + background-repeat: no-repeat; + background-position: center; + background-size: cover; + background-attachment: fixed; + } + .btn-comenzar { border-radius: 20px; border-bottom-left-radius: 0; @@ -104,6 +112,10 @@ .btn-answer:hover .letter { background-color: #925c8d; } + + .btn-reintentar { + cursor: pointer; + }
@@ -482,8 +494,11 @@ const porcentaje = (totalPuntos / (7 * 700)) * 100; const aprobado = porcentaje >= 60; + $('.wrap-course-content').addClass('fake2').removeClass('fake1'); + + CourseNav.setSlideVisited(); + if (aprobado) { - CourseNav.setSlideVisited(); $('#desarrollo').hide(); $('#cierre').show(); } else { diff --git a/contenido/13.html b/contenido/13.html new file mode 100644 index 0000000..de22d67 --- /dev/null +++ b/contenido/13.html @@ -0,0 +1,404 @@ + +
+
+
+
+
+
+
+

Manejo de medicamentos y terapia dialítica

+
+
+
+
+
+
+

Como se ha visto, la enfermedad crónica de los riñones causa signos y síntomas que en parte, son controlados mediante + la DP, sin embargo, es necesario el apoyo de medicamentos que solo su médico puede y debe prescribir.

+
+
+

Siga las recomendaciones del personal de salud.

+
+
+
+
COMENZAR ACTIVIDAD
+
+
+
+
+
+ +
+
+
+
+
+
+ + + diff --git a/contenido/14.html b/contenido/14.html new file mode 100644 index 0000000..79947d4 --- /dev/null +++ b/contenido/14.html @@ -0,0 +1,459 @@ + +
+
+
+
+
+
+
+

Entrega domiciliaria

+
+
+
+
+ +
+
+
+
+

Gracias a que la diálisis peritoneal es una terapia portable y autoadministrada permite mayores + posibilidades de actividad laboral, vida escolar y posibilidad de viajar.

+
+
+
+
COMENZAR ACTIVIDAD
+
+
+
+
+
+
+
+
+
+ + + diff --git a/contenido/15.html b/contenido/15.html new file mode 100644 index 0000000..f5a0719 --- /dev/null +++ b/contenido/15.html @@ -0,0 +1,457 @@ + +
+
+
+
+
+
+
+

Actuación ante incidencias

+
+
+
+
+
+
+ +
+
+
+
+

Ante las situaciones que se presentan a continuación, es indispensable que guarde la calma y actúe + oportunamente para recibir la atención adecuada.

+
+
+
+
COMENZAR ACTIVIDAD
+
+
+
+
+
+
+
+
+
+
+
+ + + diff --git a/contenido/16.html b/contenido/16.html index 887c005..be9f632 100644 --- a/contenido/16.html +++ b/contenido/16.html @@ -15,6 +15,14 @@ background-attachment: fixed; } + .fake2 { + background-image: url(img/bg03.jpg); + background-repeat: no-repeat; + background-position: center; + background-size: cover; + background-attachment: fixed; + } + .btn-comenzar { border-radius: 20px; border-bottom-left-radius: 0; @@ -67,7 +75,7 @@ .termometro { position: relative; display: grid; - grid-template-columns: repeat(10, 1fr); + grid-template-columns: repeat(11, 1fr); grid-template-rows: auto; gap: 0; background: #E7E7E7; @@ -83,7 +91,7 @@ height: 30px; } - .med_style:nth-child(10) { + .med_style:nth-child(11) { border-top-right-radius: 40px; border-bottom-right-radius: 40px; border-left: 0; @@ -106,7 +114,8 @@ .med_style:nth-child(6), .med_style:nth-child(7), .med_style:nth-child(8), - .med_style:nth-child(9) { + .med_style:nth-child(9), + .med_style:nth-child(10) { border-left: 0; } @@ -150,6 +159,11 @@ /* background: linear-gradient(to top, #aaff00 0%, #4e8600 100%); */ } + .med_style:nth-child(10) { + background: #7FCB00; + /* background: linear-gradient(to top, #aaff00 0%, #4e8600 100%); */ + } + .indicador-med { position: absolute; width: 60px; @@ -159,6 +173,10 @@ left: 10px; transition: left 0.5s ease; } + + .btn-reintentar { + cursor: pointer; + }
@@ -246,16 +264,17 @@ class="content-medidor p-2 d-inline-flex flex-row justify-content-center align-items-center gap-3">
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
@@ -491,10 +510,6 @@ }, didClose: () => { CourseNav.audioController.stopAudio(); - if (currentObjectBtn) { - // currentObjectBtn.addClass('completed disabled'); - checkAllCompleted(); - } }, }); } @@ -518,7 +533,7 @@ } else if (opcion.text.toLowerCase().includes('verdadero')) { icono = ''; } - + answersHtml += `
${icono}${opcion.text}
`; }); @@ -550,6 +565,8 @@ correctQuestions++; } + CourseNav.audioController.stopAllSoundsAndPlay(isCorrect ? good : bad); + Swal.fire({ target: document.getElementById('wrap-course-content'), imageUrl: isCorrect ? 'img/good.png' : 'img/bad.png', @@ -564,18 +581,22 @@ width: "35em", didOpen: () => { moveIndicator(); + if (currentObjectBtn) { + currentObjectBtn.addClass(isCorrect ? 'good' : 'bad'); + } }, didClose: () => { - // continuarJuego(); + checkAllCompleted(); } }); } function moveIndicator() { - const positions = ['left: 90px', 'left: 170px', 'left: 250px', 'left: 330px', 'left: 410px', 'left: 493px', 'left: 573px', 'left: 652px', 'left: 736px']; - if (correctQuestions <= 9) { - $('#indicador').attr('style', positions[correctQuestions - 1]); + const positions = ['left: 90px', 'left: 170px', 'left: 250px', 'left: 330px', 'left: 410px', 'left: 493px', 'left: 573px', 'left: 652px', 'left: 736px', 'left: 816px']; + if (correctQuestions > 0 && correctQuestions <= 10) { + const position = Math.min(correctQuestions - 1, 9); + $('#indicador').attr('style', positions[position]); } } @@ -588,8 +609,11 @@ const porcentaje = (correctQuestions / questions.length) * 100; const aprobado = porcentaje >= 60; + $('.wrap-course-content').addClass('fake2').removeClass('fake1'); + + CourseNav.setSlideVisited(); + if (aprobado) { - CourseNav.setSlideVisited(); $('#desarrollo').hide(); $('#cierre').show(); } else { @@ -601,4 +625,4 @@ } } }); - \ No newline at end of file + diff --git a/contenido/17.html b/contenido/17.html index 0a4018c..81bfd36 100644 --- a/contenido/17.html +++ b/contenido/17.html @@ -1,6 +1,6 @@
@@ -281,7 +285,6 @@ $('.btn-comenzar').click(function (e) { e.preventDefault(); CourseNav.soundClick(); - $('.wrap-course-content').addClass('fake1').removeClass('fake'); $('#inicio').hide(); $('#desarrollo').show(); inicializarTodasLasOpciones(); @@ -370,8 +373,8 @@ todasLasOpciones.forEach((opcion, index) => { const $option = $(` -
${opcion.text}
@@ -473,7 +476,7 @@ // Mostrar feedback después de un delay setTimeout(() => { mostrarFeedback(isCorrectForCurrentQuestion, currentQuestion); - }, 1000); + }, 250); } function mostrarFeedback(isCorrect, pregunta) { @@ -503,7 +506,7 @@ if (currentQuestionIndex >= questions.length) { setTimeout(() => { finalizarJuego(); - }, 700); + }, 500); } else { preguntasActual++; mostrarPregunta(); @@ -522,8 +525,11 @@ const porcentaje = (preguntasCorrectas / questions.length) * 100; const aprobado = porcentaje >= 60; + $('.wrap-course-content').addClass('fake1').removeClass('fake'); + + CourseNav.setSlideVisited(); + if (aprobado) { - CourseNav.setSlideVisited(); $('#desarrollo').hide(); $('#cierre').show(); } else { @@ -539,4 +545,4 @@ preguntasMax = questions.length; }); }); - \ No newline at end of file + diff --git a/contenido/18.html b/contenido/18.html index bfbf214..ec54991 100644 --- a/contenido/18.html +++ b/contenido/18.html @@ -15,6 +15,14 @@ background-attachment: fixed; } + .fake2 { + background-image: url(img/bg03.jpg); + background-repeat: no-repeat; + background-position: center; + background-size: cover; + background-attachment: fixed; + } + .btn-comenzar { border-radius: 20px; border-bottom-left-radius: 0; @@ -68,6 +76,9 @@ .btn-answer:hover .letter { background-color: #6c9d7a; } + .btn-reintentar { + cursor: pointer; + }
@@ -402,7 +413,7 @@ if (preguntasActual >= preguntasMax) { setTimeout(() => { finalizarJuego(); - }, 700); + }, 400); } else { mostrarPregunta(); } @@ -420,8 +431,11 @@ const porcentaje = (preguntasCorrectas / preguntasMax) * 100; const aprobado = porcentaje >= 60; + $('.wrap-course-content').addClass('fake2').removeClass('fake1'); + + CourseNav.setSlideVisited(); + if (aprobado) { - CourseNav.setSlideVisited(); $('#desarrollo').hide(); $('#cierre').show(); } else { @@ -437,4 +451,4 @@ questions = shuffleArray(procesarPreguntas(hojaDatos)); }); }); - \ No newline at end of file + diff --git a/img/08.1.png b/img/08.1.png new file mode 100644 index 0000000..93e232b Binary files /dev/null and b/img/08.1.png differ diff --git a/img/08.2.png b/img/08.2.png new file mode 100644 index 0000000..68608e3 Binary files /dev/null and b/img/08.2.png differ diff --git a/img/08.3.png b/img/08.3.png new file mode 100644 index 0000000..e14d990 Binary files /dev/null and b/img/08.3.png differ diff --git a/img/08.4.png b/img/08.4.png new file mode 100644 index 0000000..addd3b0 Binary files /dev/null and b/img/08.4.png differ diff --git a/img/13.0.png b/img/13.0.png new file mode 100644 index 0000000..e2695a1 Binary files /dev/null and b/img/13.0.png differ diff --git a/img/13.1.png b/img/13.1.png new file mode 100644 index 0000000..b0faeeb Binary files /dev/null and b/img/13.1.png differ diff --git a/img/13.2.png b/img/13.2.png new file mode 100644 index 0000000..8538d11 Binary files /dev/null and b/img/13.2.png differ diff --git a/img/13.3.png b/img/13.3.png new file mode 100644 index 0000000..b18089e Binary files /dev/null and b/img/13.3.png differ diff --git a/img/13.4.png b/img/13.4.png new file mode 100644 index 0000000..0e0ac0c Binary files /dev/null and b/img/13.4.png differ diff --git a/img/13.5.png b/img/13.5.png new file mode 100644 index 0000000..0e01f53 Binary files /dev/null and b/img/13.5.png differ diff --git a/img/14.0.png b/img/14.0.png new file mode 100644 index 0000000..802ee2b Binary files /dev/null and b/img/14.0.png differ diff --git a/img/14.1.png b/img/14.1.png new file mode 100644 index 0000000..41cc882 Binary files /dev/null and b/img/14.1.png differ diff --git a/img/14.10.png b/img/14.10.png new file mode 100644 index 0000000..65ea74e Binary files /dev/null and b/img/14.10.png differ diff --git a/img/14.11.png b/img/14.11.png new file mode 100644 index 0000000..fb2bf3a Binary files /dev/null and b/img/14.11.png differ diff --git a/img/14.2.png b/img/14.2.png new file mode 100644 index 0000000..fd7f612 Binary files /dev/null and b/img/14.2.png differ diff --git a/img/14.3.png b/img/14.3.png new file mode 100644 index 0000000..0864e75 Binary files /dev/null and b/img/14.3.png differ diff --git a/img/14.4.png b/img/14.4.png new file mode 100644 index 0000000..aeaa2e1 Binary files /dev/null and b/img/14.4.png differ diff --git a/img/14.5.png b/img/14.5.png new file mode 100644 index 0000000..e6a4ecb Binary files /dev/null and b/img/14.5.png differ diff --git a/img/14.6.png b/img/14.6.png new file mode 100644 index 0000000..72c6aae Binary files /dev/null and b/img/14.6.png differ diff --git a/img/14.7.png b/img/14.7.png new file mode 100644 index 0000000..23e2952 Binary files /dev/null and b/img/14.7.png differ diff --git a/img/14.8.png b/img/14.8.png new file mode 100644 index 0000000..5dec664 Binary files /dev/null and b/img/14.8.png differ diff --git a/img/14.9.png b/img/14.9.png new file mode 100644 index 0000000..6ce3e0a Binary files /dev/null and b/img/14.9.png differ diff --git a/img/15.0.png b/img/15.0.png new file mode 100644 index 0000000..c0610c4 Binary files /dev/null and b/img/15.0.png differ diff --git a/img/15.1.png b/img/15.1.png new file mode 100644 index 0000000..a8a29ad Binary files /dev/null and b/img/15.1.png differ diff --git a/img/15.2.png b/img/15.2.png new file mode 100644 index 0000000..083c943 Binary files /dev/null and b/img/15.2.png differ diff --git a/img/15.3.png b/img/15.3.png new file mode 100644 index 0000000..028ee92 Binary files /dev/null and b/img/15.3.png differ diff --git a/img/15.4.png b/img/15.4.png new file mode 100644 index 0000000..35df6f3 Binary files /dev/null and b/img/15.4.png differ diff --git a/img/15.5.png b/img/15.5.png new file mode 100644 index 0000000..5bee5b3 Binary files /dev/null and b/img/15.5.png differ diff --git a/img/15.6.png b/img/15.6.png new file mode 100644 index 0000000..af51019 Binary files /dev/null and b/img/15.6.png differ diff --git a/img/15.7.png b/img/15.7.png new file mode 100644 index 0000000..b49464b Binary files /dev/null and b/img/15.7.png differ diff --git a/img/15.8.png b/img/15.8.png new file mode 100644 index 0000000..5ec1a61 Binary files /dev/null and b/img/15.8.png differ