bitcore-node-zcash/public/views/index.html

61 lines
2.2 KiB
HTML

<div class="alert alert-danger" data-ng-show="flashMessage">
{{flashMessage}}
</div>
<div data-ng-include src="'/views/includes/connection.html'"></div>
<section data-ng-controller="IndexController" data-ng-init="index()">
<div class="container">
<div id="home" class="row">
<div class="col-xs-12 col-md-8">
<h1>Latest Blocks</h1>
<table class="table table-hover" style="table-layout: fixed">
<thead>
<tr>
<th>Height</th>
<th>Age</th>
<th><span class="ellipsis">Transactions</span></th>
<th>Size</th>
</tr>
</thead>
<tbody>
<tr data-ng-show="!blocks.length"><td colspan="4">Waiting for blocks...</td></tr>
<tr class="fader" data-ng-repeat='b in blocks'>
<td>
<a href="/block/{{b.hash}}">{{b.height}}</a>
</td>
<td><span class="ellipsis">{{humanSince(b.time)}}</span></td>
<td>{{b.tx.length}}</td>
<td>{{b.size}}</td>
</tr>
</tbody>
</table>
<h2> About </h2>
<p class="text-muted">Insight is a bitcoin blockchain API for writing web wallets and other apps that need more advanced blockchain queries than provided by bitcoind RPC. Check out the <a href="http://github.com/bitpay/insight" target="_blank">source code</a>.</p>
</div>
<div class="col-xs-12 col-md-4 col-gray">
<h3>Latest Transactions</h3>
<table class="table" style="table-layout: fixed;">
<thead>
<tr>
<th>Hash</th>
<th>Age</th>
<th>Value Out</th>
</tr>
</thead>
<tbody>
<tr data-ng-show="!txs.length"><td colspan="3">Waiting for transactions...</td></tr>
<tr class="fader" data-ng-repeat='tx in txs'>
<td>
<a class="ellipsis" href="/tx/{{tx.txid}}">{{tx.txid}}</a>
</td>
<td><span class="ellipsis">{{humanSince(tx.time)}}</span></td>
<td><span class="ellipsis">{{tx.valueOut}}</span></td>
</tr>
</tbody>
</table>
</div> <!-- END OF COL-3 -->
</div>
</div>
</section>