From e07c59e1f962d648a14567be628a15bb2b808f71 Mon Sep 17 00:00:00 2001 From: "k.triantafyllou" Date: Mon, 14 Feb 2022 18:05:33 +0200 Subject: [PATCH] Change monitor search dashboards page --- src/app/home/home.module.ts | 4 ++-- src/app/openaireLibrary | 2 +- .../search-stakeholders.component.ts | 10 ++++++---- src/assets/common-assets | 2 +- src/assets/monitor-custom.css | 4 +--- src/assets/openaire-theme | 2 +- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/src/app/home/home.module.ts b/src/app/home/home.module.ts index 5a2a4b3..e78c4eb 100644 --- a/src/app/home/home.module.ts +++ b/src/app/home/home.module.ts @@ -19,7 +19,7 @@ import {SearchResearchResultsServiceModule} from "../openaireLibrary/services/se import {AlertModalModule} from "../openaireLibrary/utils/modal/alertModal.module"; import {IconsModule} from "../openaireLibrary/utils/icons/icons.module"; import {IconsService} from "../openaireLibrary/utils/icons/icons.service"; -import {group, lock} from "../openaireLibrary/utils/icons/icons"; +import {lock} from "../openaireLibrary/utils/icons/icons"; import {UrlPrefixModule} from "../openaireLibrary/utils/pipes/url-prefix.module"; import {LogoUrlPipeModule} from "../openaireLibrary/utils/pipes/logoUrlPipe.module"; @@ -42,6 +42,6 @@ import {LogoUrlPipeModule} from "../openaireLibrary/utils/pipes/logoUrlPipe.modu }) export class HomeModule { constructor(private iconsService: IconsService) { - this.iconsService.registerIcons([group, lock]) + this.iconsService.registerIcons([lock]) } } diff --git a/src/app/openaireLibrary b/src/app/openaireLibrary index e5a644f..4b200d8 160000 --- a/src/app/openaireLibrary +++ b/src/app/openaireLibrary @@ -1 +1 @@ -Subproject commit e5a644f2aedcc8e7f08ec8cf5552d2101ee4b274 +Subproject commit 4b200d86c8b81dba320bcea44d3ff0e616cb1975 diff --git a/src/app/search-stakeholders/search-stakeholders.component.ts b/src/app/search-stakeholders/search-stakeholders.component.ts index 8544cd5..90a032d 100644 --- a/src/app/search-stakeholders/search-stakeholders.component.ts +++ b/src/app/search-stakeholders/search-stakeholders.component.ts @@ -14,20 +14,21 @@ import {NewSearchPageComponent} from "../openaireLibrary/searchPages/searchUtils import {StakeholderInfo} from "../openaireLibrary/monitor/entities/stakeholder"; import {properties} from "../../environments/environment"; import {Subscriber} from "rxjs"; +import {Breadcrumb} from "../openaireLibrary/utils/breadcrumbs/breadcrumbs.component"; @Component({ selector: 'search-stakeholders', template: ` - ` @@ -59,6 +60,7 @@ export class SearchStakeholdersComponent { }; public keyword = ""; public searchLink; + public breadcrumbs: Breadcrumb[] = [{name: 'home', route: '/'}, {name: 'Browse Dashboards'}]; properties: EnvProperties = properties; @ViewChild(NewSearchPageComponent, {static: true}) searchPage: NewSearchPageComponent; private user: User; diff --git a/src/assets/common-assets b/src/assets/common-assets index 71d5195..1723114 160000 --- a/src/assets/common-assets +++ b/src/assets/common-assets @@ -1 +1 @@ -Subproject commit 71d5195b977895b50120f65b7bcd488fc5f22049 +Subproject commit 1723114f30208b0e85d5c580665af801fe9e6ef1 diff --git a/src/assets/monitor-custom.css b/src/assets/monitor-custom.css index fa97e46..b10c890 100644 --- a/src/assets/monitor-custom.css +++ b/src/assets/monitor-custom.css @@ -1,9 +1,7 @@ :root { - --monitor-color-darken: #228001; - /*buttons*/ --button-primary-background: transparent; - --button-primary-background-image: linear-gradient(113deg, var(--monitor-color) 0%, var(--monitor-color-darken) 100%); + --button-primary-background-image: linear-gradient(110deg, var(--monitor-gradient-start) 0%, var(--monitor-gradient-end) 100%); --button-secondary-background: var(--secondary-color); --button-secondary-background-image: none; diff --git a/src/assets/openaire-theme b/src/assets/openaire-theme index 8ba04ba..0397945 160000 --- a/src/assets/openaire-theme +++ b/src/assets/openaire-theme @@ -1 +1 @@ -Subproject commit 8ba04ba5f755b94b9274428b3ce80bb423c40cef +Subproject commit 03979451116b56aa9b76a141a5e58167e3872449