diff --git a/erpnext/public/js/education/lms/components/ProgressCard.vue b/erpnext/public/js/education/lms/components/ProgressCard.vue
new file mode 100644
index 00000000000..9666ab4ea5b
--- /dev/null
+++ b/erpnext/public/js/education/lms/components/ProgressCard.vue
@@ -0,0 +1,69 @@
+
+
+
+
+
+
+
+ {{ programData.program }}
+
+
+ Courses
+
+ -
+
+
+ {{ item.course_name }}
+
+
+
+
+
+
+ Download Certificate
+
+
+
+
+
+
+
+
+
diff --git a/erpnext/public/js/education/lms/pages/ProfilePage.vue b/erpnext/public/js/education/lms/pages/ProfilePage.vue
new file mode 100644
index 00000000000..59d5aaa465e
--- /dev/null
+++ b/erpnext/public/js/education/lms/pages/ProfilePage.vue
@@ -0,0 +1,93 @@
+
+
+
+
+
+
+
+
+
Lorem Ipsum
+
+ -
+
Email:
+ lorem@example.com
+
+ -
+
Date of Joining:
+ 18th July 2018
+
+
+
+ -
+
Programs Enrolled:
+
+
+ - Frappe Certified ERPNext Professional
+ - Frappe Certified Developer
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/erpnext/public/js/education/lms/routes.js b/erpnext/public/js/education/lms/routes.js
index e6eb002e166..5ebb1e660bd 100644
--- a/erpnext/public/js/education/lms/routes.js
+++ b/erpnext/public/js/education/lms/routes.js
@@ -2,6 +2,7 @@ import Home from "./pages/Home.vue";
import ProgramPage from "./pages/ProgramPage.vue";
import ContentPage from "./pages/ContentPage.vue";
import ListPage from "./pages/ListPage.vue";
+import ProfilePage from "./pages/ProfilePage.vue";
const routes = [
{name: 'home', path: '', component: Home},
@@ -12,7 +13,7 @@ const routes = [
component: ContentPage,
props: true,
beforeEnter: (to, from, next) => {
- if(!lms.store.isLogin){
+ if(!lms.store.checkLogin()){
next({name: 'home'})
}
else {
@@ -35,6 +36,12 @@ const routes = [
component: ListPage,
props: true
},
+ {
+ name: 'profile',
+ path: '/Profile',
+ component: ProfilePage,
+ props: true
+ }
];
export default routes;
\ No newline at end of file