SET: complete descriptions info. fixed titles for all pages. complete h1, h2 on some pages
This commit is contained in:
parent
b04e9f2989
commit
bbdd3a137b
@ -6,8 +6,8 @@ head
|
|||||||
|
|
||||||
title(data-ng-bind="$root.title + $root.titleDetail + ' | #{appName}'")= appName
|
title(data-ng-bind="$root.title + $root.titleDetail + ' | #{appName}'")= appName
|
||||||
meta(http-equiv='Content-type', content='text/html;charset=UTF-8')
|
meta(http-equiv='Content-type', content='text/html;charset=UTF-8')
|
||||||
meta(name="keywords", content="node.js, express, mongoose, mongodb, angularjs")
|
meta(name="keywords", content="bitcoins, transactions, blocks, address, block chain, best block, mining difficulty, hash serialized")
|
||||||
meta(name="description", content="Insight")
|
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')
|
link(rel='shortcut icon', href='/img/icons/favicon.ico', type='image/x-icon')
|
||||||
|
|
||||||
|
|||||||
@ -190,11 +190,20 @@ h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
|
|||||||
width: 165px;
|
width: 165px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.block-id h1 {
|
||||||
|
color: #FFFFFF;
|
||||||
|
font-weight: bold;
|
||||||
|
line-height: 30px;
|
||||||
|
text-align: center;
|
||||||
|
font-size: 24px;
|
||||||
|
}
|
||||||
|
|
||||||
.block-id h3 {
|
.block-id h3 {
|
||||||
color: #FFFFFF;
|
color: #FFFFFF;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
line-height: 30px;
|
line-height: 30px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
font-size: 24px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.icon-block {
|
.icon-block {
|
||||||
|
|||||||
BIN
public/img/icons/favicon.ico
Normal file
BIN
public/img/icons/favicon.ico
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.4 KiB |
@ -5,12 +5,13 @@ function($scope, $rootScope, $routeParams, $location, Global, Address, getSocket
|
|||||||
$scope.global = Global;
|
$scope.global = Global;
|
||||||
|
|
||||||
$scope.findOne = function() {
|
$scope.findOne = function() {
|
||||||
$rootScope.titleDetail = $rootScope.currentAddr = $routeParams.addrStr;
|
$rootScope.currentAddr = $routeParams.addrStr;
|
||||||
|
|
||||||
Address.get({
|
Address.get({
|
||||||
addrStr: $routeParams.addrStr
|
addrStr: $routeParams.addrStr
|
||||||
},
|
},
|
||||||
function(address) {
|
function(address) {
|
||||||
|
$rootScope.titleDetail = address.addrStr.substring(0,7) + '...';
|
||||||
$scope.address = address;
|
$scope.address = address;
|
||||||
},
|
},
|
||||||
function(e) {
|
function(e) {
|
||||||
|
|||||||
@ -34,11 +34,11 @@ angular.module('insight.blocks').controller('BlocksController',
|
|||||||
|
|
||||||
$scope.findOne = function() {
|
$scope.findOne = function() {
|
||||||
$scope.loading = true;
|
$scope.loading = true;
|
||||||
$rootScope.titleDetail = $routeParams.blockHash;
|
|
||||||
|
|
||||||
Block.get({
|
Block.get({
|
||||||
blockHash: $routeParams.blockHash
|
blockHash: $routeParams.blockHash
|
||||||
}, function(block) {
|
}, function(block) {
|
||||||
|
$rootScope.titleDetail = block.height;
|
||||||
$scope.loading = false;
|
$scope.loading = false;
|
||||||
$scope.block = block;
|
$scope.block = block;
|
||||||
}, function(e) {
|
}, function(e) {
|
||||||
|
|||||||
@ -108,6 +108,7 @@ function($scope, $rootScope, $routeParams, $location, Global, Transaction, Trans
|
|||||||
Transaction.get({
|
Transaction.get({
|
||||||
txId: txid
|
txId: txid
|
||||||
}, function(tx) {
|
}, function(tx) {
|
||||||
|
$rootScope.titleDetail = tx.txid.substring(0,7) + '...';
|
||||||
$scope.tx = tx;
|
$scope.tx = tx;
|
||||||
_processTX(tx);
|
_processTX(tx);
|
||||||
$scope.txs.unshift(tx);
|
$scope.txs.unshift(tx);
|
||||||
@ -127,7 +128,6 @@ function($scope, $rootScope, $routeParams, $location, Global, Transaction, Trans
|
|||||||
};
|
};
|
||||||
|
|
||||||
$scope.findThis = function() {
|
$scope.findThis = function() {
|
||||||
$rootScope.titleDetail = $routeParams.txId;
|
|
||||||
_findTx($routeParams.txId);
|
_findTx($routeParams.txId);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@ -5,7 +5,7 @@
|
|||||||
<div class="icon-block text-center">
|
<div class="icon-block text-center">
|
||||||
<span class="glyphicon glyphicon-list-alt"></span>
|
<span class="glyphicon glyphicon-list-alt"></span>
|
||||||
</div>
|
</div>
|
||||||
<h3 data-ng-if="block">Block #{{ block.height }}</h3>
|
<h1 data-ng-if="block">Block #{{ block.height }}</h1>
|
||||||
</div>
|
</div>
|
||||||
<div class="m50v" data-ng-show="!tx.isCoinBase">
|
<div class="m50v" data-ng-show="!tx.isCoinBase">
|
||||||
<h4>Hashes</h4>
|
<h4>Hashes</h4>
|
||||||
|
|||||||
@ -7,7 +7,7 @@
|
|||||||
<div id="status" class="row">
|
<div id="status" class="row">
|
||||||
|
|
||||||
<div class="col-xs-12 col-md-8">
|
<div class="col-xs-12 col-md-8">
|
||||||
<h4>Sync Status</h4>
|
<h2>Sync Status</h2>
|
||||||
<table class="table" data-ng-controller="StatusController" data-ng-init="getSync()">
|
<table class="table" data-ng-controller="StatusController" data-ng-init="getSync()">
|
||||||
<tbody>
|
<tbody>
|
||||||
<thead>
|
<thead>
|
||||||
@ -40,7 +40,7 @@
|
|||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
<h4>Transaction Output Set Information</h4>
|
<h2>Transaction Output Set Information</h2>
|
||||||
<table class="table" style="table-layout: fixed" data-ng-controller="StatusController" data-ng-init="getStatus('TxOutSetInfo')">
|
<table class="table" style="table-layout: fixed" data-ng-controller="StatusController" data-ng-init="getStatus('TxOutSetInfo')">
|
||||||
<thead data-ng-include src="'/views/infoStatus.html'"> </thead>
|
<thead data-ng-include src="'/views/infoStatus.html'"> </thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
@ -75,7 +75,7 @@
|
|||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
<h4>Last Block</h4>
|
<h2>Last Block</h2>
|
||||||
<table class="table" style="table-layout: fixed" data-ng-controller="StatusController" data-ng-init="getStatus('LastBlockHash')">
|
<table class="table" style="table-layout: fixed" data-ng-controller="StatusController" data-ng-init="getStatus('LastBlockHash')">
|
||||||
<thead data-ng-include src="'/views/infoStatus.html'"> </thead>
|
<thead data-ng-include src="'/views/infoStatus.html'"> </thead>
|
||||||
<tr>
|
<tr>
|
||||||
@ -87,7 +87,7 @@
|
|||||||
</div> <!-- END OF COL-8 -->
|
</div> <!-- END OF COL-8 -->
|
||||||
|
|
||||||
<div class="col-xs-12 col-md-4 col-gray">
|
<div class="col-xs-12 col-md-4 col-gray">
|
||||||
<h4>Bitcoin node information</h4>
|
<h2>Bitcoin node information</h2>
|
||||||
<table class="table" data-ng-controller="StatusController" data-ng-init="getStatus('Info')">
|
<table class="table" data-ng-controller="StatusController" data-ng-init="getStatus('Info')">
|
||||||
<thead data-ng-include src="'/views/infoStatus.html'"> </thead>
|
<thead data-ng-include src="'/views/infoStatus.html'"> </thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
|
|||||||
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
<div class="row m50v">
|
<div class="row m50v">
|
||||||
<div data-ng-class="{'col-md-6':!tx.isCoinBase}">
|
<div data-ng-class="{'col-md-6':!tx.isCoinBase}">
|
||||||
<h3>Summary</h3>
|
<h2>Summary</h2>
|
||||||
<table class="table" style="table-layout: fixed">
|
<table class="table" style="table-layout: fixed">
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
@ -30,7 +30,7 @@
|
|||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-6" data-ng-show="!tx.isCoinBase">
|
<div class="col-md-6" data-ng-show="!tx.isCoinBase">
|
||||||
<h3>Inputs and Outputs</h3>
|
<h2>Inputs and Outputs</h2>
|
||||||
<table class="table">
|
<table class="table">
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user