diff --git a/app/views/layouts/default.jade b/app/views/layouts/default.jade index 4bf285faaad..45ba09c2b78 100644 --- a/app/views/layouts/default.jade +++ b/app/views/layouts/default.jade @@ -1,5 +1,5 @@ doctype -html(lang='en', data-ng-app='insight') +html(lang='en', data-ng-app='insight' data-ng-csp) include ../includes/head body #wrap diff --git a/public/src/css/common.css b/public/src/css/common.css index 0c3bc4ab592..58742a72e32 100644 --- a/public/src/css/common.css +++ b/public/src/css/common.css @@ -1,5 +1,7 @@ /* Sticky footer styles -------------------------------------------------- */ +@charset "UTF-8"; + html, body { color: #373D42; @@ -13,6 +15,12 @@ h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 { font-family: 'Ubuntu', sans-serif; } +[ng\:cloak], [ng-cloak], [data-ng-cloak], [x-ng-cloak], +.ng-cloak, .x-ng-cloak, +.ng-hide { + display: none !important; +} + /* Styling for the ngProgress itself */ #ngProgress { background-color: #6C9032 !important; diff --git a/public/src/js/filters.js b/public/src/js/filters.js index a726efc43fc..a1cad320d28 100644 --- a/public/src/js/filters.js +++ b/public/src/js/filters.js @@ -1 +1,9 @@ -'use strict'; \ No newline at end of file +'use strict'; + +angular.module('insight') + .filter('startFrom', function() { + return function(input, start) { + start = +start; //parse to int + return input.slice(start); + } +}); diff --git a/public/views/address.html b/public/views/address.html index df0af133f80..d43c98ceca4 100644 --- a/public/views/address.html +++ b/public/views/address.html @@ -3,55 +3,60 @@

Address

-
- -

{{$root.currency.getConvertion(address.balance)}}

-
- -
-

Summary

-
Confirmed
- - - - - - - - - - - - - - - - - - - -
Total Received{{$root.currency.getConvertion(address.totalReceived)}}
Total Sent{{$root.currency.getConvertion(address.totalSent)}}
Final Balance{{$root.currency.getConvertion(address.balance)}}
No. Transactions{{address.txApperances}}
-
-
Unconfirmed
- +
+ Loading Address Information... +
+
+
+ +

{{$root.currency.getConvertion(address.balance)}}

+
+ +
+

Summary

+
Confirmed
+
- - + + + + + + + + + + - + - - +
Unconfirmed Txs Balance{{$root.currency.getConvertion(address.unconfirmedBalance)}}Total Received{{$root.currency.getConvertion(address.totalReceived)}}
Total Sent{{$root.currency.getConvertion(address.totalSent)}}
Final Balance{{$root.currency.getConvertion(address.balance)}}
No. Transactions{{address.unconfirmedTxApperances}}{{address.txApperances}}
-
- -
+
+
Unconfirmed
+ + + + + + + + + + + + +
Unconfirmed Txs Balance{{$root.currency.getConvertion(address.unconfirmedBalance)}}
No. Transactions{{address.unconfirmedTxApperances}}
+
+ +
+
@@ -62,3 +67,4 @@

Transactions Transactions for this address

+ diff --git a/public/views/block.html b/public/views/block.html index 6b546d476ad..8a062375029 100644 --- a/public/views/block.html +++ b/public/views/block.html @@ -3,18 +3,22 @@

Block

-
- -

#{{block.height}}

-
- -
-

Hashes

- - +
+ Loading Block... +
+
+
+ +

#{{block.height}}

+
+ +
+

Hashes

+
+ @@ -23,15 +27,21 @@

Hashes

- -
Previous Block {{block.height-1}} Next Block {{block.height+1}}
-
+ + +
+

Summary

-
+
+
+ Loading Block Details... +
+
+
@@ -106,3 +116,4 @@

Transactions Transactions contained within this block

+ diff --git a/public/views/block_list.html b/public/views/block_list.html index 96d031dd09c..ea5ba8ef7dd 100644 --- a/public/views/block_list.html +++ b/public/views/block_list.html @@ -8,18 +8,22 @@

Blocks
mined on:

-

+

+ Loading Selected Date... +
+
+

{{pagination.current}} UTC -

-

 

-

Today

-

{{humanSince(pagination.currentTs)}}

-

 

- -
- ← {{pagination.prev}} - {{pagination.next}} → +

+

 

+

Today

+

{{humanSince(pagination.currentTs)}} +

 

+
@@ -56,3 +60,4 @@

No blocks yet.

+ diff --git a/public/views/transaction.html b/public/views/transaction.html index b9c30827c8a..c36235f85f5 100644 --- a/public/views/transaction.html +++ b/public/views/transaction.html @@ -1,49 +1,60 @@
-
-
-

Transaction

-
- -
-
- -
- {{tx.txid}} + +
+
+

Transaction

+
+ Loading Transaction...
+
+
+ +
+
+ + +
+

Summary

+
+ + + + + + + + + + + + + + + + + +
Size {{tx.size}} (bytes)
Received Time {{tx.firstSeenTs * 1000|date:'medium'}}N/A
Mined Time {{tx.time * 1000|date:'medium'}}N/A
+
+
-

Summary

- - - - - - - - - - - - - - - - - - -
Size {{tx.size}} (bytes)
Received Time {{tx.firstSeenTs * 1000|date:'medium'}}N/A
Mined Time {{tx.time * 1000|date:'medium'}}N/A
-
-
-
-

- Details - View information about a bitcoin transaction -

-
-
-
-
-

Inputs and Outputs

+
+

+ Details + View information about a bitcoin transaction +

+
+
+ Loading Transaction Details... +
+
+
+
+
+
+

Inputs and Outputs

@@ -60,6 +71,8 @@

Inputs and Outputs

+
+ diff --git a/public/views/transaction/list.html b/public/views/transaction/list.html index ad7a3dbd9f5..4dcfd41d04a 100644 --- a/public/views/transaction/list.html +++ b/public/views/transaction/list.html @@ -4,6 +4,6 @@
- Loading... + Loading Transactions...
diff --git a/public/views/transaction/tx.html b/public/views/transaction/tx.html index f38005f930e..c94091624ec 100644 --- a/public/views/transaction/tx.html +++ b/public/views/transaction/tx.html @@ -1,4 +1,4 @@ -
+
@@ -18,59 +18,70 @@
-
+
No Inputs (Newly Generated Coins)
-
-
-
-
-
{{$root.currency.getConvertion(vin.value)}}
-
- {{vin.addr}} - {{vin.addr}} - {{vin.addr}} -
-
(Input unconfirmed)
-
Incoherence in levelDB detected, please resync
-
Double spent attempt detected. From tx: +
+ + +
+
+
+
{{$root.currency.getConvertion(vin.value)}}
+
+ {{vin.addr}} + {{vin.addr}} + {{vin.addr}} +
+
(Input unconfirmed)
+
Incoherence in levelDB detected, please resync
+
Double spent attempt detected. From tx: {{vin.doubleSpentTxID}},{{vin.doubleSpentIndex}} +
+
-
-
-
-
-
{{$root.currency.getConvertion(vin.value)}}
-
-    - {{vin.addr}} - {{vin.addr}} -
-
(Input unconfirmed)
-
Incoherence in levelDB detected, please resync
-
Double spent attempt detected. From tx: + + +
+
+
+
{{$root.currency.getConvertion(vin.value)}}
+
+    + {{vin.addr}} + {{vin.addr}} +
+
(Input unconfirmed)
+
Incoherence in levelDB detected, please resync
+
Double spent attempt detected. From tx: {{vin.doubleSpentTxID}},{{vin.doubleSpentIndex}} -
+
-
-
-
-
- - scriptSig - {{vin.scriptSig.asm}} - +
+
+
+
+ + scriptSig + {{vin.scriptSig.asm}} + +
-
+
@@ -82,63 +93,73 @@
-
-
-
-
- - - {{$root.currency.getConvertion(vout.value)}} - (S) - (U) - -
-
- {{vout.addr}} - {{vout.addr}} - {{address}} -
+ +
+
+
+
+ + {{$root.currency.getConvertion(vout.value)}} + (S) + (U) + +
+
+ {{vout.addr}} + {{vout.addr}} + {{address}} +
+
+
+
-
-
-
-
-
{{$root.currency.getConvertion(vout.value)}} - (U) -    - + +
+
+
+
+ {{$root.currency.getConvertion(vout.value)}} + (U) +    + +
+
- -
-
-
-
- -

+

+
+
+ +

Type {{vout.scriptPubKey.type}} -

-

+

+

scriptPubKey {{vout.scriptPubKey.asm}} -

-
+

+
+
+
-
-
+
BlockHash @@ -147,7 +168,8 @@
-
+ +
Fees: {{$root.currency.getConvertion(tx.fees)}}