From 44a75e5ffd8538b5b5039f6560db8a10d5dcd435 Mon Sep 17 00:00:00 2001 From: Sofia Papacharalampous Date: Mon, 15 Apr 2024 14:08:44 +0300 Subject: [PATCH] ui fixes on dashboard (unauthorized) --- .../app/ui/dashboard/dashboard.component.html | 107 ++++++++++-------- .../app/ui/dashboard/dashboard.component.scss | 8 -- 2 files changed, 62 insertions(+), 53 deletions(-) diff --git a/dmp-frontend/src/app/ui/dashboard/dashboard.component.html b/dmp-frontend/src/app/ui/dashboard/dashboard.component.html index be5c74704..1aba0a390 100644 --- a/dmp-frontend/src/app/ui/dashboard/dashboard.component.html +++ b/dmp-frontend/src/app/ui/dashboard/dashboard.component.html @@ -1,9 +1,8 @@ -
+
-
@@ -79,7 +78,6 @@
-
@@ -108,7 +106,6 @@
-
@@ -147,13 +144,13 @@
-
-
-
-
-
-
-
+
+
+
+
+
+
+
clear

{{'DASHBOARD.TITLE' | translate}}

@@ -163,49 +160,69 @@
-
-
-
-
{{'DASHBOARD.PUBLIC-USAGE' | translate}}
-
0
+ +
+
+
+
+
{{'DASHBOARD.PUBLIC-USAGE' | translate}}
+
+ + + + -
-
{{'DASHBOARD.PUBLIC-USAGE' | translate}}
-
- {{dashboardStatistics?.dmpCount}}
+
+ +
+
+
{{'DASHBOARD.PUBLIC-USAGE' | translate}}
+
+
+
{{dashboardStatistics?.dmpCount}}
{{'DASHBOARD.PUBLIC-DMPS' | translate}} -
- {{dashboardStatistics?.descriptionCount}}
+
+ +
+
{{dashboardStatistics?.descriptionCount}}
{{'DASHBOARD.PUBLIC-DESCRIPTIONS' | translate}} -
- {{grantCount}}
+
+ +
+
{{grantCount}}
{{'DASHBOARD.GRANTS' | translate}} -
- {{organizationCount}}
+
+ +
diff --git a/dmp-frontend/src/app/ui/dashboard/dashboard.component.scss b/dmp-frontend/src/app/ui/dashboard/dashboard.component.scss index 88c19f0e9..949e0b96f 100644 --- a/dmp-frontend/src/app/ui/dashboard/dashboard.component.scss +++ b/dmp-frontend/src/app/ui/dashboard/dashboard.component.scss @@ -374,14 +374,6 @@ input[type="text"] { padding: 0rem 7em 0rem 3rem; } -.non-auth-main-container { - padding-left: 0; -} - -.non-auth-card { - margin-left: 3rem; -} - .app-info { font-size: 1rem; padding: 1rem 2rem;