2014-07-24 11:31:07 -07:00
|
|
|
<div class="waiting-copayers" ng-controller="CopayersController">
|
|
|
|
<div ng-if='$root.wallet && $root.wallet.isReady()' ng-init="goToWallet()"></div>
|
2014-10-05 11:59:41 -07:00
|
|
|
|
2014-10-10 07:01:22 -07:00
|
|
|
<div class="row collapse">
|
|
|
|
<div class="large-12 columns">
|
2014-07-22 13:40:12 -07:00
|
|
|
<div ng-if="!$root.wallet.publicKeyRing.isComplete()">
|
2014-10-10 07:01:22 -07:00
|
|
|
<h1>
|
|
|
|
<span translate>Waiting copayers for</span>
|
|
|
|
{{$root.wallet.getName()}}
|
|
|
|
<small>{{$root.wallet.requiredCopayers}}-{{'of'|translate}}-{{$root.wallet.totalCopayers}}</small>
|
|
|
|
</h1>
|
2014-07-22 13:40:12 -07:00
|
|
|
<div class="panel">
|
2014-09-03 12:51:02 -07:00
|
|
|
<qrcode size="350" data="{{$root.wallet.getSecret()}}"></qrcode>
|
2014-10-10 07:01:22 -07:00
|
|
|
<div class="secret">
|
|
|
|
<h2 translate>Share this secret with your other copayers</h2>
|
2014-07-31 12:40:26 -07:00
|
|
|
{{$root.wallet.getSecret()}}
|
|
|
|
<span class="btn-copy" clip-copy="$root.wallet.getSecret()"></span>
|
|
|
|
</div>
|
2014-07-29 22:55:59 -07:00
|
|
|
<div style="clear:both;"></div>
|
2014-07-22 13:40:12 -07:00
|
|
|
</div>
|
|
|
|
</div>
|
2014-10-10 07:06:56 -07:00
|
|
|
<h1 ng-if="$root.wallet &&
|
|
|
|
$root.wallet.publicKeyRing.isComplete()">
|
|
|
|
<span translate>Wallet</span> {{$root.wallet.getName()}}
|
|
|
|
<small>{{$root.wallet.requiredCopayers}}-{{'of'|translate}}-{{$root.wallet.totalCopayers}}</small>
|
|
|
|
<span translate>created</span>
|
|
|
|
</h1>
|
2014-07-22 14:15:19 -07:00
|
|
|
<div class="box-setup-copayers p20">
|
2014-09-12 13:24:10 -07:00
|
|
|
<p class="text-primary m10b"
|
|
|
|
ng-show="$root.wallet && $root.wallet.publicKeyRing.isComplete()" translate>
|
|
|
|
Creating and storing a backup will allow you to recover wallet funds
|
|
|
|
</p>
|
2014-07-22 14:15:19 -07:00
|
|
|
<div class="oh">
|
2014-09-02 06:51:09 -07:00
|
|
|
<div ng-include="'views/includes/copayer.html'"></div>
|
2014-07-22 14:15:19 -07:00
|
|
|
<div ng-if="!$root.wallet.publicKeyRing.isComplete()">
|
|
|
|
<img
|
2014-09-02 06:51:09 -07:00
|
|
|
class="waiting br100"
|
2014-07-22 14:15:19 -07:00
|
|
|
src="./img/satoshi.gif"
|
2014-07-24 11:31:07 -07:00
|
|
|
alt="Waiting Copayer"
|
2014-07-22 14:15:19 -07:00
|
|
|
width="70">
|
|
|
|
<p class="size-12 text-white text-light m0">
|
2014-07-22 13:40:12 -07:00
|
|
|
<i class="fi-loop icon-rotate spinner"></i>
|
2014-09-05 12:58:28 -07:00
|
|
|
<span translate>Waiting...</span>
|
2014-07-22 14:15:19 -07:00
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
2014-07-24 12:02:02 -07:00
|
|
|
<div ng-show="$root.wallet.publicKeyRing.remainingCopayers() > 1">
|
2014-07-23 13:10:02 -07:00
|
|
|
<div class="line-sidebar-b" ng-if="$root.wallet && $root.wallet.publicKeyRing.isComplete()"></div>
|
2014-07-22 14:15:19 -07:00
|
|
|
<div class="text-gray m10t" ng-if="$root.wallet && $root.wallet.publicKeyRing.isComplete()">
|
2014-09-05 12:58:28 -07:00
|
|
|
<i class="text-white fi-loop icon-rotate spinner"></i>
|
|
|
|
<span translate>Waiting for other copayers to make a Backup</span>
|
2014-07-22 13:40:12 -07:00
|
|
|
</div>
|
2014-07-24 12:02:02 -07:00
|
|
|
</div>
|
2014-07-22 13:40:12 -07:00
|
|
|
</div>
|
2014-10-09 06:37:00 -07:00
|
|
|
<div>
|
2014-09-11 09:01:22 -07:00
|
|
|
<button class="button primary right m0"
|
2014-07-22 13:40:12 -07:00
|
|
|
ng-click="backup()"
|
2014-10-09 06:37:00 -07:00
|
|
|
ng-show="!$root.wallet.publicKeyRing.isBackupReady() && !hideViewBackup"
|
2014-07-22 13:40:12 -07:00
|
|
|
ng-disabled="!$root.wallet.publicKeyRing.isComplete()">
|
2014-10-09 06:37:00 -07:00
|
|
|
<span translate ng-show="$root.wallet.publicKeyRing.isComplete() && !isSafari">
|
2014-07-22 13:40:12 -07:00
|
|
|
Backup wallet
|
|
|
|
</span>
|
2014-10-09 06:37:00 -07:00
|
|
|
<span translate ng-show="$root.wallet.publicKeyRing.isComplete() && isSafari">
|
|
|
|
View backup
|
|
|
|
</span>
|
2014-07-22 13:40:12 -07:00
|
|
|
<span ng-show="!$root.wallet.publicKeyRing.isComplete()" >
|
|
|
|
<span ng-show="$root.wallet.publicKeyRing.remainingCopayers() > 1">
|
2014-09-05 12:58:28 -07:00
|
|
|
{{ $root.wallet.publicKeyRing.remainingCopayers() }} <span
|
|
|
|
translate>people have</span>
|
2014-07-22 13:40:12 -07:00
|
|
|
</span>
|
2014-09-05 12:58:28 -07:00
|
|
|
<span translate ng-show="$root.wallet.publicKeyRing.remainingCopayers() == 1">
|
2014-07-22 13:40:12 -07:00
|
|
|
One person has
|
|
|
|
</span>
|
2014-09-05 12:58:28 -07:00
|
|
|
<span translate>yet to join.</span>
|
2014-07-22 13:40:12 -07:00
|
|
|
</span>
|
|
|
|
</button>
|
2014-09-11 09:01:22 -07:00
|
|
|
<a class="text-primary m15t m20r right" ng-click="skipBackup()"
|
2014-10-09 06:37:00 -07:00
|
|
|
ng-show="!$root.wallet.publicKeyRing.isBackupReady() && !hideViewBackup"
|
2014-09-11 09:01:22 -07:00
|
|
|
ng-disabled="!$root.wallet.publicKeyRing.isComplete()">
|
|
|
|
<span class="size-12" translate ng-show="$root.wallet.publicKeyRing.isComplete()" >
|
|
|
|
Skip Backup
|
|
|
|
</span>
|
|
|
|
</a>
|
2014-07-22 13:40:12 -07:00
|
|
|
<button class="button primary"
|
|
|
|
disabled="disabled"
|
|
|
|
ng-show="$root.wallet.publicKeyRing.isBackupReady()">
|
|
|
|
<span ng-show="$root.wallet.publicKeyRing.remainingBackups() > 1">
|
2014-09-05 12:58:28 -07:00
|
|
|
{{ $root.wallet.publicKeyRing.remainingBackups() }} <span
|
|
|
|
translate>people have</span>
|
2014-07-22 13:40:12 -07:00
|
|
|
</span>
|
2014-09-05 12:58:28 -07:00
|
|
|
<span translate ng-show="$root.wallet.publicKeyRing.remainingBackups() == 1">
|
2014-07-22 14:15:19 -07:00
|
|
|
One person has
|
|
|
|
</span>
|
2014-09-05 12:58:28 -07:00
|
|
|
<span translate>yet to backup the wallet.</span>
|
2014-07-22 13:40:12 -07:00
|
|
|
</button>
|
2014-10-09 06:37:00 -07:00
|
|
|
<div ng-show="backupPlainText">
|
|
|
|
<div class="show-for-large-up">
|
2014-10-16 11:10:13 -07:00
|
|
|
<textarea readonly rows="5">{{backupPlainText}}</textarea>
|
2014-10-09 06:37:00 -07:00
|
|
|
<span translate class="size-12">Copy to clipboard</span> <span class="btn-copy" clip-copy="backupPlainText"> </span>
|
|
|
|
</div>
|
|
|
|
<div class="hide-for-large-up m10b">
|
2014-10-16 11:56:52 -07:00
|
|
|
<textarea rows="10">{{backupPlainText}}</textarea>
|
2014-10-09 06:37:00 -07:00
|
|
|
</div>
|
2014-10-16 11:56:52 -07:00
|
|
|
<div translate class="m10v size-12 text-gray text-right">Copy this text as it is in a safe place (notepad or email)</div>
|
2014-10-09 06:37:00 -07:00
|
|
|
</div>
|
|
|
|
<button class="button primary right m0"
|
|
|
|
ng-show="hideViewBackup"
|
|
|
|
ng-click="skipBackup()" translate>Continue</button>
|
2014-07-22 13:40:12 -07:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div> <!-- end of row -->
|
2014-07-16 13:59:28 -07:00
|
|
|
</div>
|
|
|
|
|