diff --git a/frontend/src/App.vue b/frontend/src/App.vue
index f53eca6..1797ee3 100644
--- a/frontend/src/App.vue
+++ b/frontend/src/App.vue
@@ -27,17 +27,18 @@
diff --git a/frontend/src/router.js b/frontend/src/router.js
index 338ed39..d82890d 100644
--- a/frontend/src/router.js
+++ b/frontend/src/router.js
@@ -13,51 +13,51 @@ const DBError = () => import("./views/DatabaseUnavailable.vue");
Vue.use(Router);
export default new Router({
- routes: [
- {
- path: "/",
- name: "home",
- component: Home
- },
- {
- path: "/new",
- name: "startnew",
- component: StartNew
- },
- {
- path: "/observation",
- name: "observation",
- component: Observation
- },
- {
- path: "/stats",
- name: "stats",
- component: Stats
- },
- {
- path: "/newsite",
- name: "newSite",
- component: NewSite
- },
- {
- path: "/newtutor",
- name: "newTutor",
- component: NewTutor
- },
- {
- path: "/observations",
- name: "observations",
- component: ViewObservations
- },
- {
- path: "/complete",
- name: "complete",
- component: ObservationComplete
- },
- {
- path: "/dberror",
- name: "dberror",
- component: DBError
- }
- ]
+ routes: [
+ {
+ path: "/",
+ name: "home",
+ component: Home
+ },
+ {
+ path: "/new",
+ name: "startnew",
+ component: StartNew
+ },
+ {
+ path: "/observation",
+ name: "observation",
+ component: Observation
+ },
+ {
+ path: "/stats",
+ name: "stats",
+ component: Stats
+ },
+ {
+ path: "/newsite",
+ name: "newSite",
+ component: NewSite
+ },
+ {
+ path: "/newtutor",
+ name: "newTutor",
+ component: NewTutor
+ },
+ {
+ path: "/observations",
+ name: "observations",
+ component: ViewObservations
+ },
+ {
+ path: "/complete",
+ name: "complete",
+ component: ObservationComplete
+ },
+ {
+ path: "/dberror",
+ name: "dberror",
+ component: DBError
+ }
+ ]
});
diff --git a/frontend/src/views/DatabaseUnavailable.vue b/frontend/src/views/DatabaseUnavailable.vue
index 2e024d3..932b812 100644
--- a/frontend/src/views/DatabaseUnavailable.vue
+++ b/frontend/src/views/DatabaseUnavailable.vue
@@ -23,13 +23,12 @@
\ No newline at end of file
+
diff --git a/frontend/src/views/Home.vue b/frontend/src/views/Home.vue
index eca5b8d..ce58938 100644
--- a/frontend/src/views/Home.vue
+++ b/frontend/src/views/Home.vue
@@ -24,11 +24,10 @@
\ No newline at end of file
+
diff --git a/frontend/src/views/NewSite.vue b/frontend/src/views/NewSite.vue
index 9690238..558f4f7 100644
--- a/frontend/src/views/NewSite.vue
+++ b/frontend/src/views/NewSite.vue
@@ -19,67 +19,66 @@
diff --git a/frontend/src/views/NewTutor.vue b/frontend/src/views/NewTutor.vue
index 0f416b9..a454f47 100644
--- a/frontend/src/views/NewTutor.vue
+++ b/frontend/src/views/NewTutor.vue
@@ -43,10 +43,10 @@ export default {
this.siteOptions = response.data;
})
.catch(error => {
- if(error.response.status === 404){
- this.$router.push("/dberror");
- return;
- }
+ if (error.response.status === 404) {
+ this.$router.push("/dberror");
+ return;
+ }
this.alertText = error.response.data;
this.alertVariant = "danger";
});
@@ -70,10 +70,14 @@ export default {
};
if (form.checkValidity()) {
Vue.axios
- .post("/tutor", {
- 'siteId': this.siteSelection,
- 'name': this.tutorName
- }, axiosConfig)
+ .post(
+ "/tutor",
+ {
+ siteId: this.siteSelection,
+ name: this.tutorName
+ },
+ axiosConfig
+ )
.then(response => {
this.alertVariant = "success";
this.alertText = "Successfully added " + response.data.text;
diff --git a/frontend/src/views/Observation.vue b/frontend/src/views/Observation.vue
index 9ded340..6e3b881 100644
--- a/frontend/src/views/Observation.vue
+++ b/frontend/src/views/Observation.vue
@@ -105,204 +105,208 @@
diff --git a/frontend/src/views/ObservationComplete.vue b/frontend/src/views/ObservationComplete.vue
index 94d6d7a..88e2d84 100644
--- a/frontend/src/views/ObservationComplete.vue
+++ b/frontend/src/views/ObservationComplete.vue
@@ -9,15 +9,14 @@
\ No newline at end of file
+
diff --git a/frontend/src/views/StartNew.vue b/frontend/src/views/StartNew.vue
index 2022eb4..2bb6cb6 100644
--- a/frontend/src/views/StartNew.vue
+++ b/frontend/src/views/StartNew.vue
@@ -80,89 +80,91 @@