diff --git a/frontend/package-lock.json b/frontend/package-lock.json index e2c650d..9c1509b 100644 --- a/frontend/package-lock.json +++ b/frontend/package-lock.json @@ -8498,6 +8498,11 @@ "topo": "3.x.x" } }, + "jquery": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jquery/-/jquery-3.3.1.tgz", + "integrity": "sha512-Ubldcmxp5np52/ENotGxlLe6aGMvmF4R8S6tZjsP6Knsaxd/xp3Zrh50cG93lR6nPXyUFwzN3ZSOQI0wRJNdGg==" + }, "js-beautify": { "version": "1.8.6", "resolved": "https://registry.npmjs.org/js-beautify/-/js-beautify-1.8.6.tgz", diff --git a/frontend/package.json b/frontend/package.json index 7054b7d..b241623 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -12,6 +12,7 @@ "axios": "^0.18.0", "bootstrap-vue": "^2.0.0-rc.11", "font-awesome": "^4.7.0", + "jquery": "^3.3.1", "vue": "^2.5.17", "vue-awesome": "^3.1.2", "vue-axios": "^2.1.3", diff --git a/frontend/src/main.js b/frontend/src/main.js index f0c9679..872ca8a 100644 --- a/frontend/src/main.js +++ b/frontend/src/main.js @@ -5,6 +5,8 @@ import store from "./store"; import axios from 'axios'; import VueAxios from 'vue-axios'; import BootstrapVue from 'bootstrap-vue'; +import 'bootstrap/dist/css/bootstrap.css' +import 'bootstrap-vue/dist/bootstrap-vue.css' import Icon from 'vue-awesome/components/Icon'; Vue.config.productionTip = false; diff --git a/frontend/src/store.js b/frontend/src/store.js index bb02ce2..c3bc6d3 100644 --- a/frontend/src/store.js +++ b/frontend/src/store.js @@ -4,7 +4,25 @@ import Vuex from "vuex"; Vue.use(Vuex); export default new Vuex.Store({ - state: {}, - mutations: {}, + state: { + site: null, + tutors: [], + description: null, + type: null + }, + mutations: { + setSite(state, newSite) { + state.site = newSite; + }, + setTutors(state, newTutors) { + state.tutors = newTutors; + }, + setDescription(state, newDescription) { + state.description = newDescription; + }, + setType(state, newType){ + state.type = newType; + } + }, actions: {} }); diff --git a/frontend/src/views/Home.vue b/frontend/src/views/Home.vue index d8d0da6..56ba098 100644 --- a/frontend/src/views/Home.vue +++ b/frontend/src/views/Home.vue @@ -3,17 +3,17 @@

Training Observations

- + - + - + @@ -24,23 +24,23 @@

Select a site first.

- +
+ + Start +