joblist.component.html 1.37 KB
Newer Older
Chris Hines's avatar
Chris Hines committed
1
2
3
<!--<div *ngIf="(identitySubject | async) === null" >
   Click login and select a provider or select one you've already logged in to.
</div>-->
4
<div *ngIf="(identitySubject | async) !== null" style="width: 100%" >
Chris Hines's avatar
Chris Hines committed
5
   <mat-list>
Chris Hines's avatar
Chris Hines committed
6
7
8
9
10
11
12
       <mat-list-item>
        <div  fxLayout="row" fxLayoutAlign="space-between" style="width: 100%">
          <div fxFlex="10%"> State </div>
          <div fxFlex="10%"> JobID</div>
          <div fxFlex="10%"> Host </div>
          <div fxFlex="20%" fxLayout="column"> Resources </div>
          <div fxFlex></div>
13
          <div fxFlex="15%" fxLayout="row"></div>
Chris Hines's avatar
Chris Hines committed
14
15
16
        </div>
        <mat-divider></mat-divider>
       </mat-list-item>
Chris Hines's avatar
Chris Hines committed
17
   <div *ngFor="let job of ((identitySubject | async).joblist | async) ; let lastItem = last">
18
       <div *ngIf="(appSubject | async).name == job.name && job.state != 'Finished'">
Chris Hines's avatar
Chris Hines committed
19
        <app-job [jobdata]=job></app-job>
Chris Hines's avatar
Chris Hines committed
20
        <mat-divider></mat-divider>
Chris Hines's avatar
Chris Hines committed
21
       </div>
22
   </div>
23
24
25
26
27
28
29
   <mat-divider></mat-divider>
   <div *ngFor="let job of ((identitySubject | async).joblist | async) ; let lastItem = last">
       <div *ngIf="(appSubject | async).name == job.name && job.state == 'Finished'">
        <app-job [jobdata]=job></app-job>
        <mat-divider></mat-divider>
       </div>
   </div>
Chris Hines's avatar
Chris Hines committed
30
31
   </mat-list>
   <button mat-button (click)="refreshJobs()" style="width: 100%; text-align: right">Refresh Job list</button>
32

Chris Hines's avatar
Chris Hines committed
33
</div>