@ -4,15 +4,15 @@
< / div >
< / div >
< div * ngIf = "blockDetails != null" >
< div * ngIf = "blockDetails != null" >
< div class = "row" >
< div class = "row" >
< h2 class = "col-xs-12 col-sm-12 col-md-12 col-lg-12" > {{'label.block' | translate}} #{{blockDetails.block.height}}< / h2 >
< h2 class = "col-xs-12" > {{'label.block' | translate}} #{{blockDetails.block.height}}< / h2 >
< / div >
< div class = "col-xs-12 col-sm-12 col-md-7 col-lg-7" >
< div class = "col-xs-12 col-md-7" >
< div class = "table-responsive" >
< table class = "table table-condensed table-bordered table-striped table-hover" >
< table class = "table table-condensed table-bordered table-striped table-hover" >
< thead >
< thead >
< tr >
< tr >
< th class = "col-xs-4 col-sm -4 col-md-3 col-lg-9" > {{'label.summary' | translate}}< / th >
< th class = "col-xs-4 col-md-3 col-lg-9" > {{'label.summary' | translate}}< / th >
< th class = "col-xs-8 col-sm -8 col-md-3 col-lg-9" > < / th >
< th class = "col-xs-8 col-md-3 col-lg-9" > < / th >
< / tr >
< / tr >
< / thead >
< / thead >
@ -24,7 +24,9 @@
< / tr >
< / tr >
< tr * ngIf = "isTPoS(blockDetails)" >
< tr * ngIf = "isTPoS(blockDetails)" >
< td > {{'label.tposContract' | translate}}< / td >
< td > {{'label.tposContract' | translate}}< / td >
< td > < a routerLink = "/transactions/{{blockDetails.block.tposContract}}" > {{blockDetails.block.tposContract}}< / a > < / td >
< td >
< a routerLink = "/transactions/{{blockDetails.block.tposContract}}" > {{blockDetails.block.tposContract}}< / a >
< / td >
< / tr >
< / tr >
< tr >
< tr >
< td > {{'label.blockhash' | translate}}< / td >
< td > {{'label.blockhash' | translate}}< / td >
@ -89,24 +91,27 @@
< / tbody >
< / tbody >
< / table >
< / table >
< / div >
< / div >
< / div >
<!-- rewards -->
<!-- rewards -->
< div class = "col-xs-12 col-sm-12 col- md-offset-1 col-md-4 col-lg-offset-1 col-lg -4" >
< div class = "col-xs-12 col-md-offset-1 col-md-4" >
< div class = "table-responsive" >
<!-- PoW -->
<!-- PoW -->
< div * ngIf = "isPoW(blockDetails)" >
< div * ngIf = "isPoW(blockDetails)" >
< table class = "table table-condensed table-bordered table-striped table-hover" >
< table class = "table table-condensed table-bordered table-striped table-hover" >
< thead >
< thead >
< tr >
< tr >
< th class = "col-xs-2 col-sm-2 col- md-1 col-lg -1" > {{'label.blockReward' | translate}}< / th >
< th class = "col-xs-2 col-md-1" > {{'label.blockReward' | translate}}< / th >
< th class = "col-xs-2 col-sm-2 col- md-1 col-lg -1" > {{blockDetails.rewards.reward.value}} {{'label.coinName' | translate}}< / th >
< th class = "col-xs-2 col-md-1" > {{blockDetails.rewards.reward.value}} {{'label.coinName' | translate}}< / th >
< / tr >
< / tr >
< / thead >
< / thead >
< tbody >
< tbody >
< tr >
< tr >
< td > {{'label.address' | translate}}< / td >
< td > {{'label.address' | translate}}< / td >
< td > < a routerLink = "/addresses/{{blockDetails.rewards.reward.address}}" > {{blockDetails.rewards.reward.address}}< / a > < / td >
< td >
< a routerLink = "/addresses/{{blockDetails.rewards.reward.address}}" > {{blockDetails.rewards.reward.address}}< / a >
< / td >
< / tr >
< / tr >
< / tbody >
< / tbody >
< / table >
< / table >
@ -117,8 +122,8 @@
< table class = "table table-condensed table-bordered table-striped table-hover" >
< table class = "table table-condensed table-bordered table-striped table-hover" >
< thead >
< thead >
< tr >
< tr >
< th class = "col-xs-2 col-sm-2 col- md-1 col-lg -1" > {{'label.rewards' | translate}}< / th >
< th class = "col-xs-2 col-md-1" > {{'label.rewards' | translate}}< / th >
< th class = "col-xs-2 col-sm-2 col- md-1 col-lg -1" > {{getPoSTotalReward(blockDetails)}} {{'label.coinName' | translate}}< / th >
< th class = "col-xs-2 col-md-1" > {{getPoSTotalReward(blockDetails)}} {{'label.coinName' | translate}}< / th >
< / tr >
< / tr >
< / thead >
< / thead >
@ -128,7 +133,9 @@
< td > < / td >
< td > < / td >
< / tr >
< / tr >
< tr >
< tr >
< td > < strong > {{'label.coinstake' | translate}}< / strong > < / td >
< td >
< strong > {{'label.coinstake' | translate}}< / strong >
< / td >
< td > < / td >
< td > < / td >
< / tr >
< / tr >
< tr >
< tr >
@ -146,7 +153,9 @@
< td > < / td >
< td > < / td >
< / tr >
< / tr >
< tr * ngIf = "blockDetails.rewards.masternode != null" >
< tr * ngIf = "blockDetails.rewards.masternode != null" >
< td > < strong > {{'label.masternode' | translate}}< / strong > < / td >
< td >
< strong > {{'label.masternode' | translate}}< / strong >
< / td >
< td > < / td >
< td > < / td >
< / tr >
< / tr >
< tr * ngIf = "blockDetails.rewards.masternode != null" >
< tr * ngIf = "blockDetails.rewards.masternode != null" >
@ -168,8 +177,8 @@
< table class = "table table-condensed table-bordered table-striped table-hover" >
< table class = "table table-condensed table-bordered table-striped table-hover" >
< thead >
< thead >
< tr >
< tr >
< th class = "col-xs-2 col-sm-2 col- md-1 col-lg -1" > {{'label.rewards' | translate}}< / th >
< th class = "col-xs-2 col-md-1" > {{'label.rewards' | translate}}< / th >
< th class = "col-xs-2 col-sm-2 col- md-1 col-lg -1" > {{getTPoSTotalReward(blockDetails)}} {{'label.coinName' | translate}}< / th >
< th class = "col-xs-2 col-md-1" > {{getTPoSTotalReward(blockDetails)}} {{'label.coinName' | translate}}< / th >
< / tr >
< / tr >
< / thead >
< / thead >
@ -240,24 +249,43 @@
< / table >
< / table >
< / div >
< / div >
< / div >
< / div >
< / div >
<!-- transactions -->
<!-- transactions -->
< div class = "col-xs-12 col-sm-12 col-md-offset-2 col-md-8 col-lg-offset-2 col-lg-8" >
< div class = "col-xs-12 col-md-offset-2 col-md-8" >
< div class = "table-responsive" >
< table class = "table table-condensed table-bordered table-striped table-hover" >
< table class = "table table-condensed table-bordered table-striped table-hover" >
< thead >
< thead >
< tr >
< tr >
< th class = "col-xs-2 col-sm-2 col-md-1 col-lg-1" > {{'label.transactions' | translate}}< / th >
< th class = "col-xs-1" > #< / th >
< th class = "col-xs-4" > {{'label.transaction' | translate}}< / th >
< th class = "col-xs-3" > {{'label.date' | translate}}< / th >
< th class = "col-xs-2" > {{'label.value' | translate}}< / th >
< th class = "col-xs-2" > {{'label.size' | translate}}< / th >
< / tr >
< / tr >
< / thead >
< / thead >
< tbody >
< tbody >
< tr * ngFor = "let item of blockDetails.block.transactions" >
< tr * ngFor = "let index = index; let item of asyncItems | async | paginate: { id: 'transactions', itemsPerPage: pageSize, currentPage: currentPage, totalItems: total }" >
< td > {{(currentPage - 1) * pageSize + index + 1}}< / td >
< td >
< td >
< a routerLink = "/transactions/{{item}}" > {{item}}< / a >
< a routerLink = "/transactions/{{item.id }}" > {{item.id | slice:0:35 }}... < / a >
< / td >
< / td >
< td > {{item.time * 1000 | explorerDatetime}}< / td >
< td > {{item.sent}} {{'label.coinName' | translate}}< / td >
< td > {{item.size}} bytes< / td >
< / tr >
< / tr >
< / tbody >
< / tbody >
< / table >
< / table >
< / div >
< / div >
< div class = "row" >
< div class = "col-xs-11 col-xs-offset-1 col-sm-5 col-sm-offset-4" >
< pagination-controls ( pageChange ) = " getPage ( $ event ) " id = "transactions" previousLabel = "" nextLabel = "" >
< / pagination-controls >
< / div >
< / div >
< / div >
< / div >
< / div >
< / div >
< / div >
< / div >