2014-01-09 09:53:28 -08:00
|
|
|
<section data-ng-controller="BlocksController" data-ng-init="list()">
|
2014-01-20 16:02:47 -08:00
|
|
|
<div class="row">
|
2014-01-27 13:13:32 -08:00
|
|
|
<div class="col-xs-12 col-gray col-gray-fixed">
|
|
|
|
<div class="block-id">
|
|
|
|
<div class="icon-block text-center">
|
|
|
|
<span class="glyphicon glyphicon-list"></span>
|
|
|
|
<h3>Blocks <br> mined on:</h3>
|
2014-01-21 12:03:57 -08:00
|
|
|
</div>
|
|
|
|
</div>
|
2014-01-27 13:13:32 -08:00
|
|
|
<p class="lead text-center m20v">{{pagination.current}}</p>
|
|
|
|
<div class="m50v text-center">
|
|
|
|
<a class="btn btn-primary" href="/blocks-date/{{pagination.prev}}"><small>← {{pagination.prev}}</small></a>
|
|
|
|
<a class="btn btn-primary" href="/blocks-date/{{pagination.next}}" data-ng-disabled="pagination.isToday"><small>{{pagination.next}} →</small></a>
|
|
|
|
</div>
|
2014-01-21 12:03:57 -08:00
|
|
|
</div>
|
2014-01-27 13:13:32 -08:00
|
|
|
<div class="col-xs-12 col-md-9 col-md-offset-3">
|
2014-01-21 12:03:57 -08:00
|
|
|
<div class="page-header">
|
|
|
|
<h1>
|
|
|
|
Blocks
|
|
|
|
<small>by date</small>
|
|
|
|
</h1>
|
|
|
|
</div>
|
2014-01-21 18:15:44 -08:00
|
|
|
<table class="table table-hover">
|
2014-01-20 16:02:47 -08:00
|
|
|
<thead>
|
|
|
|
<tr>
|
2014-01-21 18:15:44 -08:00
|
|
|
<th>Height</th>
|
|
|
|
<th>Timestamp</th>
|
|
|
|
<th>Transactions</th>
|
|
|
|
<th>Size</th>
|
|
|
|
<th>Confirmations</th>
|
2014-01-20 16:02:47 -08:00
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
2014-01-23 12:31:49 -08:00
|
|
|
<tr data-ng-show="loading">
|
|
|
|
<td colspan="5">Waiting for blocks...</td>
|
|
|
|
</tr>
|
2014-01-21 18:15:44 -08:00
|
|
|
<tr class="fader" data-ng-repeat='b in blocks'>
|
2014-01-23 12:02:06 -08:00
|
|
|
<td><a href="/block/{{b.hash}}">{{b.height}}</a></td>
|
2014-01-21 18:15:44 -08:00
|
|
|
<td>{{b.time * 1000 | date:'medium'}}</td>
|
|
|
|
<td>{{b.tx.length}}</td>
|
|
|
|
<td>{{b.size}}</td>
|
|
|
|
<td>{{b.confirmations}}</td>
|
2014-01-20 16:02:47 -08:00
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
</div>
|
2014-01-24 06:09:36 -08:00
|
|
|
<h2 class="text-center text-muted" data-ng-show="!blocks.length && !loading">No blocks yet.</h2>
|
2014-01-09 09:53:28 -08:00
|
|
|
</section>
|