diff --git a/src/components/FormBottomBar.vue b/src/components/FormBottomBar.vue new file mode 100644 index 0000000..16a1269 --- /dev/null +++ b/src/components/FormBottomBar.vue @@ -0,0 +1,9 @@ + diff --git a/src/components/TextCopy.vue b/src/components/TextCopy.vue new file mode 100644 index 0000000..b144600 --- /dev/null +++ b/src/components/TextCopy.vue @@ -0,0 +1,44 @@ + + + + + diff --git a/src/router/index.ts b/src/router/index.ts index e25c686..967efe1 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -40,6 +40,24 @@ const router = createRouter({ }, ], }, + { + path: "/reset", + name: "reset", + component: () => import("@/views/RouterView.vue"), + children: [ + { + path: "", + name: "reset-start", + component: () => import("@/views/reset/Start.vue"), + }, + { + path: "reset", + name: "reset-reset", + component: () => import("@/views/reset/Reset.vue"), + props: (route) => ({ mail: route.query.mail, token: route.query.token }), + }, + ], + }, { path: "/admin", name: "admin", diff --git a/src/views/Login.vue b/src/views/Login.vue index 475b76d..57256c8 100644 --- a/src/views/Login.vue +++ b/src/views/Login.vue @@ -3,7 +3,7 @@
LOGO -

Mitgliederverwaltung

+

Mitgliederverwaltung

@@ -23,6 +23,7 @@ />
+ TOTP verloren
@@ -52,6 +47,7 @@ import Spinner from "@/components/Spinner.vue"; import SuccessCheckmark from "@/components/SuccessCheckmark.vue"; import FailureXMark from "@/components/FailureXMark.vue"; import { resetAllPiniaStores } from "@/helpers/piniaReset"; +import FormBottomBar from "@/components/FormBottomBar.vue"; + + diff --git a/src/views/reset/Start.vue b/src/views/reset/Start.vue new file mode 100644 index 0000000..1e4a733 --- /dev/null +++ b/src/views/reset/Start.vue @@ -0,0 +1,69 @@ + + + + + diff --git a/src/views/setup/Setup.vue b/src/views/setup/Setup.vue index c72408a..3c6c48c 100644 --- a/src/views/setup/Setup.vue +++ b/src/views/setup/Setup.vue @@ -3,7 +3,7 @@
LOGO -

Einrichtung

+

Einrichtung

@@ -33,13 +33,7 @@

{{ setupMessage }}

-
- - © Admin-Portal by JK Effects -
+
@@ -49,6 +43,7 @@ import { defineComponent } from "vue"; import Spinner from "@/components/Spinner.vue"; import SuccessCheckmark from "@/components/SuccessCheckmark.vue"; import FailureXMark from "@/components/FailureXMark.vue"; +import FormBottomBar from "@/components/FormBottomBar.vue";