-->
<div fxLayout="row">
- <div class="nrcp-global-page-title">Enrichment Information Coordinator</div>
- <div class="refresh-button">
- <button mat-icon-button color="primary" aria-label="Button with a refresh icon" (click)="refreshTables()">
- <mat-icon>refresh</mat-icon>
- </button>
- </div>
+ <div class="nrcp-global-page-title">Enrichment Information Coordinator</div>
+ <div class="refresh-button">
+ <button id="refreshButton" mat-icon-button color="primary" (click)="refreshTables()">
+ <mat-icon>refresh</mat-icon>
+ </button>
+ </div>
</div>
<br>
<h4>Producers</h4>
-<form [formGroup]="formGroup" class="filter-form">
- <input
- type="text"
- class="form-control"
- name="searchString"
- placeholder="Search Producer"
- formControlName="filter"
- />
-</form>
-<div class="table-container">
- <table [ngClass]="{'table-dark': darkMode}" matSort
- class="ei-coordinator-table mat-elevation-z8">
- <tr>
- <th>Producer ID</th>
- <th>Producer type</th>
- <th>Producer status</th>
- </tr>
- <tr *ngFor="let eiProducer of filteredProducers$ | async">
- <td class="text-left">
- {{eiProducer.ei_producer_id}}
- </td>
- <td class="text-left">
- {{this.getEIProducerTypes(eiProducer)}}
- </td>
- <td class="text-left">
- {{this.getEIProducerStatus(eiProducer)}}
- </td>
- </tr>
- </table>
-</div>
+<nrcp-producers-list></nrcp-producers-list>
<br>
<h4>Jobs</h4>
-<div class="table-container">
- <table mat-table EIJobTable [dataSource]="eiJobsDataSource" [ngClass]="{'table-dark': darkMode}" matSort
- multiTemplateDataRows class="ei-coordinator-table mat-elevation-z8">
- <ng-container matColumnDef="id">
- <th mat-header-cell *matHeaderCellDef> Job ID </th>
- <td mat-cell *matCellDef="let eiJob"> {{this.getDisplayName(eiJob)}} </td>
- </ng-container>
- <ng-container matColumnDef="typeId">
- <th mat-header-cell *matHeaderCellDef> Type ID </th>
- <td mat-cell *matCellDef="let eiJob"> {{this.getEITypeId(eiJob)}} </td>
- </ng-container>
- <ng-container matColumnDef="owner">
- <th mat-header-cell *matHeaderCellDef> Owner </th>
- <td mat-cell *matCellDef="let eiJob"> {{eiJob.owner}} </td>
- </ng-container>
- <ng-container matColumnDef="targetUri">
- <th mat-header-cell *matHeaderCellDef> Target URI </th>
- <td mat-cell *matCellDef="let eiJob"> {{this.getTargetUri(eiJob)}} </td>
- </ng-container>
- <tr mat-header-row *matHeaderRowDef="['id', 'typeId', 'owner', 'targetUri']"></tr>
- <tr mat-row *matRowDef="let row; columns: ['id', 'typeId', 'owner', 'targetUri'];"></tr>
- </table>
-</div>
\ No newline at end of file
+<nrcp-jobs-list></nrcp-jobs-list>
\ No newline at end of file