From a556aef2cd71226974e8aa0249a336d739abf544 Mon Sep 17 00:00:00 2001 From: Sofia Papacharalampous Date: Mon, 8 Apr 2024 18:03:26 +0300 Subject: [PATCH] stlyling fixes on dashboard > activity cards --- .../ui/dashboard/drafts/drafts.component.html | 79 ++++--- .../recent-edited-activity.component.html | 10 +- ...edited-description-activity.component.html | 76 ++++--- .../recent-edited-dmp-activity.component.html | 208 +++++++++--------- 4 files changed, 202 insertions(+), 171 deletions(-) diff --git a/dmp-frontend/src/app/ui/dashboard/drafts/drafts.component.html b/dmp-frontend/src/app/ui/dashboard/drafts/drafts.component.html index 5c35bdd72..ec841d1d7 100644 --- a/dmp-frontend/src/app/ui/dashboard/drafts/drafts.component.html +++ b/dmp-frontend/src/app/ui/dashboard/drafts/drafts.component.html @@ -1,36 +1,47 @@ -
- {{'DMP-LISTING.EMPTY-LIST' | translate}} -
-
-
- - {{'DMP-LISTING.SORT-BY' | translate}}: - - - {{enumUtils.toRecentActivityOrderString(order.UpdatedAt)}} - {{enumUtils.toRecentActivityOrderString(order.Label)}} - - - - - - search - - {{formGroup.get('like').getError('backendError').message}} - - -
-
- -
-
- - -
-
- {{'GENERAL.ACTIONS.NO-MORE-AVAILABLE' | translate}} -
-
- +
+
+ +
+ {{'DMP-LISTING.EMPTY-LIST' | translate}} +
+
+
+ +
+ {{'DMP-LISTING.SORT-BY' | translate}}: +
+
+ + + {{enumUtils.toRecentActivityOrderString(order.UpdatedAt)}} + {{enumUtils.toRecentActivityOrderString(order.Label)}} + + +
+ + +
+ + search + + {{formGroup.get('like').getError('backendError').message}} + +
+ +
+
+ +
+
+ + +
+
+ {{'GENERAL.ACTIONS.NO-MORE-AVAILABLE' | translate}} +
+
+ +
+
diff --git a/dmp-frontend/src/app/ui/dashboard/recent-edited-activity/recent-edited-activity.component.html b/dmp-frontend/src/app/ui/dashboard/recent-edited-activity/recent-edited-activity.component.html index 61b454d57..c47511969 100644 --- a/dmp-frontend/src/app/ui/dashboard/recent-edited-activity/recent-edited-activity.component.html +++ b/dmp-frontend/src/app/ui/dashboard/recent-edited-activity/recent-edited-activity.component.html @@ -6,10 +6,10 @@
-
- {{'DMP-LISTING.SORT-BY' | translate}}: +
+ {{'DMP-LISTING.SORT-BY' | translate}}:
-
+
{{enumUtils.toRecentActivityOrderString(order.UpdatedAt)}} @@ -21,8 +21,8 @@
-
- +
+ search {{formGroup.get('like').getError('backendError').message}} diff --git a/dmp-frontend/src/app/ui/dashboard/recent-edited-description-activity/recent-edited-description-activity.component.html b/dmp-frontend/src/app/ui/dashboard/recent-edited-description-activity/recent-edited-description-activity.component.html index 62c190f78..4de578a83 100644 --- a/dmp-frontend/src/app/ui/dashboard/recent-edited-description-activity/recent-edited-description-activity.component.html +++ b/dmp-frontend/src/app/ui/dashboard/recent-edited-description-activity/recent-edited-description-activity.component.html @@ -1,35 +1,45 @@ -
-
- - {{'DMP-LISTING.SORT-BY' | translate}}: - - - {{enumUtils.toRecentActivityOrderString(order.UpdatedAt)}} - - {{enumUtils.toRecentActivityOrderString(order.Label)}} - {{enumUtils.toRecentActivityOrderString(order.Status)}} - - - - - - - search - - {{formGroup.get('like').getError('backendError').message}} - - -
-
- -
-
- -
-
- {{'GENERAL.ACTIONS.NO-MORE-AVAILABLE' | translate}} -
-
- +
+
+
+
+ +
+ {{'DMP-LISTING.SORT-BY' | translate}}: +
+
+ + + {{enumUtils.toRecentActivityOrderString(order.UpdatedAt)}} + + {{enumUtils.toRecentActivityOrderString(order.Label)}} + {{enumUtils.toRecentActivityOrderString(order.Status)}} + + + +
+ + +
+ + search + + {{formGroup.get('like').getError('backendError').message}} + +
+ +
+
+ +
+
+ +
+
+ {{'GENERAL.ACTIONS.NO-MORE-AVAILABLE' | translate}} +
+
+ +
+
diff --git a/dmp-frontend/src/app/ui/dashboard/recent-edited-dmp-activity/recent-edited-dmp-activity.component.html b/dmp-frontend/src/app/ui/dashboard/recent-edited-dmp-activity/recent-edited-dmp-activity.component.html index 169d2f49d..b69459305 100644 --- a/dmp-frontend/src/app/ui/dashboard/recent-edited-dmp-activity/recent-edited-dmp-activity.component.html +++ b/dmp-frontend/src/app/ui/dashboard/recent-edited-dmp-activity/recent-edited-dmp-activity.component.html @@ -1,107 +1,117 @@ -
-
- - {{'DMP-LISTING.SORT-BY' | translate}}: - - - {{enumUtils.toRecentActivityOrderString(order.UpdatedAt)}} - - {{enumUtils.toRecentActivityOrderString(order.Label)}} - {{enumUtils.toRecentActivityOrderString(order.Status)}} - - - - - - - search - - {{formGroup.get('like').getError('backendError').message}} - - -
-
- -
-
- -
- +
+ {{'DMP-LISTING.SORT-BY' | translate}}:
-
{{activity.label}}
-
- {{ roleDisplay(activity.users) }} - . - public{{'TYPES.DMP-VISIBILITY.PUBLIC' | translate}} - done{{ enumUtils.toDmpStatusString(activity.status) }} - create{{ enumUtils.toDmpStatusString(activity.status) }} - . - {{'DMP-LISTING.VERSION' | translate}} {{activity.version}} - . - {{ 'DMP-LISTING.GRANT' | translate }}: {{activity.grant}} +
+ + + {{enumUtils.toRecentActivityOrderString(order.UpdatedAt)}} + + {{enumUtils.toRecentActivityOrderString(order.Label)}} + {{enumUtils.toRecentActivityOrderString(order.Status)}} + + +
-
{{'DMP-LISTING.CONTAINED-DESCRIPTIONS' | translate}}: ({{ activity.datasets.length }}) + + +
+ + search + + {{formGroup.get('like').getError('backendError').message}} +
-
-
-
{{dataset.label}},
-
{{dataset.label}}
-
-
- {{'GENERAL.ACTIONS.SHOW-MORE' | translate}} - - +
+ +
+
+ +
+ +
+ {{'GENERAL.ACTIONS.NO-MORE-AVAILABLE' | translate}} +
+
+ +
-
--> -
- {{'GENERAL.ACTIONS.NO-MORE-AVAILABLE' | translate}} -
-
-