+
{{ 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 }}
-
-