From 3893ab38511fa23689a7c97fce8f36a58def2754 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20Gr=C3=B6ger?= Date: Wed, 4 Mar 2020 23:10:18 +0100 Subject: [PATCH] finished ##197 --- package-lock.json | 13 +++++ package.json | 1 + src/App.vue | 17 ++++++- src/components/pricelist/PriceList.vue | 6 ++- src/components/vorstand/UserManager.vue | 6 ++- src/router/index.js | 5 ++ src/store/modules/login.js | 8 ++- src/store/modules/pricelist.js | 43 ++++++++++++++-- src/store/modules/userManager.js | 67 ++++++++++--------------- src/views/contents/Cookies.vue | 22 ++++++++ 10 files changed, 138 insertions(+), 50 deletions(-) create mode 100644 src/views/contents/Cookies.vue diff --git a/package-lock.json b/package-lock.json index cf247fa..abd000c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10402,6 +10402,11 @@ "integrity": "sha1-QFQRqOfmM5/mTbmiNN4R3DHgK9Q=", "dev": true }, + "tiny-cookie": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/tiny-cookie/-/tiny-cookie-2.3.1.tgz", + "integrity": "sha512-C4x1e8dHfKf03ewuN9aIZzzOfN2a6QKhYlnHdzJxmmjMTLqcskI20F+EplszjODQ4SHmIGFJrvUUnBMS/bJbOA==" + }, "tmp": { "version": "0.0.33", "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.0.33.tgz", @@ -10892,6 +10897,14 @@ } } }, + "vue-cookie-law": { + "version": "1.12.0", + "resolved": "https://registry.npmjs.org/vue-cookie-law/-/vue-cookie-law-1.12.0.tgz", + "integrity": "sha512-Am8lHqGVD7P6iVkktVE7sZwqZz36oBBKJBBveXwCOOKA7U7XJNveO7kFxJPBrJwOzrsXjbxGIGibg5SpNlJkKg==", + "requires": { + "tiny-cookie": "^2.1.1" + } + }, "vue-eslint-parser": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/vue-eslint-parser/-/vue-eslint-parser-5.0.0.tgz", diff --git a/package.json b/package.json index b520207..a067bd4 100644 --- a/package.json +++ b/package.json @@ -12,6 +12,7 @@ "@mdi/js": "^4.8.95", "core-js": "^3.4.3", "vue": "^2.6.10", + "vue-cookie-law": "^1.12.0", "vue-router": "^3.1.3", "vuetify": "^2.1.0", "vuex": "^3.1.2" diff --git a/src/App.vue b/src/App.vue index 58a0a74..7a40772 100644 --- a/src/App.vue +++ b/src/App.vue @@ -6,15 +6,30 @@ © {{ new Date().getFullYear() }} Studentenclub Wu 5 e.v. + + + + +