diff --git a/app/views/layouts/default.jade b/app/views/layouts/default.jade
index 4bf285fa..45ba09c2 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 0c3bc4ab..58742a72 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 a726efc4..a1cad320 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 df0af133..d43c98ce 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 @@
+
diff --git a/public/views/block.html b/public/views/block.html
index 6b546d47..8a062375 100644
--- a/public/views/block.html
+++ b/public/views/block.html
@@ -3,18 +3,22 @@
Block
-
-
-
#{{block.height}}
-
-
-
-
Hashes
-
-
+
+ Loading Block...
+
+
+
+
+
#{{block.height}}
+
+
+
+
+
+
+
Summary
-
+
+
+ Loading Block Details...
+
+
+
@@ -106,3 +116,4 @@
+
diff --git a/public/views/block_list.html b/public/views/block_list.html
index 96d031dd..ea5ba8ef 100644
--- a/public/views/block_list.html
+++ b/public/views/block_list.html
@@ -8,18 +8,22 @@
Blocks
mined on:
-
+
+ Loading Selected Date...
+
+
@@ -56,3 +60,4 @@
No blocks yet.
+
diff --git a/public/views/transaction.html b/public/views/transaction.html
index b9c30827..c36235f8 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...
+
+
+
+
+
diff --git a/public/views/transaction/list.html b/public/views/transaction/list.html
index ad7a3dbd..4dcfd41d 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 f38005f9..c9409162 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)}}
-
-
(Input unconfirmed)
-
Incoherence in levelDB detected, please resync
-
-
-
-
-
-
-
-
{{$root.currency.getConvertion(vin.value)}}
-
-
(Input unconfirmed)
-
Incoherence in levelDB detected, please resync
-
+
-
-
-
-
-
- scriptSig
- {{vin.scriptSig.asm}}
-
+
+
+
+
+
{{$root.currency.getConvertion(vin.value)}}
+
+
(Input unconfirmed)
+
Incoherence in levelDB detected, please resync
+
+
+
+
+
+
+
+
{{$root.currency.getConvertion(vin.value)}}
+
+
(Input unconfirmed)
+
Incoherence in levelDB detected, please resync
+
+
+
+
+
+
+
+ scriptSig
+ {{vin.scriptSig.asm}}
+
+
+
+
+
+
@@ -82,63 +93,73 @@
-
-
-
-
-
- {{$root.currency.getConvertion(vout.value)}}
- (S)
- (U)
-
-
+
+
+
-
-
-
-
{{$root.currency.getConvertion(vout.value)}}
- (U)
-
-
-
-
-
-
-
-
-
-
- Type
- {{vout.scriptPubKey.type}}
-
-
- scriptPubKey
- {{vout.scriptPubKey.asm}}
-
+ {{$root.currency.getConvertion(vout.value)}}
+
(S)
+
(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)}}