From e1a632e63f8c91e967740fa50b1f37318847302f Mon Sep 17 00:00:00 2001 From: Alex Martzios Date: Tue, 15 Mar 2022 13:13:28 +0200 Subject: [PATCH] redesign of result-preview component --- deposit/searchResultsInDeposit.component.html | 9 +-- .../showIdentifiers.component.ts | 44 +++++----- .../deletedByInference.component.ts | 2 +- .../deletedByInference.component.ts | 2 +- .../result/resultLanding.component.html | 3 +- .../searchMyOrcidResults.component.html | 3 +- orcid/orcid-work.component.ts | 20 ++--- .../searchResultsForOrcid.component.html | 9 +-- .../modal-result/modal-result.component.ts | 3 +- .../searchUtils/newSearchPage.component.html | 50 ++++++------ .../searchUtils/searchResult.component.html | 9 +-- utils/rangeFilter/rangeFilter.component.html | 19 ++--- .../result-preview.component.html | 80 +++++++++++-------- .../result-preview.component.ts | 7 +- 14 files changed, 138 insertions(+), 122 deletions(-) diff --git a/deposit/searchResultsInDeposit.component.html b/deposit/searchResultsInDeposit.component.html index e8f47251..502d8706 100644 --- a/deposit/searchResultsInDeposit.component.html +++ b/deposit/searchResultsInDeposit.component.html @@ -18,10 +18,9 @@ diff --git a/landingPages/landing-utils/showIdentifiers.component.ts b/landingPages/landing-utils/showIdentifiers.component.ts index 8c064837..dda1ec9e 100644 --- a/landingPages/landing-utils/showIdentifiers.component.ts +++ b/landingPages/landing-utils/showIdentifiers.component.ts @@ -16,29 +16,31 @@ import {properties} from "../../../../environments/environment"; @Component({ selector: 'showIdentifiers', template: ` -
Persistent Identifiers
+
-
-

- - {{key}}: - - - {{item}} - - - {{item}} - - - {{item}} - - - {{item}} - - , - - + +

diff --git a/landingPages/organization/deletedByInference/deletedByInference.component.ts b/landingPages/organization/deletedByInference/deletedByInference.component.ts index 86411456..59fb72cf 100644 --- a/landingPages/organization/deletedByInference/deletedByInference.component.ts +++ b/landingPages/organization/deletedByInference/deletedByInference.component.ts @@ -24,7 +24,7 @@ import {properties} from "../../../../../environments/environment";
  • - +
  • - +
  • + [result]="getResultPreview(item)" + [isCard]="false">
  • + [showSubjects]="true" [result]="result" [promoteWebsiteURL]="true" + [isCard]="false">
    diff --git a/orcid/orcid-work.component.ts b/orcid/orcid-work.component.ts index afcf5f66..6cceb575 100644 --- a/orcid/orcid-work.component.ts +++ b/orcid/orcid-work.component.ts @@ -41,10 +41,10 @@ declare var UIkit: any; [class]="'uk-flex uk-flex-middle uk-flex-right uk-margin-right '+ ((showLoading || !isLoggedIn) ? 'uk-disabled ' : '') + (!isLoggedIn ? 'half-opacity' : '')"> - Add to - - ORCID - orcid{{" "}} + Add to  + + ORCID  + orcid{{" "}} @@ -60,9 +60,9 @@ declare var UIkit: any; [class]="'uk-flex uk-flex-middle uk-flex-right uk-margin-right '+ (showLoading ? 'uk-disabled' : '')"> - Delete from + Delete from  - ORCID + ORCID  {{" "}} @@ -84,7 +84,7 @@ declare var UIkit: any; - Add to + Add to  ORCID @@ -105,7 +105,7 @@ declare var UIkit: any; - Delete from + Delete from  ORCID @@ -142,9 +142,9 @@ declare var UIkit: any; - ORCID + ORCID  - ACTIONS +  ACTIONS
  • -
    - - -
    + +
  • diff --git a/searchPages/searchUtils/modal-result/modal-result.component.ts b/searchPages/searchUtils/modal-result/modal-result.component.ts index 42641b29..b1cbcdc8 100644 --- a/searchPages/searchUtils/modal-result/modal-result.component.ts +++ b/searchPages/searchUtils/modal-result/modal-result.component.ts @@ -21,7 +21,8 @@ import {EnvProperties} from "../../../utils/properties/env-properties"; + [showOrganizations]="showOrganizations" + [isCard]="false"> OpenAIRE - Explore.
    - -
    - - {{searchUtils.totalResults|number}} - {{type}}, page - {{searchUtils.page | number}} - of {{(totalPages(searchUtils.totalResults)|number)}} - - - {{oldTotalResults|number}} - {{type}}, page - {{searchUtils.page | number}} - of {{(totalPages(oldTotalResults)|number)}} - -
    - -
    - - -
    +
    + +
    + + {{searchUtils.totalResults|number}} + {{type}}, page + {{searchUtils.page | number}} + of {{(totalPages(searchUtils.totalResults)|number)}} + + + {{oldTotalResults|number}} + {{type}}, page + {{searchUtils.page | number}} + of {{(totalPages(oldTotalResults)|number)}} + +
    + +
    + + +
    +
    diff --git a/searchPages/searchUtils/searchResult.component.html b/searchPages/searchUtils/searchResult.component.html index 7057b770..290f0c90 100644 --- a/searchPages/searchUtils/searchResult.component.html +++ b/searchPages/searchUtils/searchResult.component.html @@ -1,10 +1,9 @@
    • -
      - - -
      + +
    diff --git a/utils/rangeFilter/rangeFilter.component.html b/utils/rangeFilter/rangeFilter.component.html index 560deb0e..e7efdc35 100644 --- a/utils/rangeFilter/rangeFilter.component.html +++ b/utils/rangeFilter/rangeFilter.component.html @@ -25,8 +25,9 @@ [placeholder]="'e.g. ' + yearMax "/>