From 6af84d67f879225a0682fc3a1fc291163d90694b Mon Sep 17 00:00:00 2001 From: nic21003 Date: Mon, 23 Oct 2023 19:13:36 -0400 Subject: [PATCH 1/2] experimental vue changes --- .../src/components/LoginPage.vue | 40 +++++++++++++++++-- class_registration_app/src/main.ts | 6 +-- 2 files changed, 40 insertions(+), 6 deletions(-) diff --git a/class_registration_app/src/components/LoginPage.vue b/class_registration_app/src/components/LoginPage.vue index 1ea4c91..e985e08 100644 --- a/class_registration_app/src/components/LoginPage.vue +++ b/class_registration_app/src/components/LoginPage.vue @@ -8,15 +8,49 @@

Valid. Please wait a moment.

Error. Please enter correct Username & password.

- - + + - +
Back + + \ No newline at end of file diff --git a/class_registration_app/src/components/LoginPage.vue b/class_registration_app/src/components/LoginPage.vue index e985e08..f7f3d1f 100644 --- a/class_registration_app/src/components/LoginPage.vue +++ b/class_registration_app/src/components/LoginPage.vue @@ -1,54 +1,56 @@ - - - diff --git a/class_registration_app/src/router/index.ts b/class_registration_app/src/router/index.ts index b56c908..cfd7ba8 100644 --- a/class_registration_app/src/router/index.ts +++ b/class_registration_app/src/router/index.ts @@ -5,6 +5,7 @@ import RegisterAccount from '../components/RegisterAccount.vue' import CourseSearch from '../components/CourseSearch.vue' import ScheduleView from '../components/ScheduleView.vue' import DashBoard from '../components/DashBoard.vue' +import EnrolledCourseList from '../components/EnrolledCourseList.vue' const router = createRouter({ history: createWebHistory(import.meta.env.BASE_URL), @@ -41,6 +42,11 @@ const router = createRouter({ path: '/schedule_viewer', name: 'Schedule Viewer', component: ScheduleView + }, + { + path: '/my_courses', + name: 'My Courses', + component: EnrolledCourseList } ]