Add very simple prediction delta UI

This commit is contained in:
2021-02-24 15:34:46 +01:00
parent 06e649671f
commit f7f351d6a3
7 changed files with 82 additions and 1 deletions

View File

@ -0,0 +1,10 @@
<h4>Enter the names of two predictions to compare</h4>
<rb-form-input label="Prediction A" [(ngModel)]="nameA"></rb-form-input>
<rb-form-input label="Prediction B" [(ngModel)]="nameB"></rb-form-input>
<p *ngIf="delta">
The result is {{ delta }}.
</p>
<rb-icon-button icon="forward-right" mode="primary" (click)="compare()">
Compare Predictions
</rb-icon-button>