Merge pull request #311 from colkito/feature/status-start-end-date
added start date and finix date in status page
This commit is contained in:
commit
b2d5350a28
|
@ -10,10 +10,10 @@
|
||||||
<div class="col-xs-12 col-md-8">
|
<div class="col-xs-12 col-md-8">
|
||||||
<h2>Sync Status</h2>
|
<h2>Sync Status</h2>
|
||||||
<table class="table" data-ng-controller="StatusController" data-ng-init="getSync()">
|
<table class="table" data-ng-controller="StatusController" data-ng-init="getSync()">
|
||||||
<tbody>
|
|
||||||
<thead>
|
<thead>
|
||||||
<span class="text-danger" data-ng-show="sync && sync.error">{{sync.error}}</span>
|
<span class="text-danger" data-ng-show="sync && sync.error">{{sync.error}}</span>
|
||||||
</thead>
|
</thead>
|
||||||
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<td>Sync Progress</td>
|
<td>Sync Progress</td>
|
||||||
<td>
|
<td>
|
||||||
|
@ -22,12 +22,20 @@
|
||||||
<span>{{sync.syncPercentage}}% Complete</span>
|
<span>{{sync.syncPercentage}}% Complete</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>Current Sync Status</td>
|
<td>Current Sync Status</td>
|
||||||
<td class="text-right">{{sync.status}}</td>
|
<td class="text-right">{{sync.status}}</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>Start Date</td>
|
||||||
|
<td><time datetime="{{sync.startTs | date:'medium'}}">{{humanSince(sync.startTs)}}</time></td>
|
||||||
|
</tr>
|
||||||
|
<tr data-ng-show="sync.endTs">
|
||||||
|
<td>Finish Date</td>
|
||||||
|
<td><time datetime="{{sync.startTs | date:'medium'}}">{{humanSince(sync.endTs)}}</time></td>
|
||||||
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>Initial Block Chain Height</td>
|
<td>Initial Block Chain Height</td>
|
||||||
<td class="text-right">{{sync.blockChainHeight}}</td>
|
<td class="text-right">{{sync.blockChainHeight}}</td>
|
||||||
|
@ -35,16 +43,22 @@
|
||||||
<tr>
|
<tr>
|
||||||
<td>Synced Blocks</td>
|
<td>Synced Blocks</td>
|
||||||
<td class="text-right">{{sync.syncedBlocks}}</td>
|
<td class="text-right">{{sync.syncedBlocks}}</td>
|
||||||
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>Skipped Blocks (previously synced)</td>
|
<td>Skipped Blocks (previously synced)</td>
|
||||||
<td class="text-right">{{sync.skippedBlocks}}</td>
|
<td class="text-right">{{sync.skippedBlocks}}</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>Sync Type</td>
|
||||||
|
<td class="text-right">{{sync.type}}</td>
|
||||||
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
<h2>Last Block</h2>
|
<h2>Last Block</h2>
|
||||||
<table class="table" style="table-layout: fixed" data-ng-controller="StatusController" data-ng-init="getStatus('LastBlockHash')">
|
<table class="table" style="table-layout: fixed" data-ng-controller="StatusController" data-ng-init="getStatus('LastBlockHash')">
|
||||||
<thead data-ng-include src="'/views/includes/infoStatus.html'"></thead>
|
<thead data-ng-include src="'/views/includes/infoStatus.html'"></thead>
|
||||||
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<td>Last Block Hash (Bitcoind)</td>
|
<td>Last Block Hash (Bitcoind)</td>
|
||||||
<td class="text-right ellipsis"><a href="/block/{{lastblockhash}}">{{lastblockhash}}</a></td>
|
<td class="text-right ellipsis"><a href="/block/{{lastblockhash}}">{{lastblockhash}}</a></td>
|
||||||
|
@ -52,14 +66,11 @@
|
||||||
<tr>
|
<tr>
|
||||||
<td>Current Blockchain Tip(insight)</td>
|
<td>Current Blockchain Tip(insight)</td>
|
||||||
<td class="text-right ellipsis"><a href="/block/{{syncTipHash}}">{{syncTipHash}}</a></td>
|
<td class="text-right ellipsis"><a href="/block/{{syncTipHash}}">{{syncTipHash}}</a></td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
|
|
||||||
<h2>Transaction Output Set Information</h2>
|
<h2>Transaction Output Set Information</h2>
|
||||||
|
|
||||||
<div data-ng-controller="StatusController">
|
<div data-ng-controller="StatusController">
|
||||||
<button data-ng-click="txoutLoading=1;getStatus('TxOutSetInfo')" class="btn btn-default" data-ng-show="!txoutsetinfo.height">
|
<button data-ng-click="txoutLoading=1;getStatus('TxOutSetInfo')" class="btn btn-default" data-ng-show="!txoutsetinfo.height">
|
||||||
Show Transaction Output data
|
Show Transaction Output data
|
||||||
|
@ -100,11 +111,8 @@
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div> <!-- END OF COL-8 -->
|
</div> <!-- END OF COL-8 -->
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<div class="col-xs-12 col-md-4 col-gray">
|
<div class="col-xs-12 col-md-4 col-gray">
|
||||||
<h2>Bitcoin node information</h2>
|
<h2>Bitcoin node information</h2>
|
||||||
<table class="table" data-ng-controller="StatusController" data-ng-init="getStatus('Info')">
|
<table class="table" data-ng-controller="StatusController" data-ng-init="getStatus('Info')">
|
||||||
|
@ -152,7 +160,7 @@
|
||||||
<h4>Difficulty</h4>
|
<h4>Difficulty</h4>
|
||||||
<table class="table" data-ng-controller="StatusController" data-ng-init="getStatus('Difficulty')">
|
<table class="table" data-ng-controller="StatusController" data-ng-init="getStatus('Difficulty')">
|
||||||
<thead data-ng-include src="'/views/includes/infoStatus.html'"></thead>
|
<thead data-ng-include src="'/views/includes/infoStatus.html'"></thead>
|
||||||
<tbody
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<td>Mining Difficulty</td>
|
<td>Mining Difficulty</td>
|
||||||
<td>{{difficulty}}</td>
|
<td>{{difficulty}}</td>
|
||||||
|
|
Loading…
Reference in New Issue