From 8c5b4429b13ba4a2d52f0b954717305b590ea180 Mon Sep 17 00:00:00 2001 From: Julian Krauser Date: Wed, 20 Nov 2024 09:32:52 +0100 Subject: [PATCH] show user login data --- src/router/index.ts | 14 +++- src/templates/Main.vue | 18 ++++- src/views/account/LoginData.vue | 112 ++++++++++++++++++++++++++++++++ src/views/account/View.vue | 6 +- src/views/setup/Verify.vue | 4 +- 5 files changed, 146 insertions(+), 8 deletions(-) create mode 100644 src/views/account/LoginData.vue diff --git a/src/router/index.ts b/src/router/index.ts index 3cb7111..4fff023 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -459,9 +459,17 @@ const router = createRouter({ { path: "", name: "account-default", - component: () => import("@/views/admin/ViewSelect.vue"), - meta: { type: "read", section: "club" }, - beforeEnter: [abilityAndNavUpdate], + component: () => import("@/views/account/ViewSelect.vue"), + }, + { + path: "me", + name: "account-me", + component: () => import("@/views/account/ViewSelect.vue"), + }, + { + path: "logindata", + name: "account-logindata", + component: () => import("@/views/account/LoginData.vue"), }, { path: ":pathMatch(.*)*", diff --git a/src/templates/Main.vue b/src/templates/Main.vue index b2ae33f..1ae8881 100644 --- a/src/templates/Main.vue +++ b/src/templates/Main.vue @@ -2,7 +2,11 @@
zur Übersicht @@ -31,9 +35,17 @@ import { useNavigationStore } from "@/stores/admin/navigation"; + + diff --git a/src/views/account/View.vue b/src/views/account/View.vue index bf88045..1431f23 100644 --- a/src/views/account/View.vue +++ b/src/views/account/View.vue @@ -7,7 +7,11 @@ diff --git a/src/views/setup/Verify.vue b/src/views/setup/Verify.vue index aad549f..0f6fcf5 100644 --- a/src/views/setup/Verify.vue +++ b/src/views/setup/Verify.vue @@ -23,7 +23,9 @@ class="w-5 h-5 p-2 box-content absolute right-1 top-1/2 -translate-y-1/2 bg-white cursor-pointer" @click="copyToClipboard" /> - +
+ +