diff --git a/frontend/src/views/Layout/DashboardLayout_gdd.vue b/frontend/src/views/Layout/DashboardLayout_gdd.vue
index 70a35a40a..ce4d29768 100755
--- a/frontend/src/views/Layout/DashboardLayout_gdd.vue
+++ b/frontend/src/views/Layout/DashboardLayout_gdd.vue
@@ -2,24 +2,25 @@
-
-
-
+
+
+
+
diff --git a/frontend/src/views/Pages/UserProfile/UserCard_FormUserData.vue b/frontend/src/views/Pages/UserProfile/UserCard_FormUserData.vue
index 79e8df37b..3bb1c48ae 100644
--- a/frontend/src/views/Pages/UserProfile/UserCard_FormUserData.vue
+++ b/frontend/src/views/Pages/UserProfile/UserCard_FormUserData.vue
@@ -12,7 +12,7 @@
v-if="editUserdata"
@click="editUserdata = !editUserdata"
class="pointer"
- icon="gear-fill"
+ icon="pencil"
>
{{ $t('form.change') }}
@@ -29,49 +29,57 @@
-
-
- {{ $t('form.firstname') }}
-
-
- {{ form.firstName }}
-
-
-
-
-
-
-
- {{ $t('form.lastname') }}
-
-
- {{ form.lastName }}
-
-
-
-
-
-
-
- {{ $t('form.description') }}
-
-
- {{ form.description }}
-
-
-
-
-
+
+
+
+ {{ $t('form.firstname') }}
+
+
+ {{ form.firstName }}
+
+
+
+
+
+
+
+ {{ $t('form.lastname') }}
+
+
+ {{ form.lastName }}
+
+
+
+
+
+
+
+ {{ $t('form.description') }}
+
+
+ {{ form.description }}
+
+
+
+
+
-
-
-
-
- {{ $t('form.save') }}
-
-
-
-
+
+
+
+
+ {{ $t('form.save') }}
+
+
+
+
+
@@ -93,9 +101,21 @@ export default {
lastName: this.$store.state.lastName,
description: this.$store.state.description,
},
+ loading: true,
}
},
methods: {
+ loadSubmitButton() {
+ if (
+ this.form.firstName !== this.$store.state.firstName ||
+ this.form.lastName !== this.$store.state.lastName ||
+ this.form.description !== this.$store.state.description
+ ) {
+ this.loading = false
+ } else {
+ this.loading = true
+ }
+ },
async onSubmit() {
const result = await loginAPI.updateUserInfos(
this.$store.state.sessionId,
diff --git a/frontend/src/views/Pages/UserProfile/UserCard_FormUserPasswort.vue b/frontend/src/views/Pages/UserProfile/UserCard_FormUserPasswort.vue
index e1ade4ae0..6bc1d8942 100644
--- a/frontend/src/views/Pages/UserProfile/UserCard_FormUserPasswort.vue
+++ b/frontend/src/views/Pages/UserProfile/UserCard_FormUserPasswort.vue
@@ -1,62 +1,105 @@
-
-
-
- {{ $t('form.password') }} {{ $t('form.change') }}
-
-
-
-
-
-
-
- {{ $t('form.password_old') }}
-
-
-
+
-
-
- {{ $t('form.password_new') }}
-
-
-
-
-
-
-
- {{ $t('form.password_new_repeat') }}
-
-
-
-
-
-
+
+
+
+
+ {{ $t('form.password_old') }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ $t('form.password_new') }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ $t('form.password_new_repeat') }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ $t('form.save') }}
+
+
+
+
+
+
@@ -71,10 +114,30 @@ export default {
email: null,
password: '',
passwordNew: '',
- passwordNew2: '',
+ passwordNewRepeat: '',
+ passwordVisibleOldPwd: false,
+ passwordVisibleNewPwd: false,
+ passwordVisibleNewPwdRepeat: false,
+ loading: true,
}
},
methods: {
+ togglePasswordVisibilityNewPwd() {
+ this.passwordVisibleNewPwd = !this.passwordVisibleNewPwd
+ },
+ togglePasswordVisibilityNewPwdRepeat() {
+ this.passwordVisibleNewPwdRepeat = !this.passwordVisibleNewPwdRepeat
+ },
+ togglePasswordVisibilityOldPwd() {
+ this.passwordVisibleOldPwd = !this.passwordVisibleOldPwd
+ },
+ loadSubmitButton() {
+ if (this.passwordVisibleNewPwd === this.passwordVisibleNewPwdRepeat) {
+ this.loading = false
+ } else {
+ this.loading = true
+ }
+ },
async onSubmit() {
// console.log(this.data)
const result = await loginAPI.changePasswordProfile(
diff --git a/frontend/src/views/Pages/UserProfile/UserCard_FormUsername.vue b/frontend/src/views/Pages/UserProfile/UserCard_FormUsername.vue
index 445c69f8e..38738e54a 100644
--- a/frontend/src/views/Pages/UserProfile/UserCard_FormUsername.vue
+++ b/frontend/src/views/Pages/UserProfile/UserCard_FormUsername.vue
@@ -7,7 +7,7 @@
v-if="editUsername"
@click="editUsername = !editUsername"
class="pointer"
- icon="gear-fill"
+ icon="pencil"
>
{{ $t('form.change') }}
@@ -32,6 +32,9 @@
+
+ {{ $t('form.username') }}
+