From e2b15a6276b8c2f5f53b1e08b513a58475a4691b Mon Sep 17 00:00:00 2001 From: Ulf Gebhardt Date: Thu, 18 Mar 2021 17:50:13 +0100 Subject: [PATCH 01/12] removed console eslint rule(production) --- frontend/.eslintrc.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/frontend/.eslintrc.js b/frontend/.eslintrc.js index fe2660bd9..638b2d891 100644 --- a/frontend/.eslintrc.js +++ b/frontend/.eslintrc.js @@ -5,7 +5,8 @@ module.exports = { }, extends: ['plugin:vue/essential'], rules: { - 'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off', + // TODO no console! + 'no-console': 'off', 'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off' }, parserOptions: { From c0b92d74b2fb4868c6743140c339e51c89cf03ce Mon Sep 17 00:00:00 2001 From: Ulf Gebhardt Date: Thu, 18 Mar 2021 18:02:41 +0100 Subject: [PATCH 02/12] v0.9.2 --- CHANGELOG.md | 21 +++++++++++++++++++++ frontend/package.json | 2 +- package.json | 2 +- 3 files changed, 23 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ac578be89..7821e6c89 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,4 +4,25 @@ All notable changes to this project will be documented in this file. Dates are d Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog). +#### [0.9.2](https://github.com/gradido/gradido/compare/0.9.1...0.9.2) + +- Reload after login fixed [`#50`](https://github.com/gradido/gradido/pull/50) +- Monorepo login server [`#48`](https://github.com/gradido/gradido/pull/48) +- Stage0 [`#3`](https://github.com/gradido/gradido/pull/3) +- Add auto-sign Transaction functionality [`5592275`](https://github.com/gradido/gradido/commit/55922753a7ffd9552be132501d744da491c409b5) +- read in login the real client ip X-Real-IP from nginx forwarded not from community server [`512d307`](https://github.com/gradido/gradido/commit/512d307a19b955bb6e26ae8b274def354829b50f) +- move check if all passwords allow direct into pwdValidation so it will work with every code which ask for password [`e2c38c1`](https://github.com/gradido/gradido/commit/e2c38c1a0fc25a4a2bc922c4bbc44d86b6d00d8b) + #### 0.9.1 + +> 13 March 2021 + +- Login gbb [`#12`](https://github.com/gradido/gradido/pull/12) +- Admin prework axios json [`#10`](https://github.com/gradido/gradido/pull/10) +- Merge pull request #1 from gradido/master [`#8`](https://github.com/gradido/gradido/pull/8) +- [WIP] 2 create a dockerfile for the frontend application [`#6`](https://github.com/gradido/gradido/pull/6) +- Master - first step [`#1`](https://github.com/gradido/gradido/pull/1) +- Add docker compose [`#7`](https://github.com/gradido/gradido/pull/7) +- style 404 side :) [`c7bdf89`](https://github.com/gradido/gradido/commit/c7bdf8978594b932615e48f9bb1c19d3c3bf3fcf) +- publish workflow test [`df6f66f`](https://github.com/gradido/gradido/commit/df6f66ffe70baa9ed3f70b460a6c0c14011bb944) +- many translations. translation structure [`bf68547`](https://github.com/gradido/gradido/commit/bf685479767d19c246c4d6abe3577dc3cb666346) diff --git a/frontend/package.json b/frontend/package.json index 420d5ebce..5100e736a 100755 --- a/frontend/package.json +++ b/frontend/package.json @@ -1,6 +1,6 @@ { "name": "bootstrap-vue-gradido-wallet", - "version": "0.9.1", + "version": "0.9.2", "private": true, "scripts": { "start": "node server.js", diff --git a/package.json b/package.json index 839e88fd9..ea12c0a50 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "gradido", - "version": "0.9.1", + "version": "0.9.2", "description": "Gradido", "main": "index.js", "repository": "git@github.com:gradido/gradido.git", From 187811f87924a0b3b15c32b3dd1fa8ee2c1c6d46 Mon Sep 17 00:00:00 2001 From: Ulf Gebhardt Date: Fri, 19 Mar 2021 14:03:05 +0100 Subject: [PATCH 03/12] build community server build login server removed old gradido node push workflow(not working) --- .github/workflows/push.yml | 18 ------ .github/workflows/test.yml | 114 ++++++++++++++++++++++--------------- 2 files changed, 67 insertions(+), 65 deletions(-) delete mode 100644 .github/workflows/push.yml diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml deleted file mode 100644 index 2e5bf99ab..000000000 --- a/.github/workflows/push.yml +++ /dev/null @@ -1,18 +0,0 @@ -name: on-push -on: push -jobs: - test: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - name: Build the stack - run: | - git submodule update --init --recursive - docker-compose up -d - - name: Test - env: - GN_INSTANCE_FOLDER: /tmp/gradio-node-instance - GN_CONTAINER_NAME: gradido-node-build - run: docker run gradido-node-test - timeout-minutes: 2 - diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e8dfbab4e..8879a34bb 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -4,34 +4,13 @@ name: gradido test CI on: [push] jobs: - ############################################################################## - # JOB: PREPARE ##################################################### - ############################################################################## - #prepare: - # name: Prepare - # runs-on: ubuntu-latest - # # needs: [nothing] - # steps: - # ########################################################################## - # # CHECKOUT CODE ########################################################## - # ########################################################################## - # - name: Checkout code - # uses: actions/checkout@v2 - # ########################################################################## - # # TODO: DO STUFF ??? ##################################################### - # ########################################################################## - # - name: Check translation files - # run: | - # scripts/translations/sort.sh - # scripts/translations/missing-keys.sh - ############################################################################## # JOB: DOCKER BUILD TEST FRONTEND ############################################ ############################################################################## build_test_frontend: name: Docker Build Test - Frontend runs-on: ubuntu-latest - #needs: [nothing] # [prepare] + #needs: [nothing] steps: ########################################################################## # CHECKOUT CODE ########################################################## @@ -39,7 +18,7 @@ jobs: - name: Checkout code uses: actions/checkout@v2 ########################################################################## - # NEO4J ################################################################## + # FRONTEND ############################################################### ########################################################################## - name: Frontend | Build `test` image run: | @@ -78,30 +57,56 @@ jobs: # path: /tmp/backend.tar ############################################################################## - # JOB: DOCKER BUILD TEST WEBAPP ############################################## + # JOB: DOCKER BUILD TEST LOGIN SERVER ######################################## ############################################################################## - #build_test_webapp: - # name: Docker Build Test - WebApp - # runs-on: ubuntu-latest - # needs: [prepare] - # steps: - # ########################################################################## - # # CHECKOUT CODE ########################################################## - # ########################################################################## - # - name: Checkout code - # uses: actions/checkout@v2 - # ########################################################################## - # # BUILD WEBAPP DOCKER IMAGE (build) ###################################### - # ########################################################################## - # - name: webapp | Build `test` image - # run: | - # docker build --target test -t "ocelotsocialnetwork/webapp:test" webapp/ - # docker save "ocelotsocialnetwork/webapp:test" > /tmp/webapp.tar - # - name: Upload Artifact - # uses: actions/upload-artifact@v2 - # with: - # name: docker-webapp-test - # path: /tmp/webapp.tar + build_test_login_server: + name: Docker Build Test - Login Server + runs-on: ubuntu-latest + #needs: [nothing] + steps: + ########################################################################## + # CHECKOUT CODE ########################################################## + ########################################################################## + - name: Checkout code + uses: actions/checkout@v2 + ########################################################################## + # BUILD LOGIN SERVER DOCKER IMAGE (build) ################################ + ########################################################################## + - name: login server | Build `test` image + run: | + docker build --target login_server_debug -t "gradido/loginserver:test" login_server/Dockerfile.debug + docker save "gradido/loginserver:test" > /tmp/loginserver.tar + - name: Upload Artifact + uses: actions/upload-artifact@v2 + with: + name: docker-loginserver-test + path: /tmp/loginserver.tar + + ############################################################################## + # JOB: DOCKER BUILD TEST COMMUNITY SERVER #################################### + ############################################################################## + build_test_community_server: + name: Docker Build Test - Community Server + runs-on: ubuntu-latest + #needs: [nothing] + steps: + ########################################################################## + # CHECKOUT CODE ########################################################## + ########################################################################## + - name: Checkout code + uses: actions/checkout@v2 + ########################################################################## + # BUILD COMMUNITY SERVER DOCKER IMAGE (build) ############################ + ########################################################################## + - name: community server | Build `test` image + run: | + docker build -t "gradido/communityserver:test" community_server/ + docker save "gradido/communityserver:test" > /tmp/communityserver.tar + - name: Upload Artifact + uses: actions/upload-artifact@v2 + with: + name: docker-communityserver-test + path: /tmp/communityserver.tar ############################################################################## # JOB: LINT FRONTEND ######################################################### @@ -241,4 +246,19 @@ jobs: # run: docker-compose -f docker-compose.yml -f docker-compose.test.yml up --detach --no-deps webapp # - name: webapp | Unit tests # #run: docker run --rm ocelotsocialnetwork/webapp:build yarn run test - # run: docker-compose exec -T webapp yarn test \ No newline at end of file + # run: docker-compose exec -T webapp yarn test + + #test: + # runs-on: ubuntu-latest + # steps: + # - uses: actions/checkout@v2 + # - name: Build the stack + # run: | + # git submodule update --init --recursive + # docker-compose up -d + # - name: Test + # env: + # GN_INSTANCE_FOLDER: /tmp/gradio-node-instance + # GN_CONTAINER_NAME: gradido-node-build + # run: docker run gradido-node-test + # timeout-minutes: 2 \ No newline at end of file From ea65400de071b17a3e186199e0fe66150ed44ae0 Mon Sep 17 00:00:00 2001 From: Ulf Gebhardt Date: Fri, 19 Mar 2021 17:35:04 +0100 Subject: [PATCH 04/12] fixed docker builds (they work differently - why?) --- .github/workflows/test.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 8879a34bb..2248b65dc 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -74,7 +74,7 @@ jobs: ########################################################################## - name: login server | Build `test` image run: | - docker build --target login_server_debug -t "gradido/loginserver:test" login_server/Dockerfile.debug + docker build --target login_server_debug -t "gradido/loginserver:test" -f ./login_server/Dockerfile.debug login_server/ docker save "gradido/loginserver:test" > /tmp/loginserver.tar - name: Upload Artifact uses: actions/upload-artifact@v2 @@ -100,7 +100,7 @@ jobs: ########################################################################## - name: community server | Build `test` image run: | - docker build -t "gradido/communityserver:test" community_server/ + docker build -t "gradido/communityserver:test" -f ./community_server/Dockerfile ./ docker save "gradido/communityserver:test" > /tmp/communityserver.tar - name: Upload Artifact uses: actions/upload-artifact@v2 From bf34acb573b14cdb2f539ec2817c4a8918979765 Mon Sep 17 00:00:00 2001 From: Ulf Gebhardt Date: Fri, 19 Mar 2021 18:17:39 +0100 Subject: [PATCH 05/12] include submodules in checkout for login server --- .github/workflows/test.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 2248b65dc..e340b4889 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -69,6 +69,7 @@ jobs: ########################################################################## - name: Checkout code uses: actions/checkout@v2 + submodules: recursive ########################################################################## # BUILD LOGIN SERVER DOCKER IMAGE (build) ################################ ########################################################################## From abb5f1170d1952e00c3583b1bcf261a9bf1fc326 Mon Sep 17 00:00:00 2001 From: Ulf Gebhardt Date: Fri, 19 Mar 2021 18:18:38 +0100 Subject: [PATCH 06/12] corrected syntax --- .github/workflows/test.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e340b4889..d92f167dc 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -69,7 +69,8 @@ jobs: ########################################################################## - name: Checkout code uses: actions/checkout@v2 - submodules: recursive + with: + - submodules: recursive ########################################################################## # BUILD LOGIN SERVER DOCKER IMAGE (build) ################################ ########################################################################## From 7f01a890ae3b9452de7e23310427cb58dc05aa8c Mon Sep 17 00:00:00 2001 From: Ulf Gebhardt Date: Fri, 19 Mar 2021 18:19:33 +0100 Subject: [PATCH 07/12] more syntax --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d92f167dc..ed55ced01 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -70,7 +70,7 @@ jobs: - name: Checkout code uses: actions/checkout@v2 with: - - submodules: recursive + submodules: recursive ########################################################################## # BUILD LOGIN SERVER DOCKER IMAGE (build) ################################ ########################################################################## From dc63b4ccaff1df140ea5d848ac0cf1a0d0439b63 Mon Sep 17 00:00:00 2001 From: Ulf Gebhardt Date: Fri, 19 Mar 2021 18:24:30 +0100 Subject: [PATCH 08/12] try to correct submodules path --- .gitmodules | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitmodules b/.gitmodules index b867af34b..60b29abc2 100644 --- a/.gitmodules +++ b/.gitmodules @@ -4,10 +4,10 @@ branch = master [submodule "mithril_client"] path = community_server/mithril_client - url = git@github.com:gradido/gradido_mithrilJS_client.git + url = https://github.com/gradido/gradido_mithrilJS_client.git [submodule "src/protobuf"] path = community_server/src/protobuf - url = git@github.com:gradido/gradido_protocol.git + url = https://github.com/gradido/gradido_protocol.git [submodule "dependencies/tinf"] path = login_server/dependencies/tinf url = https://github.com/jibsen/tinf.git From f12a1a40536ed6abf0171bd9a6b1ba7272a44c1a Mon Sep 17 00:00:00 2001 From: Ulf Gebhardt Date: Fri, 19 Mar 2021 18:25:41 +0100 Subject: [PATCH 09/12] remove mithril client - seems not to work at all --- .gitmodules | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitmodules b/.gitmodules index 60b29abc2..246626547 100644 --- a/.gitmodules +++ b/.gitmodules @@ -2,9 +2,9 @@ path = gn url = https://github.com/gradido/gn.git branch = master -[submodule "mithril_client"] - path = community_server/mithril_client - url = https://github.com/gradido/gradido_mithrilJS_client.git +#[submodule "mithril_client"] +# path = community_server/mithril_client +# url = https://github.com/gradido/gradido_mithrilJS_client.git [submodule "src/protobuf"] path = community_server/src/protobuf url = https://github.com/gradido/gradido_protocol.git From 7ec9fcf9ea172f1bcdb61ab850ac37725c154898 Mon Sep 17 00:00:00 2001 From: Ulf Gebhardt Date: Fri, 19 Mar 2021 18:27:16 +0100 Subject: [PATCH 10/12] remove mithril client reference --- community_server/mithril_client | 1 - 1 file changed, 1 deletion(-) delete mode 160000 community_server/mithril_client diff --git a/community_server/mithril_client b/community_server/mithril_client deleted file mode 160000 index f0b1d113c..000000000 --- a/community_server/mithril_client +++ /dev/null @@ -1 +0,0 @@ -Subproject commit f0b1d113cee2a76e9dbb098b315f4acaf38410d0 From 7a20a5d2078edd6b78106f63924db95868a504f5 Mon Sep 17 00:00:00 2001 From: ogerly Date: Fri, 19 Mar 2021 15:50:08 +0100 Subject: [PATCH 11/12] sprache angepasst, for login, pwd, sigin --- frontend/package.json | 1 + frontend/src/App.vue | 3 + frontend/src/locales/de.json | 4 +- frontend/src/locales/en.json | 6 +- frontend/src/main.js | 2 +- frontend/src/plugins/dashboard-plugin.js | 4 + frontend/src/store/store.js | 22 ++- frontend/src/views/Layout/AuthLayout.vue | 3 - frontend/src/views/Layout/AuthLayout_gdd.vue | 46 ++---- frontend/src/views/Layout/ContentFooter.vue | 22 +-- frontend/src/views/Layout/DashboardLayout.vue | 8 +- frontend/src/views/Pages/Password.vue | 6 +- .../src/views/Pages/UserProfileActivity.vue | 58 +++++++- frontend/src/views/Starter/SampleFooter.vue | 37 ----- frontend/src/views/Starter/SampleLayout.vue | 77 ---------- frontend/src/views/Starter/SampleNavbar.vue | 137 ------------------ frontend/src/views/Starter/SamplePage.vue | 95 ------------ frontend/yarn.lock | 5 + 18 files changed, 125 insertions(+), 411 deletions(-) delete mode 100644 frontend/src/views/Starter/SampleFooter.vue delete mode 100755 frontend/src/views/Starter/SampleLayout.vue delete mode 100644 frontend/src/views/Starter/SampleNavbar.vue delete mode 100755 frontend/src/views/Starter/SamplePage.vue diff --git a/frontend/package.json b/frontend/package.json index 5100e736a..95dcda5ec 100755 --- a/frontend/package.json +++ b/frontend/package.json @@ -41,6 +41,7 @@ "vue-clickaway": "^2.2.2", "vue-clipboard2": "^0.3.0", "vue-cookies": "^1.7.4", + "vue-country-flag": "^2.0.3", "vue-flatpickr-component": "^8.1.2", "vue-good-table": "^2.21.3", "vue-i18n": "^8.22.4", diff --git a/frontend/src/App.vue b/frontend/src/App.vue index 925cb52f6..2756c5314 100755 --- a/frontend/src/App.vue +++ b/frontend/src/App.vue @@ -19,11 +19,14 @@ export default { ParticlesBg }, created () { + console.log( "xx", $cookies.get("gdd_lang")) console.log('%cWillkommen bei Gradido %cgreen text', 'font-weight:bold', 'color: green') if ( $cookies.isKey("gdd_session_id") == true) { console.log('%cHey %c'+$cookies.get("gdd_u")+'', 'font-weight:bold', 'color: orange') this.$store.commit('session_id', $cookies.get("gdd_session_id")) this.$store.commit('email', $cookies.get("gdd_u")) + this.$store.commit('language', $cookies.get("gdd_lang")) + this.$i18n.locale = $cookies.get("gdd_lang") this.$router.push("overview") }else { console.log("app.vue to Logout") diff --git a/frontend/src/locales/de.json b/frontend/src/locales/de.json index 4b3088866..efec06a10 100644 --- a/frontend/src/locales/de.json +++ b/frontend/src/locales/de.json @@ -1,13 +1,13 @@ { "message": "hallo gradido !!", "welcome":"Willkommen!", - "logout":"Logout", + "logout":"Abmelden", "login":"Login", "signup": "Registrieren", "imprint":"Impressum", "privacy_policy":"Datenschutzerklärung", - "license":"Lizenz", "back":"zurück", + "sent":"Senden", "transactions":"Transaktionen", "language":"Sprachen", "languages":{ diff --git a/frontend/src/locales/en.json b/frontend/src/locales/en.json index e5757458c..37b510d7e 100644 --- a/frontend/src/locales/en.json +++ b/frontend/src/locales/en.json @@ -4,10 +4,10 @@ "logout":"Logout", "login":"Login", "signup": "Sign up", - "imprint":"Imprint", + "imprint":"Legal notice", "privacy_policy":"Privacy policy", - "license":"License", "back":"back", + "sent":"Sent", "transactions":"transactions", "language":"Language", "languages":{ @@ -40,7 +40,7 @@ "site": { "login": { "community":"You are the community", - "remember":"Remember me", + "remember":"Remember password", "signin":"Sign in", "forgot_pwd":"Forgot password?", "new_wallet":"Create new wallet" diff --git a/frontend/src/main.js b/frontend/src/main.js index d98768a6e..78d03e58f 100755 --- a/frontend/src/main.js +++ b/frontend/src/main.js @@ -14,7 +14,7 @@ import router from './routes/router'; Vue.use(DashboardPlugin); Vue.config.productionTip = false; Vue.use(VueCookies); - + /* eslint-disable no-new */ new Vue({ diff --git a/frontend/src/plugins/dashboard-plugin.js b/frontend/src/plugins/dashboard-plugin.js index a903cab74..67b161292 100755 --- a/frontend/src/plugins/dashboard-plugin.js +++ b/frontend/src/plugins/dashboard-plugin.js @@ -37,6 +37,9 @@ import 'vue-good-table/dist/vue-good-table.css'; import VueMoment from 'vue-moment'; +import CountryFlag from 'vue-country-flag' + + Object.keys(rules).forEach(rule => { extend(rule, { ...rules[rule], // copies rule configuration @@ -56,6 +59,7 @@ export default { Vue.use(VueQrcodeReader); Vue.use(VueQrcode); Vue.use(VueFlatPickr); + Vue.use(CountryFlag); configure({ classes: { valid: 'is-valid', diff --git a/frontend/src/store/store.js b/frontend/src/store/store.js index c33fbb338..bf4b610bb 100644 --- a/frontend/src/store/store.js +++ b/frontend/src/store/store.js @@ -7,11 +7,13 @@ import communityAPI from '../apis/communityAPI' import axios from 'axios' //import CONFIG from '../config' - export const store = new Vuex.Store({ state: { session_id: null, email: null, + language: 'en', + sizeDE: 'normal', + sizeGB: 'big', user : { name:"", balance: 0, @@ -43,6 +45,19 @@ export const store = new Vuex.Store({ }, // Syncronous mutation of the state mutations: { + language: (state, language) => { + console.log('mutation: language', language) + state.language = language + $cookies.set('gdd_lang', language); + if (state.language == "de") { + state.sizeDE = 'big' + state.sizeGB = 'normal' + } else { + state.sizeDE = 'normal' + state.sizeGB = 'big' + } + + }, email: (state, email) => { //console.log('mutation: email') state.email = email @@ -77,12 +92,14 @@ export const store = new Vuex.Store({ // console.log('result.data.state',result.data.state) // console.log('result.data.session_id',result.data.session_id) - + if( result.success){ commit('session_id', result.result.data.session_id) commit('email', data.email) $cookies.set('gdd_session_id', result.result.data.session_id); $cookies.set('gdd_u', data.email); + + router.push('/overview') } else { // Register failed, we perform a logout @@ -128,6 +145,7 @@ export const store = new Vuex.Store({ commit('email', null) $cookies.remove('gdd_session_id'); $cookies.remove('gdd_u'); + $cookies.remove('gdd_lang'); router.push('/Login') }, ajaxCreate: async ({ dispatch, state }) => { diff --git a/frontend/src/views/Layout/AuthLayout.vue b/frontend/src/views/Layout/AuthLayout.vue index 089950afd..90b519392 100755 --- a/frontend/src/views/Layout/AuthLayout.vue +++ b/frontend/src/views/Layout/AuthLayout.vue @@ -61,9 +61,6 @@ Datenschutzerklärung - - License - diff --git a/frontend/src/views/Layout/AuthLayout_gdd.vue b/frontend/src/views/Layout/AuthLayout_gdd.vue index b53eb676f..4dee33b6e 100644 --- a/frontend/src/views/Layout/AuthLayout_gdd.vue +++ b/frontend/src/views/Layout/AuthLayout_gdd.vue @@ -2,47 +2,23 @@
diff --git a/frontend/src/views/Starter/SampleFooter.vue b/frontend/src/views/Starter/SampleFooter.vue deleted file mode 100644 index 7786a507c..000000000 --- a/frontend/src/views/Starter/SampleFooter.vue +++ /dev/null @@ -1,37 +0,0 @@ - - - diff --git a/frontend/src/views/Starter/SampleLayout.vue b/frontend/src/views/Starter/SampleLayout.vue deleted file mode 100755 index 5b3d69f21..000000000 --- a/frontend/src/views/Starter/SampleLayout.vue +++ /dev/null @@ -1,77 +0,0 @@ - - diff --git a/frontend/src/views/Starter/SampleNavbar.vue b/frontend/src/views/Starter/SampleNavbar.vue deleted file mode 100644 index 859f4464b..000000000 --- a/frontend/src/views/Starter/SampleNavbar.vue +++ /dev/null @@ -1,137 +0,0 @@ - - - diff --git a/frontend/src/views/Starter/SamplePage.vue b/frontend/src/views/Starter/SamplePage.vue deleted file mode 100755 index e0dee359f..000000000 --- a/frontend/src/views/Starter/SamplePage.vue +++ /dev/null @@ -1,95 +0,0 @@ - - - diff --git a/frontend/yarn.lock b/frontend/yarn.lock index 06586d16a..aecec84d1 100644 --- a/frontend/yarn.lock +++ b/frontend/yarn.lock @@ -9626,6 +9626,11 @@ vue-cookies@^1.7.4: resolved "https://registry.yarnpkg.com/vue-cookies/-/vue-cookies-1.7.4.tgz#d241d0a0431da0795837651d10b4d73e7c8d3e8d" integrity sha512-mOS5Btr8V9zvAtkmQ7/TfqJIropOx7etDAgBywPCmHjvfJl2gFbH2XgoMghleLoyyMTi5eaJss0mPN7arMoslA== +vue-country-flag@^2.0.3: + version "2.0.3" + resolved "https://registry.yarnpkg.com/vue-country-flag/-/vue-country-flag-2.0.3.tgz#f644d8f5150a97f473f0c13e04622c6ede37d1de" + integrity sha512-QZM3hNNhnGU+G1qnpq1BiICE4Zh91UA++/UpM0go8XbxkVxTiPy4asWY07vL/3PtW8M69YqWVbhwG13rzvNwkA== + vue-eslint-parser@^2.0.3: version "2.0.3" resolved "https://registry.yarnpkg.com/vue-eslint-parser/-/vue-eslint-parser-2.0.3.tgz#c268c96c6d94cfe3d938a5f7593959b0ca3360d1" From 48b5b02946ae4f77e98bed3d75853f7a773f246b Mon Sep 17 00:00:00 2001 From: ogerly Date: Mon, 22 Mar 2021 16:06:10 +0100 Subject: [PATCH 12/12] clear for deploy phase 1 WIP --- frontend/src/routes/routes.js | 7 ++- frontend/src/views/KontoOverview/GddSent.vue | 53 +++++++++++++------ .../src/views/KontoOverview/GddStatus.vue | 11 ++-- frontend/src/views/Layout/ContentFooter.vue | 5 +- frontend/src/views/Pages/Explorer.vue | 28 ++++++++++ 5 files changed, 79 insertions(+), 25 deletions(-) create mode 100644 frontend/src/views/Pages/Explorer.vue diff --git a/frontend/src/routes/routes.js b/frontend/src/routes/routes.js index 4acb71d90..256758d3a 100755 --- a/frontend/src/routes/routes.js +++ b/frontend/src/routes/routes.js @@ -26,6 +26,11 @@ const routes = [ { path: '/password', component: () => import('../views/Pages/Password.vue') + }, + { + path: '/explorer', + name: 'Explorer', + component: () => import('../views/Pages/Explorer.vue'), } ] }, @@ -68,7 +73,7 @@ const routes = [ meta: { requiresAuth: true } - } + } ] } ]; diff --git a/frontend/src/views/KontoOverview/GddSent.vue b/frontend/src/views/KontoOverview/GddSent.vue index b0a153b3b..2d2a858c7 100644 --- a/frontend/src/views/KontoOverview/GddSent.vue +++ b/frontend/src/views/KontoOverview/GddSent.vue @@ -6,6 +6,9 @@ {{ $t('site.overview.send_gradido') }} + + Achtung! Bitte überprüfe alle deine Eingaben sehr genau. Du bist alleine Verantwortlich für deine Entscheidungen. Versendete Gradidos können nicht wieder zurück geholt werden. +
@@ -28,6 +31,10 @@
+ + Empfänger + + - - + +
+ + Betrag + + + maximale anzahl GDD zum versenden erreicht! + - - +
GDD
- - -
GDD
-
+ {{$store.state.user.balance}} + -
+ + + Nachricht für den Empfänger (optional) + + - - + + - +
+ {{$refs.observer}}
+ + + + {{$t('form.send_now')}} {{$t('form.cancel')}}
@@ -110,17 +129,21 @@ export default { }, data(){ return { - scan: false, + scan: false, show: true, form: { img: '', email: '', amount: '', memo:'' - } + }, + sent: false, } }, methods: { + sendbutton(){ + this.sent = true + }, async onDecode (decodedString) { console.log('onDecode JSON.parse(decodedString)',JSON.parse(decodedString) ) const arr = JSON.parse(decodedString) diff --git a/frontend/src/views/KontoOverview/GddStatus.vue b/frontend/src/views/KontoOverview/GddStatus.vue index 048e40a78..13d60fd13 100644 --- a/frontend/src/views/KontoOverview/GddStatus.vue +++ b/frontend/src/views/KontoOverview/GddStatus.vue @@ -4,7 +4,8 @@ + class="mb-4" + style="font-size: -webkit-xxx-large"> {{ $n($store.state.user.balance) }} GDD @@ -22,12 +23,6 @@ \ No newline at end of file diff --git a/frontend/src/views/Layout/ContentFooter.vue b/frontend/src/views/Layout/ContentFooter.vue index d7c9d3e77..fb913523e 100755 --- a/frontend/src/views/Layout/ContentFooter.vue +++ b/frontend/src/views/Layout/ContentFooter.vue @@ -3,7 +3,7 @@
- © {{year}} Gradido Wallet + © {{year}} Gradido Wallet
@@ -17,6 +17,9 @@ {{$t('privacy_policy')}} + + GDD-Explorer +
diff --git a/frontend/src/views/Pages/Explorer.vue b/frontend/src/views/Pages/Explorer.vue new file mode 100644 index 000000000..edd6dbcc0 --- /dev/null +++ b/frontend/src/views/Pages/Explorer.vue @@ -0,0 +1,28 @@ +