2016-06-10 11:16:02 -07:00
|
|
|
<ion-modal-view ng-controller="walletsController">
|
2016-06-15 08:47:01 -07:00
|
|
|
<ion-header-bar align-title="center" class="tab-bar">
|
|
|
|
<div class="left-small">
|
2016-06-10 11:16:02 -07:00
|
|
|
<a ng-click="cancel()" class="p10">
|
|
|
|
<span class="text-close">Close</span>
|
|
|
|
</a>
|
2016-06-15 08:47:01 -07:00
|
|
|
</div>
|
|
|
|
<h1 class="title ellipsis">
|
|
|
|
<span ng-show="type == 'BUY' || type == 'RECEIVE'">Choose your destination wallet</span>
|
|
|
|
<span ng-show="type == 'SELL' || type == 'SEND'">Choose your source wallet</span>
|
|
|
|
</h1>
|
|
|
|
</ion-header-bar>
|
2015-10-05 11:04:07 -07:00
|
|
|
|
2016-07-21 07:18:48 -07:00
|
|
|
<ion-content ng-style="{'background-color': '#F6F7F9'}">
|
|
|
|
|
2016-06-16 14:29:56 -07:00
|
|
|
<div class="modal-content">
|
|
|
|
<div class="box-notification text-center size-12 text-warning m10t" ng-show="error">
|
|
|
|
<i class="fi-error"></i> {{error}}
|
|
|
|
</div>
|
2016-06-10 11:16:02 -07:00
|
|
|
<div ng-show="type == 'SELL'">
|
|
|
|
<h4 class="title m0 oh">
|
|
|
|
<div class="left">
|
|
|
|
<i class="fi-info size-18 m10r"></i>
|
|
|
|
</div>
|
|
|
|
<div class="size-10 m5t">
|
|
|
|
Notice: only 1-1 (single signature) wallets can be used for sell bitcoin
|
|
|
|
</div>
|
|
|
|
</h4>
|
2015-10-05 11:04:07 -07:00
|
|
|
</div>
|
2016-06-10 11:16:02 -07:00
|
|
|
<div ng-show="type != 'SELL'">
|
|
|
|
<h4 class="title m0 oh">
|
|
|
|
</h4>
|
2015-10-05 11:04:07 -07:00
|
|
|
</div>
|
2016-06-10 11:16:02 -07:00
|
|
|
<ul class="no-bullet">
|
|
|
|
<li class="line-b" ng-repeat="w in wallets">
|
2016-06-16 17:49:35 -07:00
|
|
|
<a ng-click="selectWallet(w.id)" class="db oh">
|
2016-06-10 11:16:02 -07:00
|
|
|
<div class="avatar-wallet"
|
|
|
|
ng-style="{'background-color':w.color}">
|
|
|
|
<i class="icon-wallet size-21"></i>
|
|
|
|
</div>
|
2016-06-16 14:29:56 -07:00
|
|
|
<div class="ellipsis name-wallet text-bold">
|
|
|
|
{{w.name || w.id}}
|
|
|
|
<span class="has-error right text-light size-12" ng-show="errorSelectedWallet[w.id]">
|
|
|
|
<i class="icon-close-circle size-14"></i>
|
|
|
|
<span class="vm">{{errorSelectedWallet[w.id]}}</span>
|
|
|
|
</span>
|
|
|
|
</div>
|
2016-06-10 11:16:02 -07:00
|
|
|
<div class="size-12">{{w.m}} of {{w.n}}
|
|
|
|
<span ng-show="w.network=='testnet'">[Testnet]</span>
|
|
|
|
</div>
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
<div class="extra-margin-bottom"></div>
|
|
|
|
</div>
|
|
|
|
</ion-content>
|
|
|
|
</ion-modal-view>
|