From 8a9a28c78213f9165a3e1513cde8032b1f0597bc Mon Sep 17 00:00:00 2001 From: Nathan Cannon Date: Thu, 27 Sep 2018 15:39:48 +0100 Subject: [PATCH] Started page to show list of observations --- frontend/src/router.js | 6 ++ frontend/src/views/ViewObservations.vue | 107 ++++++++++++++++++++++++ 2 files changed, 113 insertions(+) create mode 100644 frontend/src/views/ViewObservations.vue diff --git a/frontend/src/router.js b/frontend/src/router.js index cc041ce..41a8af2 100644 --- a/frontend/src/router.js +++ b/frontend/src/router.js @@ -5,6 +5,7 @@ import Observation from "./views/Observation.vue"; import Stats from "./views/Stats.vue"; import NewSite from "./views/NewSite.vue"; import NewTutor from "./views/NewTutor.vue"; +import ViewObservations from "./views/ViewObservations.vue"; Vue.use(Router); @@ -34,6 +35,11 @@ export default new Router({ path: "/newtutor", name: "newTutor", component: NewTutor + }, + { + path: "/observations", + name: "observations", + component: ViewObservations } ] }); diff --git a/frontend/src/views/ViewObservations.vue b/frontend/src/views/ViewObservations.vue new file mode 100644 index 0000000..1e319ce --- /dev/null +++ b/frontend/src/views/ViewObservations.vue @@ -0,0 +1,107 @@ + + +