forked from bitpay/bitcore
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request bitpay#1978 from cmgustavo/ref/insight-address-vie…
…w-01 Ref(insight-previous): address view 01
- Loading branch information
Showing
5 changed files
with
68 additions
and
63 deletions.
There are no files selected for viewing
41 changes: 10 additions & 31 deletions
41
packages/insight-previous/src/components/coin-list/coin-list.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,37 +1,16 @@ | ||
<div *ngIf="showTransactions"> | ||
<h2>Transactions</h2> | ||
<ion-grid> | ||
<div *ngIf="loading"> | ||
<div [hidden]="!loading"> | ||
<ion-spinner name="crescent"></ion-spinner> | ||
</div> | ||
<div *ngIf="!loading"> | ||
<ion-row> | ||
<ion-col col-5> | ||
<ion-note text-left> | ||
Received | ||
</ion-note> | ||
</ion-col> | ||
<ion-col col-3 text-right> | ||
<ion-note> | ||
Value | ||
</ion-note> | ||
</ion-col> | ||
<ion-col col-4 text-left> | ||
<ion-note> | ||
Spent | ||
</ion-note> | ||
</ion-col> | ||
</ion-row> | ||
<ion-row *ngFor="let coin of coins; let i = index"> | ||
<ion-col col-12 *ngIf="i < limit"> | ||
<coin [coin]="coin"></coin> | ||
</ion-col> | ||
</ion-row> | ||
<ion-row *ngIf="limit < coins.length"> | ||
<ion-col col-12 text-center (click)="loadMore()"> | ||
<a>Load More</a> | ||
</ion-col> | ||
</ion-row> | ||
<div [hidden]="loading"> | ||
<ion-grid class="grid--table"> | ||
<div *ngFor="let coin of coins; let i = index"> | ||
<coin *ngIf="i < limit" [coin]="coin"></coin> | ||
</div> | ||
</ion-grid> | ||
<div *ngIf="limit < coins.length" text-center> | ||
<button ion-button (click)="loadMore()">Load more</button> | ||
</div> | ||
</div> | ||
</ion-grid> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,14 @@ | ||
<ion-row> | ||
<ion-col col-5> | ||
<ion-col col-8> | ||
<ion-note text-left> | ||
<a class="ellipsis" (click)="goToTx(coin.mintTxid)">{{ coin.mintTxid }}</a> | ||
</ion-note> | ||
</ion-col> | ||
<ion-col col-3 text-right> | ||
{{ currencyProvider.getConvertedNumber(coin.value) | number:'1.0-8' }} {{ currencyProvider.currencySymbol }} | ||
</ion-col> | ||
<ion-col col-4 text-left> | ||
<ion-note [hidden]="!coin.spentTxid"> | ||
<a class="ellipsis" (click)="goToTx(coin.spentTxid)">{{ coin.spentTxid }}</a> | ||
</ion-note> | ||
<ion-col col-4 text-right> | ||
{{ currencyProvider.getConvertedNumber(coin.value) | number:'1.0-8' }} {{ currencyProvider.currencySymbol }} | ||
( | ||
<a [hidden]="!coin.spentTxid" (click)="goToTx(coin.spentTxid)">S</a> | ||
<span [hidden]="coin.spentTxid">U</span> | ||
) | ||
</ion-col> | ||
</ion-row> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters