Change monitor search dashboards page

This commit is contained in:
Konstantinos Triantafyllou 2022-02-14 18:05:33 +02:00
parent ad98410f16
commit e07c59e1f9
6 changed files with 12 additions and 12 deletions

View File

@ -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])
}
}

@ -1 +1 @@
Subproject commit e5a644f2aedcc8e7f08ec8cf5552d2101ee4b274
Subproject commit 4b200d86c8b81dba320bcea44d3ff0e616cb1975

View File

@ -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: `
<new-search-page pageTitle="OpenAIRE-Monitor | Browse"
<new-search-page pageTitle="OpenAIRE-Monitor | Browse Dashboards"
[hasPrefix]=false [piwikSiteId]="piwikSiteId"
[formPlaceholderText]="'Search profiles'"
[type]="(results.length > 1)?'organizations':'organization'" entityType="stakeholder"
[formPlaceholderText]="'Search OpenAIRE Monitor Dashboards'"
[type]="(results.length > 1)?'dashboards':'dashboard'" entityType="stakeholder"
[results]="results" [searchUtils]="searchUtils"
[showResultCount]=true
[disableForms]="disableForms"
[showIndexInfo]=false
[simpleView]="true"
[fieldIds]="fieldIds" [fieldIdsMap]="fieldIdsMap" [selectedFields]="selectedFields"
[fieldIds]="fieldIds" [fieldIdsMap]="fieldIdsMap" [selectedFields]="selectedFields" [showBreadcrumb]="true" [breadcrumbs]="breadcrumbs"
[simpleSearchLink]="searchLink" [entitiesSelection]="false">
</new-search-page>
`
@ -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;

@ -1 +1 @@
Subproject commit 71d5195b977895b50120f65b7bcd488fc5f22049
Subproject commit 1723114f30208b0e85d5c580665af801fe9e6ef1

View File

@ -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;

@ -1 +1 @@
Subproject commit 8ba04ba5f755b94b9274428b3ce80bb423c40cef
Subproject commit 03979451116b56aa9b76a141a5e58167e3872449