diff --git a/frappe-ui b/frappe-ui index 8cd9b06a..175be05a 160000 --- a/frappe-ui +++ b/frappe-ui @@ -1 +1 @@ -Subproject commit 8cd9b06a5ed50dc181d9672b2fe84c1594b52b48 +Subproject commit 175be05a921b44560114ae9af07015a761b669a2 diff --git a/frontend/package.json b/frontend/package.json index fb393013..e5f71227 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -26,7 +26,7 @@ "codemirror-editor-vue3": "^2.8.0", "dayjs": "^1.11.6", "feather-icons": "^4.28.0", - "frappe-ui": "^0.1.122", + "frappe-ui": "^0.1.134", "highlight.js": "^11.11.1", "lucide-vue-next": "^0.383.0", "markdown-it": "^14.0.0", diff --git a/frontend/src/components/CourseCardOverlay.vue b/frontend/src/components/CourseCardOverlay.vue index 9f263d54..1b344616 100644 --- a/frontend/src/components/CourseCardOverlay.vue +++ b/frontend/src/components/CourseCardOverlay.vue @@ -172,7 +172,7 @@ function enrollStudent() { ) setTimeout(() => { window.location.href = `/login?redirect-to=${window.location.pathname}` - }, 2000) + }, 1000) } else { const enrollStudentResource = createResource({ url: 'lms.lms.doctype.lms_enrollment.lms_enrollment.create_membership', diff --git a/frontend/src/pages/Statistics.vue b/frontend/src/pages/Statistics.vue index 4b7d8a8d..55dfee3d 100644 --- a/frontend/src/pages/Statistics.vue +++ b/frontend/src/pages/Statistics.vue @@ -7,109 +7,115 @@
-
-
- -
-
-
- {{ formatNumber(chartDetails.data.courses) }} -
-
- {{ __('Courses') }} -
-
-
-
-
- -
-
-
- {{ formatNumber(chartDetails.data.users) }} -
-
- {{ __('Signups') }} -
-
-
-
-
- -
-
-
- {{ formatNumber(chartDetails.data.enrollments) }} -
-
- {{ __('Enrollments') }} -
-
-
-
-
- -
-
-
- {{ formatNumber(chartDetails.data.completions) }} -
-
- {{ __('Completions') }} -
-
-
-
-
- -
-
-
- {{ formatNumber(chartDetails.data.lesson_completions) }} -
-
- {{ __('Milestones') }} -
-
-
+ + + + +
-
- +
-
- +
-
- +
-
- +
@@ -117,42 +123,16 @@