From ae3bdb09eb75b3152882a8d6066da517942eeda0 Mon Sep 17 00:00:00 2001 From: Mitchell van Buuren Date: Mon, 27 Sep 2021 14:16:43 +0200 Subject: [PATCH] added base password reset pages --- package-lock.json | 13 +++ package.json | 2 + src/main.js | 4 +- src/pages/password-reset-complete.vue | 133 ++++++++++++++++++++++++++ src/pages/password-reset-request.vue | 96 +++++++++++++++++++ 5 files changed, 246 insertions(+), 2 deletions(-) create mode 100644 src/pages/password-reset-complete.vue create mode 100644 src/pages/password-reset-request.vue diff --git a/package-lock.json b/package-lock.json index 93c8947..123a80a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -7418,6 +7418,11 @@ "minimist": "^1.2.5" } }, + "moment": { + "version": "2.29.1", + "resolved": "https://registry.npmjs.org/moment/-/moment-2.29.1.tgz", + "integrity": "sha512-kHmoybcPV8Sqy59DwNDY3Jefr64lK/by/da0ViFcuA4DH0vQg5Q6Ze5VimxkfQNSC+Mls/Kx53s7TjP1RhFEDQ==" + }, "move-concurrently": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/move-concurrently/-/move-concurrently-1.0.1.tgz", @@ -11168,6 +11173,14 @@ } } }, + "vue-cookieconsent-component": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/vue-cookieconsent-component/-/vue-cookieconsent-component-1.2.0.tgz", + "integrity": "sha512-9vbbLSIIuLjtFuhJ2QJaY0Jt3xTmotWXsz5/rQyICK9kFgpcDd9dnDwwy753tMSoSLG0+gWKDugaHGuHMdUs2Q==", + "requires": { + "vue": "^2.5.2" + } + }, "vue-eslint-parser": { "version": "7.11.0", "resolved": "https://registry.npmjs.org/vue-eslint-parser/-/vue-eslint-parser-7.11.0.tgz", diff --git a/package.json b/package.json index 6c9276b..60a39b5 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,9 @@ "dependencies": { "browser-detect": "^0.2.28", "core-js": "^3.6.5", + "moment": "^2.29.1", "vue": "^2.6.11", + "vue-cookieconsent-component": "^1.2.0", "vuetify": "^2.4.0" }, "devDependencies": { diff --git a/src/main.js b/src/main.js index ad6e404..e6d9c46 100644 --- a/src/main.js +++ b/src/main.js @@ -1,7 +1,7 @@ import Vue from 'vue' import vuetify from './plugins/vuetify'; import App from './app'; -import router from './routes.js' +import router from '../routes' import './registerServiceWorker' import {Api} from './services/client'; import moment from 'moment'; @@ -9,7 +9,7 @@ import Alert from './components/alert'; import EmptyLayout from './layouts/empty'; import CookieConsent from 'vue-cookieconsent-component'; -Vue.config.productionTip = false +export const bus = new Vue(); Vue.prototype.$alert = { showNotice: false, diff --git a/src/pages/password-reset-complete.vue b/src/pages/password-reset-complete.vue new file mode 100644 index 0000000..2de5468 --- /dev/null +++ b/src/pages/password-reset-complete.vue @@ -0,0 +1,133 @@ + + + diff --git a/src/pages/password-reset-request.vue b/src/pages/password-reset-request.vue new file mode 100644 index 0000000..ae2dfe9 --- /dev/null +++ b/src/pages/password-reset-request.vue @@ -0,0 +1,96 @@ + + +