labeling-window.component.html 827 Bytes
Newer Older
1
<div *ngIf="windowSimilarity" class="subplot-container">
2
3
4
  <div class="subplot" *ngFor="let subplot of subplots">
    <plotly-plot [data]="subplot.data" [layout]="subplot.layout"></plotly-plot>
    <div class="button-holder">
5
6
7
      <button class="correct-button" [class.correct-selected]="labels[subplot.index]" (click)="labelCorrect(subplot.index)">V</button>
      <button class="neutral-button" [class.neutral-selected]="labels[subplot.index] == undefined" (click)="labelUndefined(subplot.index)">-</button>
      <button class="incorrect-button" [class.incorrect-selected]="labels[subplot.index] == false" (click)="labelIncorrect(subplot.index)">X</button>
8
9
10
    </div>
  </div>
</div>
11
12
13
<div class="button-holder">
  <button *ngIf="windowSimilarity" (click)="changeTables()" class="label-button">Update tables</button>
</div>