|
|
@@ -17,15 +17,14 @@ Data URL: {{bcInfoService.dataUrl}} -->
|
|
|
<button *ngIf="!selectingArea" type="button" class="btn btn-primary" (click)="onSelectArea()">Select
|
|
|
area</button>
|
|
|
<div *ngIf="selectingArea">
|
|
|
- <p>Select data with <b> Shift + Drag</b></p>
|
|
|
+ <p>Select area with <b> Shift + Drag</b></p>
|
|
|
<span *ngIf="price">
|
|
|
<p><b>Price:</b> {{price}}</p>
|
|
|
</span>
|
|
|
<p *ngIf="paymentHash"><b>Payment hash:</b> {{paymentHash}}</p>
|
|
|
<div>
|
|
|
<button type="button" [disabled]="!price || buyInProgress" class="btn btn-success" (click)="onBuy()">
|
|
|
- <span *ngIf="buyInProgress" class="spinner-border spinner-border-sm" role="status"
|
|
|
- aria-hidden="true"></span>
|
|
|
+ <span *ngIf="buyInProgress" class="spinner-border spinner-border-sm" role="status" aria-hidden="true"></span>
|
|
|
Buy
|
|
|
</button>
|
|
|
<button type="button" class="btn btn-danger" [disabled]="buyInProgress" (click)="onCancel()">Cancel</button>
|