From c9a1b6b153275f433f58e72fedd6aca9a98e8ff4 Mon Sep 17 00:00:00 2001 From: Darren Nelsen Date: Wed, 16 Aug 2017 12:46:08 -0400 Subject: [PATCH] added spinners to transaction and address pages and transaction list component --- app/src/components/head-nav/head-nav.ts | 2 +- .../transaction-list/transaction-list.html | 21 +++-- app/src/pages/address/address.html | 76 ++++++++++--------- app/src/pages/transaction/transaction.html | 68 +++++++++-------- 4 files changed, 93 insertions(+), 74 deletions(-) diff --git a/app/src/components/head-nav/head-nav.ts b/app/src/components/head-nav/head-nav.ts index b3122b6..664e77e 100644 --- a/app/src/components/head-nav/head-nav.ts +++ b/app/src/components/head-nav/head-nav.ts @@ -139,7 +139,7 @@ export class HeadNavComponent { actionSheet.present(); } - public toggleSearch() { + public toggleSearch(): void { this.showSearch = !this.showSearch; } } diff --git a/app/src/components/transaction-list/transaction-list.html b/app/src/components/transaction-list/transaction-list.html index 6620fc2..9c0a459 100644 --- a/app/src/components/transaction-list/transaction-list.html +++ b/app/src/components/transaction-list/transaction-list.html @@ -1,7 +1,14 @@ - - - - - - - +
+ +
+ + +
+ + + + + + + +
diff --git a/app/src/pages/address/address.html b/app/src/pages/address/address.html index 752120a..4dfc4d7 100644 --- a/app/src/pages/address/address.html +++ b/app/src/pages/address/address.html @@ -3,45 +3,51 @@ -

Address

-

Address {{ address.addrStr }}

-

{{ currency.getConversion(address.balance) }}

+
+ +
-

Summary

+
+

Address

+

Address {{ address.addrStr }}

+

{{ currency.getConversion(address.balance) }}

- - - Total Received - - {{ currency.getConversion(address.totalReceived) }} - - - - Total Sent - - {{ currency.getConversion(address.totalSent) }} - - - - Final Balance - - {{ currency.getConversion(address.balance) }} - - - - No. Transactions - - {{ address.txApperances }} - - - +

Summary

-

- -

+ + + Total Received + + {{ currency.getConversion(address.totalReceived) }} + + + + Total Sent + + {{ currency.getConversion(address.totalSent) }} + + + + Final Balance + + {{ currency.getConversion(address.balance) }} + + + + No. Transactions + + {{ address.txApperances }} + + + -

Transactions

+

+ +

- +

Transactions

+ + +
diff --git a/app/src/pages/transaction/transaction.html b/app/src/pages/transaction/transaction.html index bed9bd1..7f904dc 100644 --- a/app/src/pages/transaction/transaction.html +++ b/app/src/pages/transaction/transaction.html @@ -3,40 +3,46 @@ -

Transaction

-

Transaction {{ tx.txid }}

+
+ +
-

Summary

+
+

Transaction

+

Transaction {{ tx.txid }}

- - - Size - - {{ tx.size }} (bytes) - - - - Received Time - - {{ tx.time * 1000 | date:'medium' }} - - - - Mined Time - - {{ tx.blocktime * 1000 | date:'medium' }} - - - - Included in Block - - {{ tx.blockhash }} - - - +

Summary

-

Details

+ + + Size + + {{ tx.size }} (bytes) + + + + Received Time + + {{ tx.time * 1000 | date:'medium' }} + + + + Mined Time + + {{ tx.blocktime * 1000 | date:'medium' }} + + + + Included in Block + + {{ tx.blockhash }} + + + - +

Details

+ + +