2014-07-16 13:59:28 -07:00
|
|
|
<div class="addresses" ng-controller="AddressesController">
|
|
|
|
<div ng-show='$root.wallet.isReady()'>
|
2014-07-22 07:03:08 -07:00
|
|
|
<h1>
|
2014-07-17 13:39:32 -07:00
|
|
|
Addresses
|
2014-07-23 14:07:45 -07:00
|
|
|
<span class="button primary small side-bar" ng-click="newAddr()" ng-disabled="loading" loading="Creating"><i class="fi-plus"></i></span>
|
2014-07-22 07:03:08 -07:00
|
|
|
</h1>
|
2014-07-17 13:39:32 -07:00
|
|
|
|
2014-07-18 14:51:55 -07:00
|
|
|
<div class="large-12 medium-12" ng-if="!!(addresses|removeEmpty).length">
|
|
|
|
<div class="large-12 medium-12" ng-init="showAll=0">
|
|
|
|
<ul>
|
2014-07-24 15:57:42 -07:00
|
|
|
<li class="panel radius oh" ng-repeat="addr in addresses|removeEmpty|limitAddress:showAll">
|
2014-07-16 13:59:28 -07:00
|
|
|
|
2014-07-29 20:51:38 -07:00
|
|
|
<div class="large-8 small-6 column" ng-click="openAddressModal(addr)">
|
2014-07-24 15:57:42 -07:00
|
|
|
<div class="ellipsis">
|
2014-07-29 20:51:38 -07:00
|
|
|
<i class="fi-thumbnails"> </i>
|
2014-07-24 15:57:42 -07:00
|
|
|
<span><contact address="{{addr.address}}" tooltip-popup-delay="500" tooltip tooltip-placement="right"/></span>
|
|
|
|
<small ng-if="addr.isChange">change</small>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="large-4 small-6 column text-right">
|
2014-07-18 14:51:55 -07:00
|
|
|
<span ng-if="$root.updatingBalance">
|
|
|
|
<i class="fi-bitcoin-circle icon-rotate spinner"></i>
|
2014-07-16 13:59:28 -07:00
|
|
|
</span>
|
2014-07-18 14:51:55 -07:00
|
|
|
<span ng-if="!$root.updatingBalance">
|
|
|
|
{{addr.balance || 0|noFractionNumber}} {{$root.unitName}}
|
|
|
|
</span>
|
2014-07-24 15:57:42 -07:00
|
|
|
</div>
|
2014-07-18 14:51:55 -07:00
|
|
|
</li>
|
|
|
|
</ul>
|
2014-07-17 13:39:32 -07:00
|
|
|
|
2014-07-18 14:51:55 -07:00
|
|
|
<a class="secondary radius" ng-click="showAll=!showAll" ng-show="(addresses|removeEmpty).length != (addresses|removeEmpty|limitAddress).length">
|
|
|
|
<span ng-if="!showAll">Show all</span>
|
|
|
|
<span ng-if="showAll">Show less</span>
|
|
|
|
</a>
|
2014-07-16 13:59:28 -07:00
|
|
|
</div>
|
2014-07-18 14:51:55 -07:00
|
|
|
</div>
|
2014-07-16 13:59:28 -07:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|