Merge pull request #174 from cmgustavo/feature/01copy-hash-in-blockpage

added hash with copy/paste link on blockpage
This commit is contained in:
Mario Colque 2014-01-30 13:36:44 -08:00
commit 00e77708e2
2 changed files with 12 additions and 7 deletions

View File

@ -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;
}

View File

@ -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>