diff --git a/frontend/components.d.ts b/frontend/components.d.ts index c2c899fa..2212eb18 100644 --- a/frontend/components.d.ts +++ b/frontend/components.d.ts @@ -81,6 +81,7 @@ declare module 'vue' { Question: typeof import('./src/components/Modals/Question.vue')['default'] Quiz: typeof import('./src/components/Quiz.vue')['default'] QuizBlock: typeof import('./src/components/QuizBlock.vue')['default'] + QuizInVideo: typeof import('./src/components/Modals/QuizInVideo.vue')['default'] Rating: typeof import('./src/components/Controls/Rating.vue')['default'] ReviewModal: typeof import('./src/components/Modals/ReviewModal.vue')['default'] RouterLink: typeof import('vue-router')['RouterLink'] diff --git a/frontend/src/components/Modals/QuizInVideo.vue b/frontend/src/components/Modals/QuizInVideo.vue new file mode 100644 index 00000000..889a3c39 --- /dev/null +++ b/frontend/src/components/Modals/QuizInVideo.vue @@ -0,0 +1,167 @@ + + + + + + + + + + + + {{ __('Add') }} + + + + + + + + + + + + + + + + + + {{ row[column.key] }} + + + + + + + + + + + diff --git a/frontend/src/components/VideoBlock.vue b/frontend/src/components/VideoBlock.vue index f5b3ac45..7e75e16b 100644 --- a/frontend/src/components/VideoBlock.vue +++ b/frontend/src/components/VideoBlock.vue @@ -1,80 +1,103 @@ - - - - - - + + - + + + + + + + + + + + + + + + + + {{ formatSeconds(currentTime) }} / {{ formatSeconds(duration) }} + + + + + + + + + + + + - - - - - - - - - - - - - - - - {{ formatTime(currentTime) }} / {{ formatTime(duration) }} - - - - - + + + {{ __('Add Quiz to Video') }} +