2 ========================LICENSE_START=================================
5 Copyright (C) 2020 Nordix Foundation
7 Licensed under the Apache License, Version 2.0 (the "License");
8 you may not use this file except in compliance with the License.
9 You may obtain a copy of the License at
11 http://www.apache.org/licenses/LICENSE-2.0
13 Unless required by applicable law or agreed to in writing, software
14 distributed under the License is distributed on an "AS IS" BASIS,
15 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 See the License for the specific language governing permissions and
17 limitations under the License.
18 ========================LICENSE_END===================================
22 <div class="rd-global-page-title">Enrichment Information Coordinator</div>
23 <div class="refresh-button">
24 <button mat-icon-button color="primary" aria-label="Button with a refresh icon" (click)="refreshTables()">
25 <mat-icon>refresh</mat-icon>
32 <form [formGroup]="formGroup" class="filter-form">
37 placeholder="Search Producer"
38 formControlName="filter"
41 <div class="table-container">
42 <table [ngClass]="{'table-dark': darkMode}" matSort
43 class="ei-coordinator-table mat-elevation-z8">
46 <th>Producer type</th>
47 <th>Producer status</th>
49 <tr *ngFor="let eiProducer of filteredProducers$ | async">
50 <td class="text-left">
51 {{eiProducer.ei_producer_id}}
53 <td class="text-left">
54 {{this.getEIProducerTypes(eiProducer)}}
56 <td class="text-left">
57 {{this.getEIProducerStatus(eiProducer)}}
65 <div class="table-container">
66 <table mat-table EIJobTable [dataSource]="eiJobsDataSource" [ngClass]="{'table-dark': darkMode}" matSort
67 multiTemplateDataRows class="ei-coordinator-table mat-elevation-z8">
68 <ng-container matColumnDef="id">
69 <th mat-header-cell *matHeaderCellDef> Job ID </th>
70 <td mat-cell *matCellDef="let eiJob"> {{this.getDisplayName(eiJob)}} </td>
72 <ng-container matColumnDef="typeId">
73 <th mat-header-cell *matHeaderCellDef> Type ID </th>
74 <td mat-cell *matCellDef="let eiJob"> {{this.getEITypeId(eiJob)}} </td>
76 <ng-container matColumnDef="owner">
77 <th mat-header-cell *matHeaderCellDef> Owner </th>
78 <td mat-cell *matCellDef="let eiJob"> {{eiJob.owner}} </td>
80 <ng-container matColumnDef="targetUri">
81 <th mat-header-cell *matHeaderCellDef> Target URI </th>
82 <td mat-cell *matCellDef="let eiJob"> {{this.getTargetUri(eiJob)}} </td>
84 <tr mat-header-row *matHeaderRowDef="['id', 'typeId', 'owner', 'targetUri']"></tr>
85 <tr mat-row *matRowDef="let row; columns: ['id', 'typeId', 'owner', 'targetUri'];"></tr>