diff --git a/frontend/package.json b/frontend/package.json index f8bffc9a..6489fd75 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -10,10 +10,12 @@ }, "dependencies": { "@editorjs/checklist": "^1.6.0", + "@editorjs/code": "^2.9.0", "@editorjs/editorjs": "^2.29.0", "@editorjs/embed": "^2.7.0", "@editorjs/header": "^2.8.1", "@editorjs/image": "^2.9.0", + "@editorjs/inline-code": "^1.5.0", "@editorjs/nested-list": "^1.4.2", "@editorjs/paragraph": "^2.11.3", "chart.js": "^4.4.1", @@ -25,7 +27,7 @@ "pinia": "^2.0.33", "socket.io-client": "^4.7.2", "tailwindcss": "^3.3.3", - "vue": "^3.2.25", + "vue": "^3.4.23", "vue-chartjs": "^5.3.0", "vue-router": "^4.0.12" }, diff --git a/frontend/public/Youtube.mov b/frontend/public/Youtube.mov new file mode 100644 index 00000000..ca6b75a2 Binary files /dev/null and b/frontend/public/Youtube.mov differ diff --git a/frontend/src/components/BatchCourses.vue b/frontend/src/components/BatchCourses.vue index 474e7dab..241c5ae9 100644 --- a/frontend/src/components/BatchCourses.vue +++ b/frontend/src/components/BatchCourses.vue @@ -108,13 +108,16 @@ const getCoursesColumns = () => { { label: 'Title', key: 'title', + width: 2, }, { label: 'Lessons', key: 'lesson_count', + align: 'right', }, { label: 'Enrollments', + align: 'right', key: 'enrollment_count', }, ] @@ -131,7 +134,6 @@ const removeCourse = createResource({ }) const removeCourses = (selections) => { - console.log(selections) selections.forEach(async (course) => { removeCourse.submit({ course }) await setTimeout(1000) diff --git a/frontend/src/components/BatchStudents.vue b/frontend/src/components/BatchStudents.vue index 0144925e..ca3271fc 100644 --- a/frontend/src/components/BatchStudents.vue +++ b/frontend/src/components/BatchStudents.vue @@ -109,6 +109,7 @@ const getStudentColumns = () => { { label: 'Full Name', key: 'full_name', + width: 2, }, { label: 'Courses Done', diff --git a/frontend/src/components/CourseCard.vue b/frontend/src/components/CourseCard.vue index a81a3803..1c305b9f 100644 --- a/frontend/src/components/CourseCard.vue +++ b/frontend/src/components/CourseCard.vue @@ -10,7 +10,13 @@ :style="{ backgroundImage: 'url(' + encodeURI(course.image) + ')' }" >
{{ @@ -25,7 +25,7 @@