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-09-01 10:44:30 -07:00
|
|
|
<li class="panel radius oh" ng-repeat="addr in addresses|removeEmpty|limitAddress:showAll" ng-click="openAddressModal(addr)">
|
2014-07-16 13:59:28 -07:00
|
|
|
|
2014-09-01 10:44:30 -07:00
|
|
|
<div class="large-10 medium-9 small-8 column" >
|
2014-08-15 09:16:06 -07:00
|
|
|
<div class="ellipsis list-addr">
|
2014-09-01 10:44:30 -07:00
|
|
|
<i class="fi-thumbnails size-48 show-for-large-up"> </i>
|
2014-09-02 08:07:05 -07:00
|
|
|
<span>
|
|
|
|
<contact address="{{addr.address}}" tooltip-popup-delay="500" tooltip tooltip-placement="right"/>
|
|
|
|
</span>
|
2014-09-03 06:39:48 -07:00
|
|
|
<span class="btn-copy" clip-copy="addr.address"> </span>
|
2014-08-29 09:16:59 -07:00
|
|
|
<small class="label" ng-if="addr.isChange">change</small>
|
2014-07-24 15:57:42 -07:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2014-09-01 10:44:30 -07:00
|
|
|
<div class="large-2 medium-3 small-4 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-09-01 10:44:30 -07:00
|
|
|
<span class="size-12" ng-if="!$root.updatingBalance">
|
2014-07-18 14:51:55 -07:00
|
|
|
{{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>
|
|
|
|
|