Added 'View' link next to Claim label
This commit is contained in:
parent
c09da8ade8
commit
07a0d0c0fe
2 changed files with 5 additions and 4 deletions
|
@ -136,9 +136,10 @@
|
|||
foreach ($outputs as $out): ?>
|
||||
<div id="output-<?php echo $out->Vout ?>" class="output <?php if (isset($out['OutputAddresses']) && count($out['OutputAddresses']) > 0 && $out['OutputAddresses'][0]->Address == $sourceAddress): ?>is-source<?php endif; ?>">
|
||||
<div class="labels">
|
||||
<?php if($out->IsSupportClaim): ?><div class="support"><a class="view-claim" href="<?php echo $out->Claim->getExplorerLink() ?>">SUPPORT</a></div><?php endif; ?>
|
||||
<?php if($out->IsUpdateClaim): ?><div class="update"><a class="view-claim" href="<?php echo $out->Claim->getExplorerLink() ?>">UPDATE</a></div><?php endif; ?>
|
||||
<?php if($out->IsClaim): ?><div class="claim"><a class="view-claim" href="<?php echo $out->Claim->getExplorerLink() ?>">CLAIM</a></div><?php endif; ?>
|
||||
<?php if($out->IsClaim or $out->IsSupportClaim or $out->IsUpdateClaim): ?><a class="view-claim" href="<?php echo $out->Claim->getExplorerLink() ?>">View</a><?php endif; ?>
|
||||
<?php if($out->IsSupportClaim): ?><div class="support">SUPPORT</div><?php endif; ?>
|
||||
<?php if($out->IsUpdateClaim): ?><div class="update">UPDATE</div><?php endif; ?>
|
||||
<?php if($out->IsClaim): ?><div class="claim">CLAIM</div><?php endif; ?>
|
||||
</div>
|
||||
|
||||
<?php if (strlen(trim($out['Value'])) == 0): ?>
|
||||
|
|
|
@ -252,7 +252,7 @@ footer .content .page-time { position: absolute; right: 12px; bottom: 0px; paddi
|
|||
.tx-details-layout .outputs .output .labels .support { background: #ffeb3b }
|
||||
.tx-details-layout .outputs .output .labels .update { background: #ea80fc }
|
||||
.tx-details-layout .outputs .output .labels .claim { background: #76ff03 }
|
||||
.tx-details-layout .outputs .output .view-claim { text-decoration: none; color: black }
|
||||
.tx-details-layout .outputs .output .view-claim { font-size: 80%; }
|
||||
.tx-details-layout .inputs .input .value, .tx-details-layout .outputs .output .value { font-weight: normal }
|
||||
.tx-details-layout .inputs .input.is-source, .tx-details-layout .outputs .output.is-source { border-right-width: 18px; border-right-color: #1e88e5; background: #e3f2fd }
|
||||
.tx-details-layout .inputs .input.highlighted, .tx-details-layout .outputs .output.highlighted { background: #f1f8e9 }
|
||||
|
|
Loading…
Reference in a new issue