From 46b8958de80a459a4c7a55897b3e2bed72efda6e Mon Sep 17 00:00:00 2001 From: Konstantinos Triantafyllou Date: Wed, 25 Nov 2020 17:33:07 +0000 Subject: [PATCH] [Monitor Dashboard | Trunk]: Fix paddings and widths of dashboard structure for mobiles git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-monitor-portal/trunk/monitor_dashboard@59968 d315682c-612b-4755-9ff5-7f18f6832af3 --- src/app/app.component.ts | 6 ++++- .../manageStakeholders.component.css | 2 +- .../manageStakeholders.component.html | 16 ++++++------ src/assets/dashboard-theme/structure.css | 26 ++++++++++++++++++- src/assets/dashboard-theme/text.css | 11 ++++++++ 5 files changed, 50 insertions(+), 11 deletions(-) diff --git a/src/app/app.component.ts b/src/app/app.component.ts index 135690b..1ff3d19 100644 --- a/src/app/app.component.ts +++ b/src/app/app.component.ts @@ -127,14 +127,18 @@ export class AppComponent implements OnInit, OnDestroy { this.buildMenu(); this.loading = false; } else { + this.stakeholder = null; LinksResolver.resetProperties(); this.navigateToError(); this.buildMenu(); this.loading = false; } }, error => { + this.stakeholder = null; LinksResolver.resetProperties(); - this.navigateToError(); + if(error.status === 404) { + this.navigateToError(); + } this.buildMenu(); this.loading = false; })); diff --git a/src/app/manageStakeholders/manageStakeholders.component.css b/src/app/manageStakeholders/manageStakeholders.component.css index 3d36bda..41f6241 100644 --- a/src/app/manageStakeholders/manageStakeholders.component.css +++ b/src/app/manageStakeholders/manageStakeholders.component.css @@ -1,5 +1,5 @@ .uk-card { - min-height: 150px; + min-height: 230px; } .uk-card-body { diff --git a/src/app/manageStakeholders/manageStakeholders.component.html b/src/app/manageStakeholders/manageStakeholders.component.html index 809fb66..6c5e1ff 100644 --- a/src/app/manageStakeholders/manageStakeholders.component.html +++ b/src/app/manageStakeholders/manageStakeholders.component.html @@ -1,13 +1,13 @@
-
+
@@ -29,7 +29,7 @@
Profile Templates
-
@@ -42,7 +42,7 @@
Profiles
-
@@ -109,7 +109,7 @@
{{stakeholder.name}}
-