|
| 1 | +<div *ngIf="caseObject"> |
| 2 | + <h1>{{caseObject.name}}</h1> |
| 3 | + <b>Created {{caseObject.created | date:"MMM dd, yyyy 'at' hh:mm a"}}</b> |
| 4 | + <hr> |
| 5 | + <p>{{caseObject.description}}</p> |
| 6 | + <button *ngFor="let session of caseObject.sessionList" class="btn btn-sm btn-outline-light" style="margin-left: 0.2rem" [class.noAnalysis]="!session.analysisResult" |
| 7 | + (click)="selectedSession = session">{{session.created | date:"MMM dd, yyyy 'at' hh:mm a"}} {{session.intenion}} {{session.description}}</button> |
| 8 | + |
| 9 | + <div *ngIf="selectedSession && selectedSession.analysisResult"> |
| 10 | + <hr> |
| 11 | + <button class="btn btn-danger btn-sm" (click)="selectedSession = undefined">Close Session</button> |
| 12 | + <table class="table table-sm table-striped table-hover"> |
| 13 | + <thead> |
| 14 | + <tr> |
| 15 | + <th>NO</th> |
| 16 | + <th>EV</th> |
| 17 | + <th>RATE/SIGNATURE</th> |
| 18 | + <th>POTENCY</th> |
| 19 | + <th>LEVEL</th> |
| 20 | + <th>HIT</th> |
| 21 | + <th>GV</th> |
| 22 | + <th>GV RE</th> |
| 23 | + <th>REC</th> |
| 24 | + </tr> |
| 25 | + </thead> |
| 26 | + <tbody> |
| 27 | + <tr *ngFor="let r of selectedSession.analysisResult.rateObjects; index as i" |
| 28 | + [class.currentGvRow]="i == selectedSession.analysisResult.generalVitality" |
| 29 | + [class.hitGvRow]="r.gv > 999 && r.gv >= selectedSession.analysisResult.generalVitality" |
| 30 | + [class.greenGvRow]="r.gv > 999 && r.gv < selectedSession.analysisResult.generalVitality"> |
| 31 | + <td>{{i + 1}}</td> |
| 32 | + <td>{{r.energeticValue}}</td> |
| 33 | + <td *ngIf="r.url"><a href="{{r.url}}" target="{{r.nameOrRate}}">{{r.nameOrRate}}</a></td> |
| 34 | + <td *ngIf="!r.url">{{r.nameOrRate}}</td> |
| 35 | + <td>{{r.potency}}</td> |
| 36 | + <td>{{r.level}}</td> |
| 37 | + <td></td> |
| 38 | + <td>{{r.gv}}</td> |
| 39 | + <td>{{r.recurringGeneralVitality}}</td> |
| 40 | + <td>{{r.recurring}}</td> |
| 41 | + </tr> |
| 42 | + </tbody> |
| 43 | + </table> |
| 44 | + </div> |
| 45 | +</div> |
| 46 | + |
| 47 | +<table class="table table-sm table-striped table-hover"> |
| 48 | + <thead> |
| 49 | + <tr> |
| 50 | + <th>NAME</th> |
| 51 | + <th>ACTIONS</th> |
| 52 | + </tr> |
| 53 | + </thead> |
| 54 | + <tbody> |
| 55 | + <tr *ngFor="let c of caseNames"> |
| 56 | + <td> |
| 57 | + <button class="btn btn-sm btn-success" (click)="openCase(c)">{{c}}</button> |
| 58 | + </td> |
| 59 | + <td> |
| 60 | + <button class="btn btn-sm btn-danger" (click)="deletCase(c)">X</button> |
| 61 | + </td> |
| 62 | + </tr> |
| 63 | + </tbody> |
| 64 | +</table> |
0 commit comments