mirror of
https://github.com/Retropex/mempool.git
synced 2025-05-12 18:20:41 +02:00
Move broadcast button to alert banner
This commit is contained in:
parent
831b923dda
commit
4c20d2b180
@ -30,7 +30,6 @@
|
||||
</span>
|
||||
|
||||
<div class="container-buttons">
|
||||
<button *ngIf="!successBroadcast" [disabled]="isLoadingBroadcast" type="button" class="btn btn-sm btn-primary" i18n="transaction.broadcast|Broadcast" (click)="postTx()">Broadcast</button>
|
||||
<button *ngIf="successBroadcast" type="button" class="btn btn-sm btn-success no-cursor" i18n="transaction.broadcasted|Broadcasted">Broadcasted</button>
|
||||
<button class="btn btn-sm" style="margin-left: 10px; padding: 0;" (click)="resetForm()">✕</button>
|
||||
</div>
|
||||
@ -41,6 +40,16 @@
|
||||
|
||||
<div class="clearfix"></div>
|
||||
|
||||
<div *ngIf="!successBroadcast" class="alert alert-mempool" style="align-items: center;">
|
||||
<span>
|
||||
<fa-icon [icon]="['fas', 'info-circle']" [fixedWidth]="true"></fa-icon>
|
||||
<ng-container i18n="transaction.local-tx|This transaction is stored locally in your browser.">
|
||||
This transaction is stored locally in your browser. Broadcast it to add it to the mempool.
|
||||
</ng-container>
|
||||
</span>
|
||||
<button [disabled]="isLoadingBroadcast" type="button" class="btn btn-sm btn-primary" i18n="transaction.broadcast|Broadcast" (click)="postTx()">Broadcast</button>
|
||||
</div>
|
||||
|
||||
@if (!hasPrevouts) {
|
||||
<div class="alert alert-mempool">
|
||||
@if (offlineMode) {
|
||||
|
Loading…
Reference in New Issue
Block a user