From 586b28aeb34ce7cb7596bfb044411a6a190b0dd5 Mon Sep 17 00:00:00 2001 From: "k.triantafyllou" Date: Fri, 11 Mar 2022 01:09:23 +0200 Subject: [PATCH] Add logoUrl in header of monitor page and hide it if header is sticky --- src/app/app-routing.module.ts | 3 +- src/app/app.component.ts | 2 +- src/app/monitor/monitor.component.html | 87 +++++++++++++++----------- src/app/monitor/monitor.component.ts | 1 + src/app/monitor/monitor.module.ts | 4 +- src/app/openaireLibrary | 2 +- src/app/topic/topic.component.html | 49 +++++++-------- src/assets/common-assets | 2 +- src/assets/dashboard-theme | 2 +- src/assets/openaire-theme | 2 +- 10 files changed, 84 insertions(+), 70 deletions(-) diff --git a/src/app/app-routing.module.ts b/src/app/app-routing.module.ts index 508c36c..c1a2c1d 100644 --- a/src/app/app-routing.module.ts +++ b/src/app/app-routing.module.ts @@ -60,8 +60,7 @@ const routes: Routes = [ @NgModule({ imports: [RouterModule.forRoot(routes, { - preloadingStrategy: PreloadAllModules, - onSameUrlNavigation: "reload" + preloadingStrategy: PreloadAllModules })], exports: [RouterModule] }) diff --git a/src/app/app.component.ts b/src/app/app.component.ts index 6cdfeb1..eb35cf8 100644 --- a/src/app/app.component.ts +++ b/src/app/app.component.ts @@ -342,7 +342,7 @@ export class AppComponent implements OnInit, OnDestroy { } } this.specialSideBarMenuItem = new MenuItem("back", "Manage profiles", "", "/admin", false, [], null, {}); - this.specialSideBarMenuItem.icon = '' + arrow_left.data + ''; // ''; + this.specialSideBarMenuItem.icon = '' + arrow_left.data + ''; // ''; this.specialSideBarMenuItem.customClass = 'uk-text-uppercase uk-text-bold uk-text-secondary'; } } else { diff --git a/src/app/monitor/monitor.component.html b/src/app/monitor/monitor.component.html index 91e1ddd..7f702f6 100644 --- a/src/app/monitor/monitor.component.html +++ b/src/app/monitor/monitor.component.html @@ -37,18 +37,26 @@ -
+
-
+
+ +
+

Dashboard

+

{{stakeholder.name}}

+
+
+ -
- -
- - +
+
+ +
+ +
@@ -113,10 +121,12 @@ -
+
{{number.title}}
-
+
@@ -129,7 +139,8 @@
{{indicator.name}}
-
+
{{indicator.description}} @@ -146,12 +157,14 @@
-
+
{{chart.title}}
-
+

{{indicator.name + " "}}
@@ -173,7 +186,8 @@ [class]="' uk-width-1-1 uk-height-' + (indicator.height?indicator.height.toLowerCase():'medium')">
I frames preview is disabled
+ 'image'" class="uk-alert uk-alert-danger uk-text-center">I frames preview is disabled +

If your filter + class="uk-text-muted uk-text-small"> If your filter selection cannot be applied to a chart, that chart will appear grayed-out.
Sign in to apply filters
+ *ngIf="!user" class="uk-margin-top uk-alert uk-alert-warning"> Sign in to apply filters +