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
|
||||
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')
|
||||
|
||||
|
|
|
@ -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 {
|
||||
|
|
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.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) {
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -108,6 +108,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);
|
||||
|
@ -127,7 +128,6 @@ function($scope, $rootScope, $routeParams, $location, Global, Transaction, Trans
|
|||
};
|
||||
|
||||
$scope.findThis = function() {
|
||||
$rootScope.titleDetail = $routeParams.txId;
|
||||
_findTx($routeParams.txId);
|
||||
};
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
<div class="icon-block text-center">
|
||||
<span class="glyphicon glyphicon-list-alt"></span>
|
||||
</div>
|
||||
<h3 data-ng-if="block">Block #{{ block.height }}</h3>
|
||||
<h1 data-ng-if="block">Block #{{ block.height }}</h1>
|
||||
</div>
|
||||
<div class="m50v" data-ng-show="!tx.isCoinBase">
|
||||
<h4>Hashes</h4>
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
<div id="status" class="row">
|
||||
|
||||
<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()">
|
||||
<tbody>
|
||||
<thead>
|
||||
|
@ -40,7 +40,7 @@
|
|||
</tbody>
|
||||
</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')">
|
||||
<thead data-ng-include src="'/views/infoStatus.html'"> </thead>
|
||||
<tbody>
|
||||
|
@ -75,7 +75,7 @@
|
|||
</tbody>
|
||||
</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')">
|
||||
<thead data-ng-include src="'/views/infoStatus.html'"> </thead>
|
||||
<tr>
|
||||
|
@ -87,7 +87,7 @@
|
|||
</div> <!-- END OF COL-8 -->
|
||||
|
||||
<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')">
|
||||
<thead data-ng-include src="'/views/infoStatus.html'"> </thead>
|
||||
<tbody>
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
<div class="row m50v">
|
||||
<div data-ng-class="{'col-md-6':!tx.isCoinBase}">
|
||||
<h3>Summary</h3>
|
||||
<h2>Summary</h2>
|
||||
<table class="table" style="table-layout: fixed">
|
||||
<tbody>
|
||||
<tr>
|
||||
|
@ -30,7 +30,7 @@
|
|||
</table>
|
||||
</div>
|
||||
<div class="col-md-6" data-ng-show="!tx.isCoinBase">
|
||||
<h3>Inputs and Outputs</h3>
|
||||
<h2>Inputs and Outputs</h2>
|
||||
<table class="table">
|
||||
<tbody>
|
||||
<tr>
|
||||
|
|
Loading…
Reference in New Issue