diff --git a/webapp/src/app/modules/institution-patents/institution-patents.component.html b/webapp/src/app/modules/institution-patents/institution-patents.component.html index 70702f6a..a80d0f90 100644 --- a/webapp/src/app/modules/institution-patents/institution-patents.component.html +++ b/webapp/src/app/modules/institution-patents/institution-patents.component.html @@ -22,36 +22,45 @@
- - - + (selectionChange)="setSortMode($event.value)"> + Sortieren nach + Datum + Titel + +
@@ -164,9 +173,14 @@
Match-Typ - {{ - getMatchTypeLabel(selectedPatent) - }} + + + {{ getMatchTypeLabel(selectedPatent) }} + +
@if (getPublicationStageLabel(selectedPatent); as stageLabel) {
@@ -227,21 +241,21 @@ }

-
+
{{ totalPatents }} Patente
-
+
{{ getInstitutionMatchCount() }} Institution
-
+
{{ getNameMatchCount() }} Name
-
+
{{ getBothMatchCount() }} Beides
diff --git a/webapp/src/app/modules/institution-patents/institution-patents.component.scss b/webapp/src/app/modules/institution-patents/institution-patents.component.scss index b5f3fa12..ec7cf852 100644 --- a/webapp/src/app/modules/institution-patents/institution-patents.component.scss +++ b/webapp/src/app/modules/institution-patents/institution-patents.component.scss @@ -26,29 +26,9 @@ gap: 16px; } -.sort-control { - display: inline-flex; - align-items: center; - gap: 6px; +.patents-toolbar-field { width: fit-content; - padding: 10px 14px; - border-radius: 20px; - background: #f2f2f2; - color: #333; - font-size: 14px; - - span { - color: #555; - } - - select { - border: 0; - background: transparent; - color: #111827; - font: inherit; - cursor: pointer; - outline: none; - } + min-width: 180px; } .patents-content { @@ -247,6 +227,34 @@ color: #888; margin-top: 4px; } + + &--total { + .overview-value, + .overview-label { + color: #0b63ce; + } + } + + &--institution { + .overview-value, + .overview-label { + color: #6d28d9; + } + } + + &--name { + .overview-value, + .overview-label { + color: #c2410c; + } + } + + &--both { + .overview-value, + .overview-label { + color: #047857; + } + } } .overview-hint { diff --git a/webapp/src/app/modules/institution-patents/institution-patents.component.ts b/webapp/src/app/modules/institution-patents/institution-patents.component.ts index 94c6abca..532fc1d2 100644 --- a/webapp/src/app/modules/institution-patents/institution-patents.component.ts +++ b/webapp/src/app/modules/institution-patents/institution-patents.component.ts @@ -1,6 +1,9 @@ import { Component, OnInit, inject } from '@angular/core'; import { CommonModule } from '@angular/common'; import { ActivatedRoute, Router, RouterLink } from '@angular/router'; +import { MatFormFieldModule } from '@angular/material/form-field'; +import { MatSelectModule } from '@angular/material/select'; +import { MatIconModule } from '@angular/material/icon'; import { PatentsService } from '../../api/api/patents.service'; import { OrgPatentEntry } from '../../api/model/orgPatentEntry'; import { @@ -15,7 +18,14 @@ type OrgPatentMatchTypeFilter = 'all' | 'institution' | 'name' | 'both'; @Component({ selector: 'app-institution-patents', - imports: [CommonModule, RouterLink, LoadingComponent], + imports: [ + CommonModule, + RouterLink, + LoadingComponent, + MatFormFieldModule, + MatSelectModule, + MatIconModule, + ], templateUrl: './institution-patents.component.html', styleUrl: './institution-patents.component.scss', }) diff --git a/webapp/src/app/modules/patents/patents.component.html b/webapp/src/app/modules/patents/patents.component.html index 999a7e6b..a030c35c 100644 --- a/webapp/src/app/modules/patents/patents.component.html +++ b/webapp/src/app/modules/patents/patents.component.html @@ -29,6 +29,11 @@
Zeitraum + + + {{ selectedStartYear }} bis {{ selectedEndYear }} + +
-
- {{ selectedStartYear }} - bis - {{ selectedEndYear }} -
-