diff --git a/dashboard/login.html b/dashboard/login.html index 6c494865e..7411a3fb4 100644 --- a/dashboard/login.html +++ b/dashboard/login.html @@ -6,9 +6,8 @@ ##NAME## - - + - - + + - - + +
+ + - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
-
-
-
- -
-

{{ 'passwordReset.title' | tr }}

-
-
-
-
-
-
-
- - -
-
-
- {{ 'passwordReset.backToLoginAction' | tr }} - -
-
-
-
-
-
- -
-
-
-
- -
-

{{ 'passwordReset.emailSent.title' | tr }}

-

{{ error }}

-
- {{ 'passwordReset.backToLoginAction' | tr }} -
-
-
-
- -
-
-
-
- -
-

{{ 'passwordReset.newPassword.title' | tr }}

-
-
-
-
-
-

{{ error }}

-
-
-
-
-
-
- -
- -
- {{ 'passwordReset.newPassword.errorLength' | tr }} -
- -
-
- -
- {{ 'passwordReset.newPassword.errorMismatch' | tr }} -
- -
-
- - -
-
- {{ 'passwordReset.backToLoginAction' | tr }} - -
-
-
-
-
-
- -
-
-
-
- -
-

{{ 'passwordReset.success.title' | tr }}

-
- {{ 'passwordReset.success.openDashboardAction' | tr }} -
-
-
-
- - - -
- - - diff --git a/dashboard/src/components/Login.vue b/dashboard/src/components/Login.vue index 6fa0b2d3c..6c08e5374 100644 --- a/dashboard/src/components/Login.vue +++ b/dashboard/src/components/Login.vue @@ -9,8 +9,11 @@
+

{{ $t('login.errorIncorrectCredentials') }}

+

{{ $t('login.errorInternal') }}

+
- +
@@ -20,16 +23,14 @@
-

{{ $t('login.errorIncorrectCredentials') }}

-

{{ $t('login.errorInternal') }}

- + {{ $t('login.resetPasswordAction') }}
- +
diff --git a/dashboard/src/components/PasswordReset.vue b/dashboard/src/components/PasswordReset.vue new file mode 100644 index 000000000..c98530048 --- /dev/null +++ b/dashboard/src/components/PasswordReset.vue @@ -0,0 +1,213 @@ + + + + + + diff --git a/dashboard/src/passwordreset.js b/dashboard/src/passwordreset.js new file mode 100644 index 000000000..8d2fc613f --- /dev/null +++ b/dashboard/src/passwordreset.js @@ -0,0 +1,12 @@ +import { createApp } from 'vue'; + +import i18n from './i18n.js'; +import PasswordReset from './components/PasswordReset.vue'; + +(async function init() { + const app = createApp(PasswordReset); + + app.use(await i18n()); + + app.mount('#app'); +})();