From ba5dfdbe4da6c32360625a32b90cab9e3b9fbeeb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C5=91cze=20Bence?= Date: Tue, 2 May 2023 19:49:43 +0200 Subject: [PATCH 1/3] RVRNEXT-34 add style class for form label --- public/static/css/rvr.css | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/public/static/css/rvr.css b/public/static/css/rvr.css index b98f310..0da7136 100644 --- a/public/static/css/rvr.css +++ b/public/static/css/rvr.css @@ -528,6 +528,11 @@ p.paginateContainer > *:not(:last-child) { border-right: solid #869ab9 1px; } +p.formLabel { + font-weight: 700; + font-size: 14px; +} + @media screen and (max-width: 424px) { div.gridContainer { grid-template-columns: auto; From a941f5a1cde9e2836ec1563330f6b10fa0f03835 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C5=91cze=20Bence?= Date: Tue, 2 May 2023 19:51:15 +0200 Subject: [PATCH 2/3] RVRNEXT-34 remove placeholders, use labels instead --- .../js/communities/community_members.js | 1 - views/account/account.php | 28 ++++++++++++------- views/communities/community_currencies.php | 6 ++-- views/communities/community_edit.php | 9 ++++-- views/communities/community_members.php | 2 +- views/communities/currency_exchange_rates.php | 4 +-- views/communities/transaction_edit.php | 22 +++++++++------ views/login/login.php | 6 ++-- views/login/password_reset_request.php | 3 +- views/login/reset_password.php | 9 ++++-- 10 files changed, 56 insertions(+), 34 deletions(-) diff --git a/public/static/js/communities/community_members.js b/public/static/js/communities/community_members.js index fe9e478..623adef 100644 --- a/public/static/js/communities/community_members.js +++ b/public/static/js/communities/community_members.js @@ -1,7 +1,6 @@ (function () { const element = document.getElementById('newMember').elements['user_id']; const select = new TomSelect(element, { - placeholder: 'User', valueField: 'value', labelField: 'label', searchField: 'label', diff --git a/views/account/account.php b/views/account/account.php index c5cb798..fac3eac 100644 --- a/views/account/account.php +++ b/views/account/account.php @@ -9,12 +9,12 @@

Please confirm your identity with your password or with Google to modify your account.

-

Please confirm your identity with your password to modify your account.

- +

Please confirm your identity with Google to modify your account.

@@ -23,15 +23,23 @@

- - - - +

Email address

+ +

Username

+ +

New password

+ +

New password confirmation

+
- - - - +

Full name

+ +

Nickname

+ +

Phone

+ +

ID number

+

diff --git a/views/communities/community_currencies.php b/views/communities/community_currencies.php index 6e92174..dadb4d1 100644 --- a/views/communities/community_currencies.php +++ b/views/communities/community_currencies.php @@ -10,7 +10,7 @@ - + @@ -36,10 +36,10 @@
CurrencyCode Round digits
- +
- + diff --git a/views/communities/community_edit.php b/views/communities/community_edit.php index b7b7cee..25f09be 100644 --- a/views/communities/community_edit.php +++ b/views/communities/community_edit.php @@ -16,10 +16,13 @@ Container::$routeCollection->getRoute('community.new-action')->generateLink(); ?>
- +

Name

+ - - +

Main currency code

+ +

Main currency round digits

+

diff --git a/views/communities/community_members.php b/views/communities/community_members.php index 139e015..e9c886a 100644 --- a/views/communities/community_members.php +++ b/views/communities/community_members.php @@ -14,7 +14,7 @@ - + diff --git a/views/communities/currency_exchange_rates.php b/views/communities/currency_exchange_rates.php index 53e885f..4ae943c 100644 --- a/views/communities/currency_exchange_rates.php +++ b/views/communities/currency_exchange_rates.php @@ -45,10 +45,10 @@
User Owner
- + - + diff --git a/views/communities/transaction_edit.php b/views/communities/transaction_edit.php index 9193e0e..166c0a0 100644 --- a/views/communities/transaction_edit.php +++ b/views/communities/transaction_edit.php @@ -17,27 +17,33 @@ Container::$routeCollection->getRoute('community.transactions.new-action')->generateLink(['communityId' => $community->getId()]); ?>
+

Payer

- + - - - +

Sum

+ +

Currency

+ - +

Time

+

diff --git a/views/login/login.php b/views/login/login.php index 43ebd0e..1a63227 100644 --- a/views/login/login.php +++ b/views/login/login.php @@ -4,8 +4,10 @@

Login

- - +

Email address / Username

+ +

Password

+

diff --git a/views/login/password_reset_request.php b/views/login/password_reset_request.php index e3ea761..449dcec 100644 --- a/views/login/password_reset_request.php +++ b/views/login/password_reset_request.php @@ -6,7 +6,8 @@

Request password reset

- +

Email address

+
diff --git a/views/login/reset_password.php b/views/login/reset_password.php index eca487a..a1a19cb 100644 --- a/views/login/reset_password.php +++ b/views/login/reset_password.php @@ -5,9 +5,12 @@
- - - +

Email address

+ +

Password

+ +

Password confirmation

+

From 7f1177cc558506753b4c37428a296aa0757d7427 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C5=91cze=20Bence?= Date: Tue, 2 May 2023 19:53:06 +0200 Subject: [PATCH 3/3] RVRNEXT-34 swap delete and save in transaction_edit --- views/communities/transaction_edit.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/views/communities/transaction_edit.php b/views/communities/transaction_edit.php index 166c0a0..f5e3f02 100644 --- a/views/communities/transaction_edit.php +++ b/views/communities/transaction_edit.php @@ -46,10 +46,10 @@

+ -