copay/views/addresses.html

43 lines
1.9 KiB
HTML
Raw Normal View History

<div class="addresses" ng-controller="AddressesController">
<div ng-show='$root.wallet.isReady()'>
2014-07-22 07:03:08 -07:00
<h1>
<span translate>Addresses</span>
2014-09-09 12:45:58 -07:00
<span class="button primary small side-bar" ng-click="newAddr()" ng-disabled="loading"><i class="fi-plus"></i></span>
2014-07-22 07:03:08 -07:00
</h1>
2014-09-03 12:24:25 -07:00
<div class="large-12 medium-12" ng-if="!!(addresses|removeEmpty).length">
<div class="large-12 medium-12" ng-init="showAll=0">
2014-09-03 12:24:25 -07:00
<div class="panel radius oh" ng-repeat="addr in addresses|removeEmpty|limitAddress:showAll">
<div class="row collapse">
<div class="large-10 medium-9 small-8 column">
<div class="ellipsis list-addr">
<i class="fi-thumbnails size-48 show-for-large-up" ng-click="openAddressModal(addr)">&nbsp;</i>
<span>
2014-09-04 13:40:16 -07:00
<contact address="{{addr.address}}" tooltip-popup-delay="500" tooltip tooltip-placement="right"/>
</span>
2014-09-03 12:24:25 -07:00
<span class="btn-copy" clip-copy="addr.address"> </span>
<small translate class="label" ng-if="addr.isChange">change</small>
</div>
</div>
2014-09-04 13:40:16 -07:00
</div>
2014-07-17 13:39:32 -07:00
2014-09-03 12:24:25 -07:00
<div class="large-2 medium-3 small-4 column text-right">
<span ng-if="$root.updatingBalance">
<i class="fi-bitcoin-circle icon-rotate spinner"></i>
</span>
<span class="size-12" ng-if="!$root.updatingBalance">
{{addr.balance || 0|noFractionNumber}} {{$root.wallet.settings.unitName}}
</span>
</div>
</div>
</div>
2014-09-03 12:24:25 -07:00
<a class="secondary radius" ng-click="showAll=!showAll" ng-show="(addresses|removeEmpty).length != (addresses|removeEmpty|limitAddress).length">
<span translate ng-if="!showAll">Show all</span>
<span translate ng-if="showAll">Show less</span>
</a>
</div>
</div>
</div>