diff --git a/public/src/js/controllers/transactions.js b/public/src/js/controllers/transactions.js index 5dc9bc57..de66b42e 100644 --- a/public/src/js/controllers/transactions.js +++ b/public/src/js/controllers/transactions.js @@ -158,7 +158,7 @@ function($scope, $rootScope, $routeParams, $location, Global, Transaction, Trans if ($routeParams.v_type == '>' || $routeParams.v_type == '<') { $scope.from_vin = $routeParams.v_type == '<' ? true : false; $scope.from_vout = $routeParams.v_type == '>' ? true : false; - $scope.v_index = parseInt($routeParams.v_index) + 1; + $scope.v_index = parseInt($routeParams.v_index); $scope.itemsExpanded = true; } diff --git a/public/views/block.html b/public/views/block.html index 8a062375..78f1a89d 100644 --- a/public/views/block.html +++ b/public/views/block.html @@ -2,7 +2,6 @@
-

Block

Loading Block...
@@ -16,7 +15,6 @@ {{block.hash}}
-

Hashes

@@ -35,7 +33,8 @@
-

Summary

+

Block #{{block.height}}

+

Summary

Loading Block Details... @@ -109,7 +108,7 @@
-

Transactions Transactions contained within this block

+

Transactions

diff --git a/public/views/transaction.html b/public/views/transaction.html index c36235f8..c0cf9bbd 100644 --- a/public/views/transaction.html +++ b/public/views/transaction.html @@ -3,7 +3,6 @@
-

Transaction

Loading Transaction...
@@ -41,10 +40,13 @@
-

- Details - View information about a bitcoin transaction -

+

Transaction + + Input + Output + {{v_index}} + +

Loading Transaction Details... @@ -53,25 +55,6 @@
-
-

Inputs and Outputs

-
- - - - - - - - - - - - - - -
Total Input{{$root.currency.getConvertion(tx.valueIn)}}
Total Output{{$root.currency.getConvertion(tx.valueOut)}}
Fees{{$root.currency.getConvertion(tx.fees)}}
-
diff --git a/public/views/transaction/tx.html b/public/views/transaction/tx.html index 565ab5b6..81a0bdc7 100644 --- a/public/views/transaction/tx.html +++ b/public/views/transaction/tx.html @@ -51,10 +51,10 @@ -
- only highlighted... - expand all... -
+
+ show input {{ v_index }} + show all +

{{$root.currency.getConvertion(vin.value)}}

@@ -70,7 +70,7 @@
-
+
scriptSig {{vin.scriptSig.asm}} @@ -81,16 +81,18 @@
- -