Added new Angular views for block list

This commit is contained in:
Mario Colque 2014-01-08 11:55:06 -03:00
parent 9e39398451
commit ac261d42c6
2 changed files with 20 additions and 0 deletions

View File

@ -0,0 +1,10 @@
<section data-ng-controller="BlocksController" data-ng-init="list_blocks()">
<div class="page-header">
<h1>Blocks by Date</h1>
</div>
<ul>
<li data-ng-repeat="block in blocks">
<span>{{block.hash}}</span> {{block.time}}
</li>
</ul>
</section>

View File

@ -0,0 +1,10 @@
<section data-ng-controller="BlocksController" data-ng-init="list_blocks_date()">
<div class="page-header">
<h1>Blocks by defined date</h1>
</div>
<ul>
<li data-ng-repeat="block in blocks">
<span>{{block.hash}}</span> {{block.time}}
</li>
</ul>
</section>