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 {
|
||||
color: #FFFFFF;
|
||||
font-size: 27px;
|
||||
margin-top: 20px;
|
||||
font-size: 35px;
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
.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 .btc-value { margin-left: 15px; }
|
||||
|
||||
.block_hash {
|
||||
margin-left: 46px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
@ -7,14 +7,14 @@
|
||||
</div>
|
||||
<h1 data-ng-if="block">Block #{{ block.height }}</h1>
|
||||
</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>
|
||||
<table class="table" style="table-layout: fixed">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="small"> Hash </td>
|
||||
<td><a class="address ellipsis" href="/block/{{block.hash}}">{{block.hash}}</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="small"> Previous Block</td>
|
||||
<td><a class="address ellipsis" href="/block/{{block.previousblockhash}}">{{block.previousblockhash}}</a></td>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user