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)="refresh()">
25 <mat-icon>refresh</mat-icon>
32 <table mat-table EIProducerTable [dataSource]="eiProducersDataSource" [ngClass]="{'table-dark': darkMode}" matSort
33 multiTemplateDataRows class="ei-coordinator-table mat-elevation-z8">
34 <ng-container matColumnDef="id">
35 <th mat-header-cell *matHeaderCellDef> Producer ID </th>
36 <td mat-cell *matCellDef="let eiProducer"> {{this.getEIProducerId(eiProducer)}} </td>
38 <ng-container matColumnDef="type">
39 <th mat-header-cell *matHeaderCellDef> Producer type </th>
40 <td mat-cell *matCellDef="let eiProducer"> {{this.getEIProducerTypes(eiProducer)}} </td>
42 <ng-container matColumnDef="status">
43 <th mat-header-cell *matHeaderCellDef> Producer status </th>
44 <td mat-cell *matCellDef="let eiProducer"> {{this.getEIProducerStatus(eiProducer)}} </td>
46 <tr mat-header-row *matHeaderRowDef="['id', 'type', 'status']"></tr>
47 <tr mat-row *matRowDef="let row; columns: ['id', 'type', 'status'];"></tr>
52 <table mat-table EIJobTable [dataSource]="eiJobsDataSource" [ngClass]="{'table-dark': darkMode}" matSort
53 multiTemplateDataRows class="ei-coordinator-table mat-elevation-z8">
54 <ng-container matColumnDef="id">
55 <th mat-header-cell *matHeaderCellDef> Job ID </th>
56 <td mat-cell *matCellDef="let eiJob"> {{this.getDisplayName(eiJob)}} </td>
58 <!--ng-container matColumnDef="data">
59 <th mat-header-cell *matHeaderCellDef> Job data </th>
60 <td mat-cell *matCellDef="let eiJob"> {{this.getEIJobInfo(eiJob)}} </td>
62 <ng-container matColumnDef="typeId">
63 <th mat-header-cell *matHeaderCellDef> Type ID </th>
64 <td mat-cell *matCellDef="let eiJob"> {{this.getEITypeId(eiJob)}} </td>
66 <ng-container matColumnDef="targetUri">
67 <th mat-header-cell *matHeaderCellDef> Target URI </th>
68 <td mat-cell *matCellDef="let eiJob"> {{this.getTargetUri(eiJob)}} </td>
70 <tr mat-header-row *matHeaderRowDef="['id', 'typeId', 'targetUri']"></tr>
71 <tr mat-row *matRowDef="let row; columns: ['id', 'typeId', 'targetUri'];"></tr>