From 40e534ab718bea26ab9a6fffec1cb33d1b0c5035 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mateusz=20Micha=C5=82owski?= Date: Thu, 8 Aug 2024 18:02:13 +0200 Subject: [PATCH] feature(frontend): Creation fixes --- .../src/assets/scss/gradido-template.scss | 7 +- .../ContributionMessagesFormular.vue | 171 ++++--- .../ContributionMessagesList.vue | 6 +- .../Contributions/ContributionForm.vue | 215 ++++---- .../Contributions/ContributionList.vue | 8 +- .../Contributions/ContributionListItem.vue | 481 ++++++++++++------ .../components/GddSend/TransactionForm.vue | 2 +- .../src/components/Inputs/InputAmount.vue | 17 +- frontend/src/components/Inputs/InputHour.vue | 38 +- frontend/src/components/Menu/Sidebar.vue | 5 +- .../ContentHeader/CommunityMember.vue | 2 +- .../Template/ContentHeader/GddAmount.vue | 2 +- .../Template/ContentHeader/GdtAmount.vue | 10 +- .../Template/ContentHeader/NavCommunity.vue | 64 ++- frontend/src/pages/Community.vue | 53 +- frontend/src/plugins/apolloProvider.js | 4 +- frontend/yarn.lock | 72 +-- 17 files changed, 679 insertions(+), 478 deletions(-) diff --git a/frontend/src/assets/scss/gradido-template.scss b/frontend/src/assets/scss/gradido-template.scss index fc9d496c3..131f01dc7 100644 --- a/frontend/src/assets/scss/gradido-template.scss +++ b/frontend/src/assets/scss/gradido-template.scss @@ -11,7 +11,7 @@ body { .bg-gradient { background: rgb(4 112 6); - background: linear-gradient(90deg, rgb(4 112 6 / 100%) 22%, rgb(197 141 56 / 100%) 98%); + background: linear-gradient(90deg, rgb(4 112 6 / 100%) 22%, rgb(197 141 56 / 100%) 98%) !important; color: white; } @@ -328,3 +328,8 @@ a:hover, box-shadow: 0 0 0 0 rgb(204 169 44 / 0%); } } + +.transparent-button { + background-color: transparent; + border: none; +} diff --git a/frontend/src/components/ContributionMessages/ContributionMessagesFormular.vue b/frontend/src/components/ContributionMessages/ContributionMessagesFormular.vue index 152e66265..79713ecc0 100644 --- a/frontend/src/components/ContributionMessages/ContributionMessagesFormular.vue +++ b/frontend/src/components/ContributionMessages/ContributionMessagesFormular.vue @@ -2,77 +2,134 @@
{{ $t('form.reply') }}
- - + + > - {{ $t('form.cancel') }} + {{ $t('form.cancel') }} - + {{ $t('form.reply') }} - + - +
---> + + diff --git a/frontend/src/components/ContributionMessages/ContributionMessagesList.vue b/frontend/src/components/ContributionMessages/ContributionMessagesList.vue index 3a70245f4..b7f97daff 100644 --- a/frontend/src/components/ContributionMessages/ContributionMessagesList.vue +++ b/frontend/src/components/ContributionMessages/ContributionMessagesList.vue @@ -15,10 +15,10 @@
- - + + {{ $t('form.close') }} - +
diff --git a/frontend/src/components/Contributions/ContributionForm.vue b/frontend/src/components/Contributions/ContributionForm.vue index e2e3d0a16..af883e640 100644 --- a/frontend/src/components/Contributions/ContributionForm.vue +++ b/frontend/src/components/Contributions/ContributionForm.vue @@ -8,9 +8,11 @@ + /> + /> @@ -66,7 +64,7 @@ type="reset" variant="secondary" data-test="button-cancel" - @click="reset" + @click="fullFormReset" > {{ $t('form.cancel') }} @@ -87,96 +85,123 @@ - diff --git a/frontend/src/pages/Community.vue b/frontend/src/pages/Community.vue index fe6148e9d..faa623be9 100644 --- a/frontend/src/pages/Community.vue +++ b/frontend/src/pages/Community.vue @@ -1,7 +1,7 @@