From 46368ee37407ee5c5f7902449a39ec8921ea43ff Mon Sep 17 00:00:00 2001 From: Christian Cueni Date: Fri, 13 Jan 2023 16:19:38 +0100 Subject: [PATCH] VBV-232: WIP - Refactor content navigation --- .../LearningContentNavigation.vue | 50 +++++++++++++++++++ .../learningPath/SelfEvaluation.vue | 44 ++++------------ 2 files changed, 59 insertions(+), 35 deletions(-) create mode 100644 client/src/components/learningPath/LearningContentNavigation.vue diff --git a/client/src/components/learningPath/LearningContentNavigation.vue b/client/src/components/learningPath/LearningContentNavigation.vue new file mode 100644 index 00000000..7a082786 --- /dev/null +++ b/client/src/components/learningPath/LearningContentNavigation.vue @@ -0,0 +1,50 @@ + + + + + diff --git a/client/src/components/learningPath/SelfEvaluation.vue b/client/src/components/learningPath/SelfEvaluation.vue index ef49d6f6..3560dae6 100644 --- a/client/src/components/learningPath/SelfEvaluation.vue +++ b/client/src/components/learningPath/SelfEvaluation.vue @@ -4,6 +4,7 @@ import type { LearningUnit } from "@/types"; import * as log from "loglevel"; import LearningContentContainer from "@/components/learningPath/LearningContentContainer.vue"; +import LearningContentNavigation from "./LearningContentNavigation.vue"; import { COMPLETION_FAILURE, COMPLETION_SUCCESS } from "@/constants"; import { computed, reactive } from "vue"; @@ -52,7 +53,7 @@ function handleBack() { @next="circleStore.closeSelfEvaluation(props.learningUnit)" >
-
+

{{ currentQuestion.competence_id }} {{ currentQuestion.title }}

@@ -92,40 +93,13 @@ function handleBack() { {{ $t("selfEvaluation.progressLink") }}
- -
- -
+