From 8fbd8c81179ad99bef7534ec0ac154c7743222b1 Mon Sep 17 00:00:00 2001 From: Nathan Cannon Date: Mon, 24 Sep 2018 16:33:24 +0100 Subject: [PATCH] Added UI for adding a tutor. --- frontend/src/router.js | 6 +++ frontend/src/views/NewSite.vue | 6 +-- frontend/src/views/NewTutor.vue | 78 +++++++++++++++++++++++++++++++++ 3 files changed, 87 insertions(+), 3 deletions(-) create mode 100644 frontend/src/views/NewTutor.vue diff --git a/frontend/src/router.js b/frontend/src/router.js index 94d47e9..cc041ce 100644 --- a/frontend/src/router.js +++ b/frontend/src/router.js @@ -4,6 +4,7 @@ import Home from "./views/Home.vue"; import Observation from "./views/Observation.vue"; import Stats from "./views/Stats.vue"; import NewSite from "./views/NewSite.vue"; +import NewTutor from "./views/NewTutor.vue"; Vue.use(Router); @@ -28,6 +29,11 @@ export default new Router({ path: "/newsite", name: "newSite", component: NewSite + }, + { + path: "/newtutor", + name: "newTutor", + component: NewTutor } ] }); diff --git a/frontend/src/views/NewSite.vue b/frontend/src/views/NewSite.vue index 11bb75c..162975f 100644 --- a/frontend/src/views/NewSite.vue +++ b/frontend/src/views/NewSite.vue @@ -1,15 +1,15 @@ diff --git a/frontend/src/views/NewTutor.vue b/frontend/src/views/NewTutor.vue new file mode 100644 index 0000000..4907e67 --- /dev/null +++ b/frontend/src/views/NewTutor.vue @@ -0,0 +1,78 @@ + + +