copay/www/views/addresses.html

73 lines
3.3 KiB
HTML
Raw Normal View History

2016-11-16 05:15:13 -08:00
<ion-view hide-tabs id="addresses" class="addr">
2016-11-14 09:52:10 -08:00
<ion-nav-bar class="bar-royal">
<ion-nav-title>{{'Wallet Addresses' | translate}}</ion-nav-title>
<ion-nav-back-button>
</ion-nav-back-button>
<ion-nav-buttons side="secondary">
<button class="button back-button" ng-click="showMenu(false, $event)">
<i class="icon ion-ios-more"></i>
</button>
</ion-nav-buttons>
2016-11-14 09:52:10 -08:00
</ion-nav-bar>
<ion-content>
<div class="text-center banner-icon">
2016-11-17 11:01:14 -08:00
<i class="icon zero-state-icon">
<img src="img/tab-icons/ico-receive-selected.svg"/>
</i>
</div>
2016-11-14 11:51:11 -08:00
2016-11-17 11:01:14 -08:00
<div class="addr-list">
2016-11-16 05:15:13 -08:00
<div class="addr-explanation">
2016-12-09 06:26:24 -08:00
<div class="addr-description">
2016-12-10 12:42:52 -08:00
<span translate>Each bitcoin wallet can generate billions of addresses from your 12-word backup. A new address is automatically generated and shown each time you receive a payment.</span><a ng-click="showInformation()" ng-if="!showInfo" translate>Why?</a>
2016-11-14 11:51:11 -08:00
</div>
</div>
2016-11-16 05:15:13 -08:00
<div class="addr-explanation" ng-if="showInfo">
2016-12-09 06:26:24 -08:00
<div class="addr-description">
<span translate>It's a good idea to avoid reusing addresses-this both protects your privacy and keeps your bitcoins secure against hypothetical attacks by quantum computers.</span><a ng-click="showInformation()" translate>Hide</a>
2016-11-16 05:15:13 -08:00
</div>
2016-11-14 11:51:11 -08:00
</div>
2016-11-16 05:15:13 -08:00
<div class="list">
2016-12-02 09:36:14 -08:00
<div class="item item-divider item-icon-right" ng-click="newAddress()">
<span translate>Unused Addresses</span>
2016-11-16 05:15:13 -08:00
<i class="icon ion-ios-plus-empty"></i>
</div>
2016-11-16 11:11:36 -08:00
<div ng-if="latestUnused[0]">
2016-11-17 08:17:28 -08:00
<div class="box-error" ng-if="gapReached">
<h5 translate>Unused Addresses Limit</h5>
2016-12-09 06:26:24 -08:00
<p><span translate>The maximum number of consecutive unused addresses (20) has been reached. When one of your unused addresses receives a payment, a new address will be generated and shown in your Receive tab.</span><a ng-click="readMore()" ng-if="!showMore" translate>Read more</a></p>
<p ng-if="showMore"><span translate>The restore process will stop when 20 addresses are generated in a row which contain no funds. To safely generate more addresses, make a payment to one of the unused addresses which has already been generated.</span><a ng-click="readMore()" translate>Read less</a></p>
2016-11-17 08:17:28 -08:00
</div>
<div class="item" ng-repeat="u in latestUnused track by $index" copy-to-clipboard="u.address">
2016-11-16 10:23:26 -08:00
{{u.address}}
2016-11-16 05:15:13 -08:00
<div class="addr-path">
2016-11-16 10:23:26 -08:00
{{u.path}} {{u.createdOn * 1000 | amDateFormat:'MMMM Do YYYY, hh:mm a'}}
2016-11-16 05:15:13 -08:00
</div>
</div>
</div>
2016-11-17 06:20:06 -08:00
<div ng-if="latestWithBalance[0]">
<div class="item item-divider" translate>
Addresses With Balance
</div>
2016-11-14 11:51:11 -08:00
<div class="item" ng-repeat="w in latestWithBalance track by $index" copy-to-clipboard="w.address">
2016-11-17 06:20:06 -08:00
{{w.address}}
<div class="addr-balance">{{w.balanceStr}}</div>
</div>
2016-11-16 10:23:26 -08:00
</div>
2016-11-17 04:49:29 -08:00
<div class="item item-icon-right view-all" ng-show="viewAll.value" ng-click="viewAllAddresses()">
<span translate>View All Addresses</span>
2016-11-16 10:23:26 -08:00
<i class="icon ion-ios-arrow-thin-right"></i>
2016-11-16 05:15:13 -08:00
</div>
2016-11-14 09:52:10 -08:00
</div>
</div>
</ion-content>
</ion-view>