From 3b873f48417cb312bc97e52d5fce3ec7e165250a Mon Sep 17 00:00:00 2001 From: Darren Nelsen Date: Fri, 4 Aug 2017 17:41:29 -0400 Subject: [PATCH] put vins and vouts into ion-lists; add fee, confirmation, and value data --- .../components/transaction/transaction.html | 48 ++++++++++--------- app/src/pages/transaction/transaction.ts | 1 - 2 files changed, 26 insertions(+), 23 deletions(-) diff --git a/app/src/components/transaction/transaction.html b/app/src/components/transaction/transaction.html index 1e31754..9139ab4 100644 --- a/app/src/components/transaction/transaction.html +++ b/app/src/components/transaction/transaction.html @@ -17,41 +17,45 @@ -
-
-
- No Inputs (Newly Generated Coins) -
-
-
-
-
- -

{{ vin.value + ' BTC' }}

-
-
+ + + No Inputs (Newly Generated Coins) + + + + + + {{ vin.addr }} + {{ vin.value + ' BTC' }} + + +
- +
>
-
-
-

{{ getAddress(vout) }} {{ vout.value + ' BTC' }} (S)(U)

-
-
+ + + {{ getAddress(vout) }} +
+ {{ vout.value + ' BTC' }} (S)(U) +
+
+
- Fee + Fee {{ tx.fees + 'BTC' }} - - Confirmations + + {{ tx.confirmations }} Confirmations + {{ tx.valueOut + ' BTC' }} diff --git a/app/src/pages/transaction/transaction.ts b/app/src/pages/transaction/transaction.ts index 50f2d4b..0d3eabb 100644 --- a/app/src/pages/transaction/transaction.ts +++ b/app/src/pages/transaction/transaction.ts @@ -31,7 +31,6 @@ export class TransactionPage { this.http.get(this.api.apiPrefix + 'tx/' + this.txId).subscribe( (data) => { this.tx = JSON.parse(data['_body']); - console.log('tx', this.tx); this.loading = false; }, (err) => {