From 87501e094d865521212de54f6a3b38ed6ad5228f Mon Sep 17 00:00:00 2001 From: Thomas Kaul <4159106+dtslvr@users.noreply.github.com> Date: Sat, 8 Jun 2024 17:20:38 +0200 Subject: [PATCH] Feature/improve allocations by ETF holding for mobile (#3469) --- .../access-table/access-table.component.html | 123 ++-- .../accounts-table.component.html | 528 +++++++++--------- .../components/admin-users/admin-users.html | 2 +- .../components/admin-users/admin-users.scss | 14 +- .../user-account-access.scss | 4 - .../src/app/pages/accounts/accounts-page.html | 36 +- .../src/app/pages/accounts/accounts-page.scss | 4 - apps/client/src/styles.scss | 4 + .../activities-table.component.html | 2 +- .../activities-table.component.scss | 4 - .../holdings-table.component.html | 2 +- .../holdings-table.component.scss | 14 +- .../top-holdings/top-holdings.component.html | 118 ++-- 13 files changed, 431 insertions(+), 424 deletions(-) diff --git a/apps/client/src/app/components/access-table/access-table.component.html b/apps/client/src/app/components/access-table/access-table.component.html index 8112ca4ad..a8386d5d2 100644 --- a/apps/client/src/app/components/access-table/access-table.component.html +++ b/apps/client/src/app/components/access-table/access-table.component.html @@ -1,67 +1,72 @@ - - - - - +
+
Alias - {{ element.alias }} -
+ + + + - - - - + + + + - - - - + + + + - - - + - + + {{ baseUrl }}/{{ defaultLanguageCode }}/p/{{ element.id }} + + + - - + + - - + + + + + - - -
Alias + {{ element.alias }} + Grantee - {{ element.grantee }} - Grantee + {{ element.grantee }} + Permission -
- @if (element.permissions.includes('READ')) { - - View - } @else if (element.permissions.includes('READ_RESTRICTED')) { - - Restricted view - } -
-
Permission +
+ @if (element.permissions.includes('READ')) { + + View + } @else if (element.permissions.includes('READ_RESTRICTED')) { + + Restricted view + } +
+
Details - Details +
-
-
- - - + - -
+ + + + diff --git a/apps/client/src/app/components/accounts-table/accounts-table.component.html b/apps/client/src/app/components/accounts-table/accounts-table.component.html index 241b5d90a..af3ba6787 100644 --- a/apps/client/src/app/components/accounts-table/accounts-table.component.html +++ b/apps/client/src/app/components/accounts-table/accounts-table.component.html @@ -10,280 +10,298 @@ - - - - - - - - - - - - - - - - - - +
+
-
- -
-
- Name - - - {{ element.name }} - Total - Currency - - {{ element.currency }} - - {{ baseCurrency }} -
+ + + + + - - - + - - + {{ element.name }} + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - + - - + + + + - - - + + + + + + + + + + + + + - - + + + + + + + - - - -
+
+ +
+
- Platform - -
+ +
+ Name + - {{ element.Platform?.name }} - - Total - # - Activities - - {{ element.transactionCount }} - - {{ transactionCount }} - + Currency + + {{ element.currency }} + + {{ baseCurrency }} + - Cash Balance - - - - - + Platform + +
+ + {{ element.Platform?.name }} +
+
- Value - - - - - + # + Activities + + {{ element.transactionCount }} + + {{ transactionCount }} + - Value - - - - - + Cash Balance + + + + + - + Value + - - - + + - + Value + - - - - + + + + - -
+ + + + +
-
+
+ +

Accounts

-
- -
+
diff --git a/apps/client/src/app/pages/accounts/accounts-page.scss b/apps/client/src/app/pages/accounts/accounts-page.scss index 32e9fe146..5d4e87f30 100644 --- a/apps/client/src/app/pages/accounts/accounts-page.scss +++ b/apps/client/src/app/pages/accounts/accounts-page.scss @@ -1,7 +1,3 @@ :host { display: block; - - .accounts { - overflow-x: auto; - } } diff --git a/apps/client/src/styles.scss b/apps/client/src/styles.scss index ce18789b2..9d548f1ff 100644 --- a/apps/client/src/styles.scss +++ b/apps/client/src/styles.scss @@ -509,6 +509,10 @@ ngx-skeleton-loader { min-width: unset !important; } +.overflow-x-auto { + overflow-x: auto; +} + .page { display: flex; flex-direction: column; diff --git a/libs/ui/src/lib/activities-table/activities-table.component.html b/libs/ui/src/lib/activities-table/activities-table.component.html index 68950a0c0..679f44790 100644 --- a/libs/ui/src/lib/activities-table/activities-table.component.html +++ b/libs/ui/src/lib/activities-table/activities-table.component.html @@ -70,7 +70,7 @@ } -
+
+
- - - - +
+
- Name - - {{ element?.name | titlecase }} -
+ + + + - - - - + + + + - - - - + + + + - - -
+ Name + +
{{ element?.name | titlecase }}
+
- Value - -
- -
-
+ Value + +
+ +
+
- Allocation - % - -
- -
-
+ Allocation + % + +
+ +
+
+
+