Updated Control Panel for changed ECS NBI
[portal/nonrtric-controlpanel.git] / webapp-frontend / src / app / ei-coordinator / jobs-list / jobs-list.component.html
index d325d4d..aca0931 100644 (file)
@@ -18,6 +18,7 @@ limitations under the License.
 ========================LICENSE_END===================================
 -->
 <div class="table-container">
+    <mat-checkbox class="polling-checkbox" [checked]="checked" (change)="stopPolling($event.checked)">auto-refresh</mat-checkbox>
     <div class="spinner-container" style="display: flex; justify-content: center; align-items: center;"
         *ngIf="loading$ | async">
         <mat-spinner></mat-spinner>
@@ -35,7 +36,7 @@ limitations under the License.
                     </form>
                 </div>
             </mat-header-cell>
-            <mat-cell *matCellDef="let eiJob"> {{eiJob.jobId}} </mat-cell>
+            <mat-cell *matCellDef="let job"> {{job.jobId}} </mat-cell>
         </ng-container>
         <ng-container matColumnDef="prodId">
             <mat-header-cell *matHeaderCellDef mat-sort-header>
@@ -48,7 +49,7 @@ limitations under the License.
                     </form>
                 </div>
             </mat-header-cell>
-            <mat-cell *matCellDef="let eiJob"> {{eiJob.prodId}} </mat-cell>
+            <mat-cell *matCellDef="let job"> {{job.prodId}} </mat-cell>
         </ng-container>
         <ng-container matColumnDef="typeId">
             <mat-header-cell *matHeaderCellDef mat-sort-header>
@@ -61,7 +62,7 @@ limitations under the License.
                     </form>
                 </div>
             </mat-header-cell>
-            <mat-cell *matCellDef="let eiJob">{{this.getJobTypeId(eiJob)}} </mat-cell>
+            <mat-cell *matCellDef="let job">{{this.getJobTypeId(job)}} </mat-cell>
         </ng-container>
         <ng-container matColumnDef="owner">
             <mat-header-cell *matHeaderCellDef mat-sort-header>
@@ -74,7 +75,7 @@ limitations under the License.
                     </form>
                 </div>
             </mat-header-cell>
-            <mat-cell *matCellDef="let eiJob">{{this.getJobOwner(eiJob)}} </mat-cell>
+            <mat-cell *matCellDef="let job">{{this.getJobOwner(job)}} </mat-cell>
         </ng-container>
         <ng-container matColumnDef="targetUri">
             <mat-header-cell *matHeaderCellDef mat-sort-header>
@@ -87,7 +88,7 @@ limitations under the License.
                     </form>
                 </div>
             </mat-header-cell>
-            <mat-cell *matCellDef="let eiJob"> {{eiJob.targetUri}} </mat-cell>
+            <mat-cell *matCellDef="let job"> {{job.targetUri}} </mat-cell>
         </ng-container>
         <mat-header-row *matHeaderRowDef="['jobId', 'prodId', 'typeId', 'owner', 'targetUri']"></mat-header-row>
         <mat-row *matRowDef="let row; columns: ['jobId', 'prodId', 'typeId', 'owner', 'targetUri'];"></mat-row>