Front end changes
This commit is contained in:
parent
c4a26852b5
commit
a0ab8f1745
@ -68,8 +68,10 @@
|
|||||||
<img src="assets/img/difficulty.png" height="60" />
|
<img src="assets/img/difficulty.png" height="60" />
|
||||||
</div>
|
</div>
|
||||||
<div class="d-inline-block align-middle ml-2">
|
<div class="d-inline-block align-middle ml-2">
|
||||||
<span class="">Target Difficulty</span>
|
<h6 class="">Target Difficulty<span class="view_txt">
|
||||||
<h6 class="view_txt">{{(hashdata.BlockchainBlockFetchQuery.Proof == 'Cuckoo') ? (hashdata.BlockchainBlockFetchQuery.TotalCuckoo | number) : (hashdata.BlockchainBlockFetchQuery.Proof == 'RandomX') ? (hashdata.BlockchainBlockFetchQuery.TotalDifficultyRandomx | number) : (hashdata.BlockchainBlockFetchQuery.Proof == 'ProgPow') ? (hashdata.BlockchainBlockFetchQuery.TotalDifficultyProgpow | number) : 0}}</h6>
|
{{(hashdata.BlockchainBlockFetchQuery.Proof == 'Cuckoo') ? (hashdata.BlockchainBlockFetchQuery.TargetDifficultyCuckatoo | number) : (hashdata.BlockchainBlockFetchQuery.Proof == 'RandomX') ? (hashdata.BlockchainBlockFetchQuery.TargetDifficultyRandomx | number) : (hashdata.BlockchainBlockFetchQuery.Proof == 'ProgPow') ? (hashdata.BlockchainBlockFetchQuery.TargetDifficultyProgpow | number) : 0}}</span></h6>
|
||||||
|
<h6 class="">Total Difficulty<span class="view_txt">
|
||||||
|
{{(hashdata.BlockchainBlockFetchQuery.Proof == 'Cuckoo') ? (hashdata.BlockchainBlockFetchQuery.TotalDifficultyCuckatoo | number) : (hashdata.BlockchainBlockFetchQuery.Proof == 'RandomX') ? (hashdata.BlockchainBlockFetchQuery.TotalDifficultyRandomx | number) : (hashdata.BlockchainBlockFetchQuery.Proof == 'ProgPow') ? (hashdata.BlockchainBlockFetchQuery.TotalDifficultyProgpow | number) : 0}}</span></h6>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-sm-6 col-md-4 mt-4 pt-2">
|
<div class="col-sm-6 col-md-4 mt-4 pt-2">
|
||||||
|
@ -42,11 +42,11 @@
|
|||||||
<div class="col-md-3">
|
<div class="col-md-3">
|
||||||
<div class="text-center detail_div" #minhgt>
|
<div class="text-center detail_div" #minhgt>
|
||||||
<p class="mb-2 desc">{{'home.LATEST_BLOCK1' | translate}}</p>
|
<p class="mb-2 desc">{{'home.LATEST_BLOCK1' | translate}}</p>
|
||||||
<div class=" text-left d-inline-block">
|
<div class=" text-left d-inline-block" title="Target / Total Block Difficulty">
|
||||||
<p class="difficulty_datas">Cuckaroo : {{latestblockdetail.targetdifficultycuckaroo | number}}</p>
|
<!-- <p class="difficulty_datas">Cuckaroo : {{latestblockdetail.targetdifficultycuckaroo | number}} / {{latestblockdetail.TotalDifficultyCuckatoo | number}}</p> -->
|
||||||
<p class="difficulty_datas">Cuckatoo : {{latestblockdetail.targetdifficultycuckatoo | number}}</p>
|
<p class="difficulty_datas">Cuckoo : {{latestblockdetail.targetdifficultycuckatoo | number}} / {{latestblockdetail.TotalDifficultyCuckatoo | number}}</p>
|
||||||
<p class="difficulty_datas">ProgPow : {{latestblockdetail.targetdifficultyprogpow | number}}</p>
|
<p class="difficulty_datas">ProgPow : {{latestblockdetail.targetdifficultyprogpow | number}} / {{latestblockdetail.TotalDifficultyProgpow | number}}</p>
|
||||||
<p class="difficulty_datas">RandomX : {{latestblockdetail.targetdifficultyrandomx | number}}</p>
|
<p class="difficulty_datas">RandomX : {{latestblockdetail.targetdifficultyrandomx | number}} / {{latestblockdetail.TotalDifficultyRandomx | number}}</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user