diff --git a/src/web/src/components/Header.vue b/src/web/src/components/Header.vue index deb565383..3d7a47b43 100644 --- a/src/web/src/components/Header.vue +++ b/src/web/src/components/Header.vue @@ -58,6 +58,10 @@ Finals + + + Class Grade Calculator + diff --git a/src/web/src/pages/ClassGradeCalculator.vue b/src/web/src/pages/ClassGradeCalculator.vue new file mode 100644 index 000000000..6c9dfeec6 --- /dev/null +++ b/src/web/src/pages/ClassGradeCalculator.vue @@ -0,0 +1,84 @@ + + + + + + + + + + + + + + + Add Assessment + + Calculate Course Grade + + + + Error + + {{ errorMessage }} + + + + Course Grade Result + + Your Course Grade: {{ courseGrade }} + + + + + + + + + + + diff --git a/src/web/src/routes.js b/src/web/src/routes.js index dc92419cc..345b1c018 100644 --- a/src/web/src/routes.js +++ b/src/web/src/routes.js @@ -13,6 +13,7 @@ const PathwayPage = () => import("./pages/Pathway"); const SubjectExplorerPage = () => import("./pages/SubjectExplorer"); const NotFoundPage = () => import("./pages/NotFound"); const FinalExamScheduler = () => import("./pages/FinalExamScheduler"); +const ClassGradeCalculatorPage = () => import("./pages/ClassGradeCalculator"); var router = new VueRouter({ routes: [ @@ -48,6 +49,11 @@ var router = new VueRouter({ component: FinalExamScheduler, name: "Finals", }, + { + path: "/ClassGradeCalculator", + component: ClassGradeCalculatorPage, + name: "ClassGradeCalculator", + }, { path: "/explore/:subject", component: SubjectExplorerPage,