update
This commit is contained in:
+14
-21
@@ -120,13 +120,11 @@
|
||||
<div class="position-relative w-100">
|
||||
<p>
|
||||
Gracias a que la diálisis peritoneal es una terapia
|
||||
<strong class="text-lila-claro">portable,</strong> le permite mayores
|
||||
posibilidades de actividad laboral, vida escolar y posibilidad de viajar.
|
||||
<strong class="text-lila-claro">portable,</strong> le permite mayores posibilidades de actividad
|
||||
laboral, vida escolar y posibilidad de viajar.
|
||||
</p>
|
||||
</div>
|
||||
<div
|
||||
class="w-100 position-relative text-center animate__animated animate__zoomIn animate__delay-1s"
|
||||
>
|
||||
<div class="w-100 position-relative text-center animate__animated animate__zoomIn animate__delay-1s">
|
||||
<div
|
||||
class="btn-comenzar bg-primary d-inline-block px-3 py-2 text-center animate__animated animate__pulse animate__infinite"
|
||||
>
|
||||
@@ -158,8 +156,8 @@
|
||||
<div class="d-flex flex-row justify-content-center align-items-center gap-3">
|
||||
<img src="img/book0.png" class="img-fluid" />
|
||||
<p class="mb-0">
|
||||
<strong>Instrucciones:</strong> Haga clic en cada caja y responda
|
||||
correctamente para recolectarla y completar la entrega domiciliaria.
|
||||
<strong>Instrucciones:</strong> Haga clic en cada caja y responda correctamente para recolectarla
|
||||
y completar la entrega domiciliaria.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
@@ -254,10 +252,7 @@
|
||||
<div class="col-12 text-center mb-3">
|
||||
<h4 class="text-secondary fw-bold">Ha concluido la actividad.</h4>
|
||||
</div>
|
||||
<div
|
||||
class="col-12 text-center col-reintentar animate__animated animate__zoomIn"
|
||||
style="display: none"
|
||||
>
|
||||
<div class="col-12 text-center col-reintentar animate__animated animate__zoomIn" style="display: none">
|
||||
<div
|
||||
class="btn-reintentar rounded-3 bg-primary d-inline-block px-3 py-2 text-center animate__animated animate__pulse animate__infinite"
|
||||
onclick="CourseNav.reload()"
|
||||
@@ -324,9 +319,7 @@
|
||||
return {
|
||||
pregunta: fila.pregunta.trim(),
|
||||
opciones: shuffleArray(opciones),
|
||||
retroalimentacion_correcta: fila.retroalimentacion_correcta
|
||||
? fila.retroalimentacion_correcta.trim()
|
||||
: "",
|
||||
retroalimentacion_correcta: fila.retroalimentacion_correcta ? fila.retroalimentacion_correcta.trim() : "",
|
||||
retroalimentacion_incorrecta: fila.retroalimentacion_incorrecta
|
||||
? fila.retroalimentacion_incorrecta.trim()
|
||||
: "",
|
||||
@@ -362,9 +355,12 @@
|
||||
<div class="text-center mb-3">
|
||||
<h4 class="fw-bold text-verde-oscuro">${pregunta.pregunta}</h4>
|
||||
</div>
|
||||
<div class="content-answers">
|
||||
<div class="content-answers mb-3">
|
||||
${opcionesHTML}
|
||||
</div>
|
||||
<div class="col-12 text-center">
|
||||
<p class="small mb-0">"Estos son casos hipotéticos basados en las referencias bibliográficas."</p>
|
||||
</div>
|
||||
`,
|
||||
showConfirmButton: false,
|
||||
allowOutsideClick: false,
|
||||
@@ -418,7 +414,8 @@
|
||||
|
||||
const camion = $("#camion-transporte");
|
||||
const paqueteWidth = currentPaquete.outerWidth() + 15;
|
||||
const currentX = camion.css("transform") === "none" ? 0 : parseFloat(camion.css("transform").split(",")[4]) || 0;
|
||||
const currentX =
|
||||
camion.css("transform") === "none" ? 0 : parseFloat(camion.css("transform").split(",")[4]) || 0;
|
||||
camion.css("transform", `translateX(${currentX + paqueteWidth}px)`);
|
||||
|
||||
if (questionIndex < questions.length - 1) {
|
||||
@@ -459,11 +456,7 @@
|
||||
const paqueteId = $(this).attr("id");
|
||||
const index = parseInt(paqueteId.replace("paquete", ""));
|
||||
|
||||
if (
|
||||
!$(this).hasClass("disabled") &&
|
||||
!$(this).hasClass("completed") &&
|
||||
index < questions.length
|
||||
) {
|
||||
if (!$(this).hasClass("disabled") && !$(this).hasClass("completed") && index < questions.length) {
|
||||
$(this).removeClass("animate__pulse animate__infinite").addClass("disabled");
|
||||
CourseNav.soundClick();
|
||||
mostrarPregunta(index);
|
||||
|
||||
Reference in New Issue
Block a user