28 lines
980 B
HTML
28 lines
980 B
HTML
<section data-ng-controller="BlocksController" data-ng-init="list()">
|
|
<div class="page-header">
|
|
<h1>
|
|
<span class="glyphicon glyphicon-calendar"></span>
|
|
Blocks
|
|
<small>by date</small>
|
|
</h1>
|
|
<ul class="pagination">
|
|
<li><a href="#!/blocks-date/{{pagination.prev}}">« {{pagination.prev}}</a></li>
|
|
<li class="disabled"><a href="#">{{pagination.current}}</a></li>
|
|
<li><a href="#!/blocks-date/{{pagination.next}}">{{pagination.next}} »</a></li>
|
|
</ul>
|
|
</div>
|
|
<table class="table table-striped" ng-show="blocks || blocks.length">
|
|
<thead>
|
|
<th>Hash</th>
|
|
<th>Solved at</th>
|
|
</thead>
|
|
<tbody>
|
|
<tr data-ng-repeat="block in blocks">
|
|
<td><a href="#!/block/{{block.hash}}">{{block.hash}}</a></td>
|
|
<td>{{block.time * 1000 | date:'medium'}}</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<h1 class="text-center text-muted" ng-hide="!blocks || blocks.length">No blocks yet.</h1>
|
|
</section>
|