Bisq module separation.

Transaction view.
Block view.
Blocks list.
This commit is contained in:
softsimon
2020-07-13 15:16:12 +07:00
parent 2ac2d9ecce
commit 38afcc6822
25 changed files with 438 additions and 187 deletions

View File

@@ -1,5 +1,5 @@
<div class="container-xl">
<h2 style="float: left;">Latest BSQ Transactions</h2>
<h2 style="float: left;">BSQ Transactions</h2>
<br>
<div class="clearfix"></div>
@@ -14,7 +14,7 @@
<th>Block Time</th>
</thead>
<tbody>
<tr *ngFor="let tx of transactions">
<tr *ngFor="let tx of transactions; trackBy: trackByFn">
<td><a [routerLink]="['/tx/' | relativeUrl, tx.id]" [state]="{ bsqTx: tx }">{{ tx.id | shortenString : 16 }}</a></td>
<td><app-bisq-icon class="mr-1" [txType]="tx.txType"></app-bisq-icon> {{ tx.txTypeDisplayString }}</td>
<td>{{ calculateTotalOutput(tx.outputs) / 100 | number: '1.2-2' }}</td>