From dfda842c7b179baec3bc80212d0ab9cf7a56ecc6 Mon Sep 17 00:00:00 2001 From: Janis Hutz Date: Thu, 10 Aug 2023 12:23:26 +0200 Subject: [PATCH] password reset preparations done --- .../src/components/notifications/popups.vue | 12 +++ src/webapp/main/src/router/mainRoutes.js | 9 +++ .../main/src/views/admin/PluginsView.vue | 3 +- .../main/src/views/admin/SettingsView.vue | 80 +++++++++++-------- .../main/src/views/user/PasswordResetView.vue | 42 ++++++++++ 5 files changed, 112 insertions(+), 34 deletions(-) create mode 100644 src/webapp/main/src/views/user/PasswordResetView.vue diff --git a/src/webapp/main/src/components/notifications/popups.vue b/src/webapp/main/src/components/notifications/popups.vue index b516e2f..9188a28 100644 --- a/src/webapp/main/src/components/notifications/popups.vue +++ b/src/webapp/main/src/components/notifications/popups.vue @@ -64,6 +64,9 @@ +
+ +
@@ -193,6 +196,15 @@ background-color: var( --popup-color ); } + .popup-iframe { + width: 100%; + height: 100%; + } + + .iframe-wrapper { + height: 100%; + } + .small { width: 40%; height: 40%; diff --git a/src/webapp/main/src/router/mainRoutes.js b/src/webapp/main/src/router/mainRoutes.js index 8e96fa3..ad92f1c 100644 --- a/src/webapp/main/src/router/mainRoutes.js +++ b/src/webapp/main/src/router/mainRoutes.js @@ -116,6 +116,15 @@ export default [ transition: 'scale' } }, + { + path: '/password-reset', + name: 'passwordReset', + component: () => import( '@/views/user/PasswordResetView.vue' ), + meta: { + title: 'Reset password - ', + transition: 'scale' + } + }, { path: '/guest', name: 'guestPurchase', diff --git a/src/webapp/main/src/views/admin/PluginsView.vue b/src/webapp/main/src/views/admin/PluginsView.vue index 50af34a..d525352 100644 --- a/src/webapp/main/src/views/admin/PluginsView.vue +++ b/src/webapp/main/src/views/admin/PluginsView.vue @@ -10,8 +10,9 @@ diff --git a/src/webapp/main/src/views/admin/SettingsView.vue b/src/webapp/main/src/views/admin/SettingsView.vue index bc4caa5..c88c770 100644 --- a/src/webapp/main/src/views/admin/SettingsView.vue +++ b/src/webapp/main/src/views/admin/SettingsView.vue @@ -25,6 +25,7 @@

Admin Accounts

+

Before setting or editing permissions here, please read the corresponding section of the documentation here.
Usually, the permissions automatically set by the system on account creation should be appropriate.