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="nrcp-global-page-title">Enrichment Information Coordinator</div>
23 <div class="refresh-button">
24 <button id="refreshButton" mat-icon-button color="primary" (click)="refreshTables()">
25 <mat-icon>refresh</mat-icon>
32 <nrcp-producers-list></nrcp-producers-list>
37 <div class="table-container">
38 <mat-table id="jobsTable" [dataSource]="jobsDataSource" fixedLayout
39 matSort (matSortChange)="sortJobs($event)"
40 class="ei-coordinator-table mat-elevation-z8">
41 <ng-container matColumnDef="id">
42 <mat-header-cell *matHeaderCellDef mat-sort-header>
43 <div (click)="stopSort($event)">
44 <form style="display: flex" [formGroup]="jobsFormControl">
46 <input id="jobIdFilter" matInput formControlName="id">
47 <mat-placeholder>Job ID</mat-placeholder>
52 <mat-cell *matCellDef="let eiJob"> {{eiJob.ei_job_identity}} </mat-cell>
54 <ng-container matColumnDef="typeId">
55 <mat-header-cell *matHeaderCellDef mat-sort-header>
56 <div (click)="stopSort($event)">
57 <form style="display: flex" [formGroup]="jobsFormControl">
59 <input id="jobTypeIdFilter" matInput formControlName="typeId">
60 <mat-placeholder>Type ID</mat-placeholder>
65 <mat-cell *matCellDef="let eiJob">{{this.getJobTypeId(eiJob)}} </mat-cell>
67 <ng-container matColumnDef="owner">
68 <mat-header-cell *matHeaderCellDef mat-sort-header>
69 <div (click)="stopSort($event)">
70 <form style="display: flex" [formGroup]="jobsFormControl">
72 <input id="jobOwnerFilter" matInput formControlName="owner">
73 <mat-placeholder>Owner</mat-placeholder>
78 <mat-cell *matCellDef="let eiJob">{{this.getJobOwner(eiJob)}} </mat-cell>
80 <ng-container matColumnDef="targetUri">
81 <mat-header-cell *matHeaderCellDef mat-sort-header>
82 <div (click)="stopSort($event)">
83 <form style="display: flex" [formGroup]="jobsFormControl">
85 <input id="jobTargetUriFilter" matInput formControlName="targetUri">
86 <mat-placeholder>Target URI</mat-placeholder>
91 <mat-cell *matCellDef="let eiJob"> {{eiJob.target_uri}} </mat-cell>
93 <mat-header-row *matHeaderRowDef="['id', 'typeId', 'owner', 'targetUri']"></mat-header-row>
94 <mat-row *matRowDef="let row; columns: ['id', 'typeId', 'owner', 'targetUri'];"></mat-row>