From 7e13e2baa7690d5dfc4a8b12097a4ed85ea825d7 Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Thu, 7 Sep 2023 11:57:09 +0200 Subject: [PATCH] fix(front): fixes in EditIdentity view Signed-off-by: Thomas Citharel --- js/src/assets/oruga-tailwindcss.css | 6 ++ .../views/Account/children/EditIdentity.vue | 74 ++++++++----------- 2 files changed, 36 insertions(+), 44 deletions(-) diff --git a/js/src/assets/oruga-tailwindcss.css b/js/src/assets/oruga-tailwindcss.css index 81d623e09..2583e89fc 100644 --- a/js/src/assets/oruga-tailwindcss.css +++ b/js/src/assets/oruga-tailwindcss.css @@ -65,9 +65,15 @@ body { .field-label { @apply block text-gray-700 dark:text-gray-100 text-base font-bold mb-2; } +.o-field--horizontal.field { + @apply items-center; +} .o-field__horizontal-label .field-label { @apply mb-0; } +.o-field__horizontal-body > .field { + @apply mt-0; +} .field-danger { @apply text-red-500; } diff --git a/js/src/views/Account/children/EditIdentity.vue b/js/src/views/Account/children/EditIdentity.vue index 2873cd793..65f6123a0 100644 --- a/js/src/views/Account/children/EditIdentity.vue +++ b/js/src/views/Account/children/EditIdentity.vue @@ -2,24 +2,23 @@
-

+

{{ displayName(identity) }} - {{ $t("I create an identity") }} + {{ t("I create an identity") }}

- + {{ error }} - +
- {{ $t("Save") }} + {{ t("Save") }}
- + - {{ $t("Delete this identity") }} + {{ t("Delete this identity") }}
-

{{ $t("Profile feeds") }}

+

{{ t("Profile feeds") }}

{{ - $t( + t( "These feeds contain event data for the events for which this specific profile is a participant or creator. You should keep these private. You can find feeds for all of your profiles into your notification settings." ) }} @@ -116,7 +116,7 @@ :key="feedToken.token" > {{ $t("RSS/Atom Feed") }}{{ t("RSS/Atom Feed") }} {{ $t("ICS/WebCal Feed") }}{{ t("ICS/WebCal Feed") }} {{ $t("Regenerate new links") }}{{ t("Regenerate new links") }}

@@ -166,7 +166,7 @@ icon-left="refresh" variant="text" @click="generateFeedTokens" - >{{ $t("Create new links") }}{{ t("Create new links") }} @@ -176,28 +176,14 @@