Wallet/www/views/addresses.html

72 lines
3.2 KiB
HTML
Raw Normal View History

2016-11-16 10:15:13 -03:00
<ion-view hide-tabs id="addresses" class="addr">
2016-11-14 14:52:10 -03: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 14:52:10 -03:00
</ion-nav-bar>
<ion-content>
<div class="text-center banner-icon">
2016-11-17 16:01:14 -03:00
<i class="icon zero-state-icon">
<img src="img/tab-icons/ico-receive-selected.svg"/>
</i>
</div>
2016-11-14 16:51:11 -03:00
2016-11-17 16:01:14 -03:00
<div class="addr-list">
2016-11-16 10:15:13 -03:00
<div class="addr-explanation">
2016-11-17 13:17:28 -03:00
<div class="addr-description" translate>
2016-11-16 10:15:13 -03:00
Each bitcoin wallet can generate billions of addresses from your 12-word backup. A new address is automatically generated and shown each time your recive a payment. <a ng-click="showInformation()" ng-if="!showInfo" translate>Why?</a>
2016-11-14 16:51:11 -03:00
</div>
</div>
2016-11-16 10:15:13 -03:00
<div class="addr-explanation" ng-if="showInfo">
2016-11-17 13:17:28 -03:00
<div class="addr-description" translate>
2016-11-16 10:15:13 -03:00
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. <a ng-click="showInformation()" translate>Hide</a>
</div>
2016-11-14 16:51:11 -03:00
</div>
2016-11-16 10:15:13 -03:00
<div class="list">
2016-12-02 14:36:14 -03:00
<div class="item item-divider item-icon-right" ng-click="newAddress()">
<span translate>Unused Addresses</span>
2016-11-16 10:15:13 -03:00
<i class="icon ion-ios-plus-empty"></i>
</div>
2016-11-16 16:11:36 -03:00
<div ng-if="latestUnused[0]">
2016-11-17 13:17:28 -03:00
<div class="box-error" ng-if="gapReached">
<h5 translate>Unused Addresses Limit</h5>
<p 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. <a ng-click="readMore()" ng-if="!showMore" translate>Read more</a></p>
<p ng-if="showMore" 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. <a ng-click="readMore()" translate>Read less</a></p>
</div>
<div class="item" ng-repeat="u in latestUnused track by $index" copy-to-clipboard="u.address">
2016-11-16 15:23:26 -03:00
{{u.address}}
2016-11-16 10:15:13 -03:00
<div class="addr-path">
2016-11-16 15:23:26 -03:00
{{u.path}} {{u.createdOn * 1000 | amDateFormat:'MMMM Do YYYY, hh:mm a'}}
2016-11-16 10:15:13 -03:00
</div>
</div>
</div>
2016-11-17 11:20:06 -03:00
<div ng-if="latestWithBalance[0]">
<div class="item item-divider" translate>
Addresses With Balance
</div>
2016-11-14 16:51:11 -03:00
<div class="item" ng-repeat="w in latestWithBalance track by $index" copy-to-clipboard="w.address">
2016-11-17 11:20:06 -03:00
{{w.address}}
<div class="addr-balance">{{w.balanceStr}}</div>
</div>
2016-11-16 15:23:26 -03:00
</div>
2016-11-17 09:49:29 -03: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 15:23:26 -03:00
<i class="icon ion-ios-arrow-thin-right"></i>
2016-11-16 10:15:13 -03:00
</div>
2016-11-14 14:52:10 -03:00
</div>
</div>
</ion-content>
</ion-view>