From 6e53127feda14271240b069faf3e7c1f2888a992 Mon Sep 17 00:00:00 2001 From: Katharina Will Date: Sun, 21 Apr 2019 20:40:31 +0200 Subject: [PATCH 1/6] Added pages for starting and ending a cache --- frontend/src/pages/CacheEnd.vue | 45 +++++++++++++++++++++++++++++++ frontend/src/pages/CacheStart.vue | 38 ++++++++++++++++++++++++++ frontend/src/router/routes.js | 5 ++++ 3 files changed, 88 insertions(+) create mode 100644 frontend/src/pages/CacheEnd.vue create mode 100644 frontend/src/pages/CacheStart.vue diff --git a/frontend/src/pages/CacheEnd.vue b/frontend/src/pages/CacheEnd.vue new file mode 100644 index 0000000..197a0e0 --- /dev/null +++ b/frontend/src/pages/CacheEnd.vue @@ -0,0 +1,45 @@ + + + diff --git a/frontend/src/pages/CacheStart.vue b/frontend/src/pages/CacheStart.vue new file mode 100644 index 0000000..a94c105 --- /dev/null +++ b/frontend/src/pages/CacheStart.vue @@ -0,0 +1,38 @@ + + + diff --git a/frontend/src/router/routes.js b/frontend/src/router/routes.js index 362b097..18a3acf 100644 --- a/frontend/src/router/routes.js +++ b/frontend/src/router/routes.js @@ -50,6 +50,11 @@ const routes = [ component: () => import("layouts/MyLayout.vue"), children: [{ path: "", component: () => import("pages/Login.vue") }] }, + { + path: "/CacheStart/", + component: () => import("layouts/MyLayout.vue"), + children: [{ path: "", component: () => import("pages/CacheStart.vue") }] + }, { path: "/profile/", component: () => import("layouts/MyLayout.vue"), From 0ec3dbb0b1db22a4c53e66aafdcb2f9e6fe4150d Mon Sep 17 00:00:00 2001 From: Timo Volkmann Date: Mon, 22 Apr 2019 22:43:58 +0200 Subject: [PATCH 2/6] qr-code scanner working --- frontend/quasar.conf.js | 2 +- frontend/src/components/qr-scanner.vue | 53 ------ frontend/src/pages/qr-code-test.vue | 152 ++++++++++++++++-- .../util/CacheConstructionUtil.java | 2 +- 4 files changed, 145 insertions(+), 64 deletions(-) delete mode 100644 frontend/src/components/qr-scanner.vue diff --git a/frontend/quasar.conf.js b/frontend/quasar.conf.js index 2a58d21..9ee4e06 100644 --- a/frontend/quasar.conf.js +++ b/frontend/quasar.conf.js @@ -62,6 +62,7 @@ module.exports = function (ctx) { 'QPageSticky', 'QAvatar', 'QSpinnerPuff', + 'QSpinnerOval', 'QExpansionItem', 'QParallax', 'QEditor', @@ -107,7 +108,6 @@ module.exports = function (ctx) { API: JSON.stringify('http://localhost:8080') } : { // Base URL for API-Calls: PRODUCTION (build) - //API: JSON.stringify('http://se.hs-heilbronn.de:8090') //API: JSON.stringify('http://seserver.se.hs-heilbronn.de:8090/buga19geocaching') API: JSON.stringify('http://localhost:8080') } diff --git a/frontend/src/components/qr-scanner.vue b/frontend/src/components/qr-scanner.vue deleted file mode 100644 index 055fa41..0000000 --- a/frontend/src/components/qr-scanner.vue +++ /dev/null @@ -1,53 +0,0 @@ - - - - diff --git a/frontend/src/pages/qr-code-test.vue b/frontend/src/pages/qr-code-test.vue index ed56574..7bf52e7 100644 --- a/frontend/src/pages/qr-code-test.vue +++ b/frontend/src/pages/qr-code-test.vue @@ -1,17 +1,151 @@