diff --git a/app/views/includes/head.jade b/app/views/includes/head.jade index 80bef44..ca423a5 100755 --- a/app/views/includes/head.jade +++ b/app/views/includes/head.jade @@ -6,8 +6,8 @@ head title(data-ng-bind="$root.title + $root.titleDetail + ' | #{appName}'")= appName meta(http-equiv='Content-type', content='text/html;charset=UTF-8') - meta(name="keywords", content="node.js, express, mongoose, mongodb, angularjs") - meta(name="description", content="Insight") + meta(name="keywords", content="bitcoins, transactions, blocks, address, block chain, best block, mining difficulty, hash serialized") + meta(name="description", content="Bitcoin Insight. View detailed information on all bitcoin transactions and block. {{ $root.title + $root.titleDetail }}") link(rel='shortcut icon', href='/img/icons/favicon.ico', type='image/x-icon') diff --git a/public/css/common.css b/public/css/common.css index 6f5ba93..0b960b8 100644 --- a/public/css/common.css +++ b/public/css/common.css @@ -190,11 +190,20 @@ h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 { width: 165px; } +.block-id h1 { + color: #FFFFFF; + font-weight: bold; + line-height: 30px; + text-align: center; + font-size: 24px; +} + .block-id h3 { color: #FFFFFF; font-weight: bold; line-height: 30px; text-align: center; + font-size: 24px; } .icon-block { diff --git a/public/img/icons/favicon.ico b/public/img/icons/favicon.ico new file mode 100644 index 0000000..93d1349 Binary files /dev/null and b/public/img/icons/favicon.ico differ diff --git a/public/js/controllers/address.js b/public/js/controllers/address.js index 9907fcb..4ae129b 100644 --- a/public/js/controllers/address.js +++ b/public/js/controllers/address.js @@ -5,12 +5,13 @@ function($scope, $rootScope, $routeParams, $location, Global, Address, getSocket $scope.global = Global; $scope.findOne = function() { - $rootScope.titleDetail = $rootScope.currentAddr = $routeParams.addrStr; + $rootScope.currentAddr = $routeParams.addrStr; Address.get({ addrStr: $routeParams.addrStr }, function(address) { + $rootScope.titleDetail = address.addrStr.substring(0,7) + '...'; $scope.address = address; }, function(e) { diff --git a/public/js/controllers/blocks.js b/public/js/controllers/blocks.js index 21cdd44..b93b79c 100644 --- a/public/js/controllers/blocks.js +++ b/public/js/controllers/blocks.js @@ -34,11 +34,11 @@ angular.module('insight.blocks').controller('BlocksController', $scope.findOne = function() { $scope.loading = true; - $rootScope.titleDetail = $routeParams.blockHash; Block.get({ blockHash: $routeParams.blockHash }, function(block) { + $rootScope.titleDetail = block.height; $scope.loading = false; $scope.block = block; }, function(e) { diff --git a/public/js/controllers/transactions.js b/public/js/controllers/transactions.js index c30df53..5d4da03 100644 --- a/public/js/controllers/transactions.js +++ b/public/js/controllers/transactions.js @@ -109,6 +109,7 @@ function($scope, $rootScope, $routeParams, $location, Global, Transaction, Trans Transaction.get({ txId: txid }, function(tx) { + $rootScope.titleDetail = tx.txid.substring(0,7) + '...'; $scope.tx = tx; _processTX(tx); $scope.txs.unshift(tx); @@ -128,7 +129,6 @@ function($scope, $rootScope, $routeParams, $location, Global, Transaction, Trans }; $scope.findThis = function() { - $rootScope.titleDetail = $routeParams.txId; _findTx($routeParams.txId); }; diff --git a/public/views/block.html b/public/views/block.html index 5d3410f..c9f2268 100644 --- a/public/views/block.html +++ b/public/views/block.html @@ -5,7 +5,7 @@
-

Block #{{ block.height }}

+

Block #{{ block.height }}

Hashes

diff --git a/public/views/status.html b/public/views/status.html index e53634b..68c83e6 100644 --- a/public/views/status.html +++ b/public/views/status.html @@ -7,7 +7,7 @@
-

Sync Status

+

Sync Status

@@ -40,7 +40,7 @@
-

Transaction Output Set Information

+

Transaction Output Set Information

@@ -75,7 +75,7 @@
-

Last Block

+

Last Block

@@ -87,7 +87,7 @@
-

Bitcoin node information

+

Bitcoin node information

diff --git a/public/views/transaction.html b/public/views/transaction.html index f9793e3..2d378cb 100644 --- a/public/views/transaction.html +++ b/public/views/transaction.html @@ -10,7 +10,7 @@
-

Summary

+

Summary

@@ -30,7 +30,7 @@
-

Inputs and Outputs

+

Inputs and Outputs