Added new Angular views for block list
This commit is contained in:
parent
9e39398451
commit
ac261d42c6
|
@ -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>
|
|
@ -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>
|
Loading…
Reference in New Issue