Merge pull request #79 from colkito/feature/404-redirect
Feature/404 redirect
This commit is contained in:
commit
c8adefddd9
|
@ -26,7 +26,7 @@ angular.module('insight').config(['$routeProvider',
|
||||||
templateUrl: 'views/status.html'
|
templateUrl: 'views/status.html'
|
||||||
}).
|
}).
|
||||||
otherwise({
|
otherwise({
|
||||||
redirectTo: '/'
|
templateUrl: 'views/404.html'
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
]);
|
]);
|
||||||
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
<div class="jumbotron">
|
||||||
|
<h1>Ooops!</h1>
|
||||||
|
<h2 class="text-muted">Page not found :(</h2>
|
||||||
|
<p><a href="/" class="pull-right">Go to home</a></p>
|
||||||
|
</div>
|
|
@ -15,15 +15,15 @@
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>Total Received</td>
|
<td>Total Received</td>
|
||||||
<td>{{address.totalReceivedSat / 100000000}} BTC</td>
|
<td>{{address.totalReceived}} BTC</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>Total Sent</td>
|
<td>Total Sent</td>
|
||||||
<td>{{address.totalSentSat / 100000000}} BTC</td>
|
<td>{{address.totalSent}} BTC</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>Final Balance</td>
|
<td>Final Balance</td>
|
||||||
<td>{{address.balanceSat / 100000000}} BTC</td>
|
<td>{{address.balance}} BTC</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>No. Transactions</td>
|
<td>No. Transactions</td>
|
||||||
|
@ -38,7 +38,7 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div data-ng-controller="transactionsController" data-ng-init="byAddress(params.addrStr)">
|
<div data-ng-controller="transactionsController" data-ng-init="byAddress(params.addrStr)">
|
||||||
<h2>Transactions <small>Transactions contained within this block</small></h2>
|
<h2>Transactions <small>Transactions contained within this block</small></h2>
|
||||||
<div data-ng-include src="'/views/transaction/list.html'"></div>
|
<div data-ng-include src="'/views/transaction/list.html'"></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue