diff --git a/client/src/components/dashboard/AssignmentSummaryBox.vue b/client/src/components/dashboard/AssignmentSummaryBox.vue new file mode 100644 index 00000000..db7b6bb9 --- /dev/null +++ b/client/src/components/dashboard/AssignmentSummaryBox.vue @@ -0,0 +1,43 @@ + + + + + {{ $t("a.Kompetenznachweis-Elemente") }} + + + + + {{ assignmentsCompleted }} + + + + + + + + {{ Math.round(props.avgPassed) }}% + + + + + + + + diff --git a/client/src/components/dashboard/AttendanceSummaryBox.vue b/client/src/components/dashboard/AttendanceSummaryBox.vue new file mode 100644 index 00000000..10e354b4 --- /dev/null +++ b/client/src/components/dashboard/AttendanceSummaryBox.vue @@ -0,0 +1,41 @@ + + + + + {{ $t("a.Anwesenheit") }} + + + + + {{ daysCompleted }} + + + + + + + {{ avgParticipantsPresent }}% + + + + + + + diff --git a/client/src/components/dashboard/BaseBox.vue b/client/src/components/dashboard/BaseBox.vue new file mode 100644 index 00000000..57a31cec --- /dev/null +++ b/client/src/components/dashboard/BaseBox.vue @@ -0,0 +1,19 @@ + + + + + + + + + + {{ $t("a.Details anschauen") }} + + + + + diff --git a/client/src/components/dashboard/CompetenceSummaryBox.vue b/client/src/components/dashboard/CompetenceSummaryBox.vue new file mode 100644 index 00000000..c78be57e --- /dev/null +++ b/client/src/components/dashboard/CompetenceSummaryBox.vue @@ -0,0 +1,30 @@ + + + + + {{ $t("a.Selbsteinschätzungen") }} + + + + + {{ successCount }} + + + + + + + {{ failCount }}% + + + + + + diff --git a/client/src/components/dashboard/CourseStatistics.vue b/client/src/components/dashboard/CourseStatistics.vue new file mode 100644 index 00000000..a7d2279e --- /dev/null +++ b/client/src/components/dashboard/CourseStatistics.vue @@ -0,0 +1,38 @@ + + + + + + + + {{ participantCount }} + + {{ $t("a.Teilnehmer") }} + + + + {{ expertCount }} + + {{ $t("a.Trainer") }} + + + + {{ sessionCount }} + + {{ $t("a.Durchführungen") }} + + + + + {{ $t("a.Liste anzeigen") }} + + + + + diff --git a/client/src/components/dashboard/FeedbackSummaryBox.vue b/client/src/components/dashboard/FeedbackSummaryBox.vue new file mode 100644 index 00000000..9b981608 --- /dev/null +++ b/client/src/components/dashboard/FeedbackSummaryBox.vue @@ -0,0 +1,30 @@ + + + + + {{ $t("a.Feedback Teilnehmer") }} + + + + + {{ statisfactionAvg }} + + {{ statisfactionMax }} + + + + + {{ feedbackCount }} + + + + + diff --git a/client/src/pages/dashboard/StatisticPage.vue b/client/src/pages/dashboard/StatisticPage.vue index 8fe669a3..f836bb98 100644 --- a/client/src/pages/dashboard/StatisticPage.vue +++ b/client/src/pages/dashboard/StatisticPage.vue @@ -1,63 +1,65 @@ - - - - 352 - Teilnehmer - - - 25 - Trainer - - - 18 - Durchführungen - - - - {{ $t("a.Liste anzeigen") }} - - + - - {{ $t("a.Anwesenheit") }} - - - - - {{ statistics.attendance_day_presences.summary.days_completed }} - - - - - - - - - {{ statistics.attendance_day_presences.summary.days_completed }} - - - - - - - {{ $t("a.Details anschauen") }} - - + + + + diff --git a/client/src/router/index.ts b/client/src/router/index.ts index 276b5dfe..c5ff1f4e 100644 --- a/client/src/router/index.ts +++ b/client/src/router/index.ts @@ -184,6 +184,24 @@ const router = createRouter({ component: () => import("@/pages/dashboard/statistic/AttendanceDayPresences.vue"), }, + { + path: "assignment", + props: true, + component: () => + import("@/pages/dashboard/statistic/AttendanceDayPresences.vue"), + }, + { + path: "competence", + props: true, + component: () => + import("@/pages/dashboard/statistic/AttendanceDayPresences.vue"), + }, + { + path: "feedback", + props: true, + component: () => + import("@/pages/dashboard/statistic/AttendanceDayPresences.vue"), + }, ], }, {