[master | FIXED | DONE] all pages - banners: remove OA badges and change heading size

This commit is contained in:
Alex Martzios 2024-01-08 14:15:43 +02:00
parent 75c5d6473a
commit a84326e4ea
6 changed files with 10 additions and 45 deletions

View File

@ -25,14 +25,7 @@ import {StringUtils} from "../openaireLibrary/utils/string-utils.class";
<div class="uk-padding-small uk-padding-remove-vertical"> <div class="uk-padding-small uk-padding-remove-vertical">
<div class="uk-grid uk-grid-large uk-flex-middle uk-margin-medium-bottom" uk-grid> <div class="uk-grid uk-grid-large uk-flex-middle uk-margin-medium-bottom" uk-grid>
<div class="uk-width-expand"> <div class="uk-width-expand">
<h1 *ngIf="stakeholder" class="uk-h4 uk-margin-remove uk-text-truncate">{{entities.country}} {{entities.stakeholder}}</h1> <h1 *ngIf="stakeholder" class="uk-h3 uk-margin-remove uk-text-truncate">{{entities.country}} {{entities.stakeholder}}</h1>
</div>
<div class="uk-width-auto">
<div class="uk-progress-semicircle open-access" [attr.percentage]="0" [style]="'--percentage:' + 0"></div>
<div class="uk-flex uk-flex-middle uk-margin-small-top">
<icon [name]="'open_access'" [flex]="true" class="open-access"></icon>
<span class="uk-margin-xsmall-left">Open Access</span>
</div>
</div> </div>
</div> </div>
</div> </div>

@ -1 +1 @@
Subproject commit 69a9512d14223e2beceb7746c1889b7663af5871 Subproject commit 4f0c8ae5e9bb03edeb067279b808040f71783ba5

View File

@ -32,7 +32,7 @@ import {UserManagementService} from "../openaireLibrary/services/user-management
</ng-template> </ng-template>
</div> </div>
<div class="uk-width-expand uk-margin-small-left"> <div class="uk-width-expand uk-margin-small-left">
<div class="uk-h5 uk-margin-remove uk-text-truncate">{{stakeholder.name}}</div> <div class="uk-h4 uk-margin-remove uk-text-truncate">{{stakeholder.name}}</div>
<ng-container *ngIf="stakeholder.details"> <ng-container *ngIf="stakeholder.details">
<div class="uk-text-xsmall uk-margin-small-bottom"> <div class="uk-text-xsmall uk-margin-small-bottom">
<entity-metadata [entityType]="stakeholder.details.type" <entity-metadata [entityType]="stakeholder.details.type"
@ -64,15 +64,8 @@ import {UserManagementService} from "../openaireLibrary/services/user-management
</div> </div>
</div> </div>
</div> </div>
<div class="uk-width-auto">
<div class="uk-progress-semicircle open-access" [attr.percentage]="0" [style]="'--percentage:' + 0"></div>
<div class="uk-flex uk-flex-middle uk-margin-small-top">
<icon [name]="'open_access'" [flex]="true" class="open-access"></icon>
<span class="uk-margin-xsmall-left">Open Access</span>
</div> </div>
</div> <h1 *ngIf="!stakeholder" class="uk-h3 uk-margin-small-bottom">{{entities.datasources}}</h1>
</div>
<h1 *ngIf="!stakeholder" class="uk-h4 uk-margin-small-bottom">{{entities.datasources}}</h1>
</div> </div>
</div> </div>
<div *ngIf="stakeholder" class="uk-banner-footer"> <div *ngIf="stakeholder" class="uk-banner-footer">

View File

@ -30,7 +30,7 @@ import {properties} from "../../environments/environment";
</div> </div>
</div> </div>
<div class="uk-width-expand uk-margin-small-left"> <div class="uk-width-expand uk-margin-small-left">
<div class="uk-h5 uk-margin-xsmall-bottom uk-text-truncate">{{author.authorGivenName}} {{author.authorFamilyName}}</div> <div class="uk-h4 uk-margin-xsmall-bottom uk-text-truncate">{{author.authorGivenName}} {{author.authorFamilyName}}</div>
<div class="uk-text-xsmall uk-text-bold uk-margin-bottom"> <div class="uk-text-xsmall uk-text-bold uk-margin-bottom">
<div *ngIf="totalResults > 0">{{totalResults}} research outcomes</div> <div *ngIf="totalResults > 0">{{totalResults}} research outcomes</div>
<div *ngIf="author.institutions" class="uk-text-truncate">{{author.institutions.join(", ")}} </div> <div *ngIf="author.institutions" class="uk-text-truncate">{{author.institutions.join(", ")}} </div>
@ -45,15 +45,8 @@ import {properties} from "../../environments/environment";
</div> </div>
</div> </div>
</div> </div>
<div *ngIf="openResults && totalResults" class="uk-width-auto">
<div class="uk-progress-semicircle open-access" [attr.percentage]="getPercentage()" [style]="'--percentage:' + getPercentage()"></div>
<div class="uk-flex uk-flex-middle uk-margin-small-top">
<icon class="open-access" [name]="'open_access'" [flex]="true"></icon>
<span class="uk-margin-xsmall-left">Open Access</span>
</div> </div>
</div> <h1 *ngIf="!authorId" class="uk-h3 uk-margin-small-bottom">Researcher Monitors</h1>
</div>
<h1 *ngIf="!authorId" class="uk-h4 uk-margin-small-bottom">Researcher Monitors</h1>
</div> </div>
</div> </div>
</div> </div>

View File

@ -34,19 +34,12 @@ import {OpenaireEntities} from "../openaireLibrary/utils/properties/searchFields
<icon [name]="'navigate_before'" [flex]="true" [ratio]="0.8" class="uk-margin-xsmall-right"></icon> <icon [name]="'navigate_before'" [flex]="true" [ratio]="0.8" class="uk-margin-xsmall-right"></icon>
<a routerLink=".">Back to all {{entities.funder}} {{entities.stakeholders}}</a> <a routerLink=".">Back to all {{entities.funder}} {{entities.stakeholders}}</a>
</div> </div>
<h1 class="uk-h5 uk-margin-remove uk-text-truncate">{{stakeholder.name}}</h1> <h1 class="uk-h4 uk-margin-remove uk-text-truncate">{{stakeholder.name}}</h1>
</div> </div>
</div> </div>
</div> </div>
<div class="uk-width-auto">
<div class="uk-progress-semicircle open-access" [attr.percentage]="0" [style]="'--percentage:' + 0"></div>
<div class="uk-flex uk-flex-middle uk-margin-small-top">
<icon [name]="'open_access'" [flex]="true" class="open-access"></icon>
<span class="uk-margin-xsmall-left">Open Access</span>
</div> </div>
</div> <h1 *ngIf="!stakeholder" class="uk-h3 uk-margin-small-bottom">{{entities.funders}}</h1>
</div>
<h1 *ngIf="!stakeholder" class="uk-h4 uk-margin-small-bottom">{{entities.funders}}</h1>
</div> </div>
</div> </div>
<div *ngIf="stakeholder" class="uk-banner-footer"> <div *ngIf="stakeholder" class="uk-banner-footer">

View File

@ -36,19 +36,12 @@ import {StringUtils} from "../openaireLibrary/utils/string-utils.class";
<icon [name]="'navigate_before'" [flex]="true" [ratio]="0.8" class="uk-margin-xsmall-right"></icon> <icon [name]="'navigate_before'" [flex]="true" [ratio]="0.8" class="uk-margin-xsmall-right"></icon>
<a routerLink=".">Back to all {{entities.organization}} {{entities.stakeholders}}</a> <a routerLink=".">Back to all {{entities.organization}} {{entities.stakeholders}}</a>
</div> </div>
<h1 class="uk-h5 uk-margin-remove uk-text-truncate">{{stakeholder.name}}</h1> <h1 class="uk-h4 uk-margin-remove uk-text-truncate">{{stakeholder.name}}</h1>
</div> </div>
</div> </div>
</div> </div>
<div class="uk-width-auto">
<div class="uk-progress-semicircle open-access" [attr.percentage]="0" [style]="'--percentage:' + 0"></div>
<div class="uk-flex uk-flex-middle uk-margin-small-top">
<icon [name]="'open_access'" [flex]="true" class="open-access"></icon>
<span class="uk-margin-xsmall-left">Open Access</span>
</div> </div>
</div> <h1 *ngIf="!stakeholder" class="uk-h3 uk-margin-small-bottom">{{entities.organizations}}</h1>
</div>
<h1 *ngIf="!stakeholder" class="uk-h4 uk-margin-small-bottom">{{entities.organizations}}</h1>
</div> </div>
</div> </div>
<div *ngIf="stakeholder" class="uk-banner-footer"> <div *ngIf="stakeholder" class="uk-banner-footer">