Fix address list from receive section. Fix response when delete a wallet.
This commit is contained in:
parent
1c7a48e827
commit
174c6cb3de
10 changed files with 130 additions and 127 deletions
|
|
@ -1,80 +1,86 @@
|
|||
<div ng-controller="CopayersController" ng-init="init()">
|
||||
<div class="row">
|
||||
<div class="large-12 medium-12 small-12 columns">
|
||||
<h1>Share this secret with your copayers</h1>
|
||||
</div>
|
||||
<div ng-show="$root.starting">
|
||||
<div ng-include="'views/includes/loading.html'" ng-init="title = 'Deleting'"></div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="large-8 columns">
|
||||
|
||||
<div ng-if="!$root.wallet.isComplete()">
|
||||
<div class="panel oh">
|
||||
<div class="box-notification">
|
||||
<div class="box-icon error">
|
||||
<i class="fi-alert size-24"></i>
|
||||
</div>
|
||||
<span class="text-warning size-14">
|
||||
Please note the wallet creator <b>must be online</b> until all copayers have joined.
|
||||
</span>
|
||||
</div>
|
||||
|
||||
<div ng-click="copySecret(secret)">
|
||||
<div class="text-center">
|
||||
<qrcode size="250" data="{{secret}}"></qrcode>
|
||||
</div>
|
||||
<div class="secret m10t">
|
||||
{{secret}}
|
||||
</div>
|
||||
</div>
|
||||
<div class="text-center m10t" ng-if="isCordova">
|
||||
<span class="button outline dark-gray tiny"
|
||||
ng-click="shareSecret(secret)">
|
||||
<i class="fi-share"></i> Share secret
|
||||
</span>
|
||||
</div>
|
||||
<div class="size-10 line-t text-center">
|
||||
<h2 class="m10t">{{$root.wallet.getName()}}</h2>
|
||||
<span class="text-gray">
|
||||
[{{$root.wallet.requiredCopayers}} of {{$root.wallet.totalCopayers}} ]
|
||||
</span>
|
||||
<span ng-if="$root.wallet.isTestnet()"> in TESTNET</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="!$root.starting">
|
||||
<div class="row">
|
||||
<div class="large-12 medium-12 small-12 columns">
|
||||
<h1>Share this secret with your copayers</h1>
|
||||
</div>
|
||||
</div>
|
||||
<div class="large-4 columns">
|
||||
<div class="panel oh">
|
||||
<h3>Waiting for copayers</h3>
|
||||
<div ng-include="'views/includes/copayers.html'"></div>
|
||||
<div ng-if="!$root.wallet.isComplete()" class="m15t">
|
||||
<div class="left m10r" ng-include="'views/includes/photo.html'"></div>
|
||||
<p class="size-12 m0 m5t left mv">
|
||||
|
||||
<div class="row">
|
||||
<div class="large-8 columns">
|
||||
|
||||
<div ng-if="!$root.wallet.isComplete()">
|
||||
<div class="panel oh">
|
||||
<div class="box-notification">
|
||||
<div class="box-icon error">
|
||||
<i class="fi-alert size-24"></i>
|
||||
</div>
|
||||
<span class="text-warning size-14">
|
||||
Please note the wallet creator <b>must be online</b> until all copayers have joined.
|
||||
</span>
|
||||
</div>
|
||||
|
||||
<div ng-click="copySecret(secret)">
|
||||
<div class="text-center">
|
||||
<qrcode size="250" data="{{secret}}"></qrcode>
|
||||
</div>
|
||||
<div class="secret m10t">
|
||||
{{secret}}
|
||||
</div>
|
||||
</div>
|
||||
<div class="text-center m10t" ng-if="isCordova">
|
||||
<span class="button outline dark-gray tiny"
|
||||
ng-click="shareSecret(secret)">
|
||||
<i class="fi-share"></i> Share secret
|
||||
</span>
|
||||
</div>
|
||||
<div class="size-10 line-t text-center">
|
||||
<h2 class="m10t">{{$root.wallet.getName()}}</h2>
|
||||
<span class="text-gray">
|
||||
[{{$root.wallet.requiredCopayers}} of {{$root.wallet.totalCopayers}} ]
|
||||
</span>
|
||||
<span ng-if="$root.wallet.isTestnet()"> in TESTNET</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="large-4 columns">
|
||||
<div class="panel oh">
|
||||
<h3>Waiting for copayers</h3>
|
||||
<div ng-include="'views/includes/copayers.html'"></div>
|
||||
<div ng-if="!$root.wallet.isComplete()" class="m15t">
|
||||
<div class="left m10r" ng-include="'views/includes/photo.html'"></div>
|
||||
<p class="size-12 m0 m5t left mv">
|
||||
<i class="fi-loop icon-rotate spinner"></i>
|
||||
<span translate>Waiting...</span>
|
||||
</p>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<!-- end of row -->
|
||||
<div class="row">
|
||||
<div class="large-12 columns">
|
||||
<button class="small warning" ng-show="!confirmDelete" ng-click="confirmDelete=!confirmDelete">
|
||||
<i class="fi-trash"></i> Cancel
|
||||
</button>
|
||||
<div class="text-center" ng-show="confirmDelete">
|
||||
<h2>Are you sure you want to cancel and delete this wallet</h2>
|
||||
<div class="row">
|
||||
<div class="large-6 medium-6 small-6 columns">
|
||||
<button class="gray" ng-disabled="loading"
|
||||
ng-click="confirmDelete=!confirmDelete">No</button>
|
||||
</div>
|
||||
<div class="large-6 medium-6 small-6 columns">
|
||||
<button class="warning" ng-disabled="loading" ng-click="deleteWallet(); confirmDelete = !confirmDelete">
|
||||
<i class="fi-trash"></i> Yes
|
||||
</button>
|
||||
<!-- end of row -->
|
||||
<div class="row">
|
||||
<div class="large-12 columns">
|
||||
<button class="small warning" ng-show="!confirmDelete" ng-click="confirmDelete=!confirmDelete">
|
||||
<i class="fi-trash"></i> Cancel
|
||||
</button>
|
||||
<div class="text-center" ng-show="confirmDelete">
|
||||
<h2>Are you sure you want to cancel and delete this wallet</h2>
|
||||
<div class="row">
|
||||
<div class="large-6 medium-6 small-6 columns">
|
||||
<button class="gray" ng-disabled="loading"
|
||||
ng-click="confirmDelete=!confirmDelete">No</button>
|
||||
</div>
|
||||
<div class="large-6 medium-6 small-6 columns">
|
||||
<button class="warning" ng-disabled="loading" ng-click="deleteWallet(); confirmDelete = !confirmDelete">
|
||||
<i class="fi-trash"></i> Yes
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue