Merge pull request #174 from cmgustavo/feature/01copy-hash-in-blockpage
added hash with copy/paste link on blockpage
This commit is contained in:
commit
00e77708e2
@ -208,8 +208,8 @@ h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
|
|||||||
|
|
||||||
.icon-block {
|
.icon-block {
|
||||||
color: #FFFFFF;
|
color: #FFFFFF;
|
||||||
font-size: 27px;
|
font-size: 35px;
|
||||||
margin-top: 20px;
|
margin-top: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.block-tx {
|
.block-tx {
|
||||||
@ -400,3 +400,8 @@ h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
|
|||||||
|
|
||||||
.transaction-vin-vout .ellipsis { margin-bottom: 10px; }
|
.transaction-vin-vout .ellipsis { margin-bottom: 10px; }
|
||||||
.transaction-vin-vout .btc-value { margin-left: 15px; }
|
.transaction-vin-vout .btc-value { margin-left: 15px; }
|
||||||
|
|
||||||
|
.block_hash {
|
||||||
|
margin-left: 46px;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|||||||
@ -7,14 +7,14 @@
|
|||||||
</div>
|
</div>
|
||||||
<h1 data-ng-if="block">Block #{{ block.height }}</h1>
|
<h1 data-ng-if="block">Block #{{ block.height }}</h1>
|
||||||
</div>
|
</div>
|
||||||
<div class="m50v" data-ng-show="!tx.isCoinBase">
|
<div class="m10v">
|
||||||
|
<button class="pull-right btn-copy" clip-copy="block.hash"><span class="glyphicon glyphicon-paperclip"></span></button>
|
||||||
|
<a class="ellipsis block_hash" href="/address/{{block.hash}}">{{block.hash}}</a>
|
||||||
|
</div>
|
||||||
|
<div class="m20v" data-ng-show="!tx.isCoinBase">
|
||||||
<h4>Hashes</h4>
|
<h4>Hashes</h4>
|
||||||
<table class="table" style="table-layout: fixed">
|
<table class="table" style="table-layout: fixed">
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
|
||||||
<td class="small"> Hash </td>
|
|
||||||
<td><a class="address ellipsis" href="/block/{{block.hash}}">{{block.hash}}</a></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
<tr>
|
||||||
<td class="small"> Previous Block</td>
|
<td class="small"> Previous Block</td>
|
||||||
<td><a class="address ellipsis" href="/block/{{block.previousblockhash}}">{{block.previousblockhash}}</a></td>
|
<td><a class="address ellipsis" href="/block/{{block.previousblockhash}}">{{block.previousblockhash}}</a></td>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user