copay/views/copayers.html

141 lines
6.6 KiB
HTML
Raw Normal View History

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>
<div class="row" ng-if='$root.wallet && !$root.wallet.isReady() && !loading'>
<div class="large-4 columns logo-setup">
2014-08-20 11:32:09 -07:00
<img src="img/logo-negative-beta.svg" alt="Copay" width="146" height="59">
<div ng-include="'views/includes/version.html'"></div>
</div>
2014-07-22 13:40:12 -07:00
<div class="large-8 columns line-dashed-setup-v">
<div class="box-setup oh">
<div ng-if="!$root.wallet.publicKeyRing.isComplete()">
2014-09-25 15:19:15 -07:00
<img src="img/step-3.png" alt="Step 3" width="157" class="right m15t" ng-if="$root.fromSetup && !isMobile">
<h1 translate class="text-primary line-sidebar-b">Waiting copayers</h1>
<h3 translate>Share this secret with your other copayers</h3>
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>
<div class="secret text-gray size-14">
{{$root.wallet.getSecret()}}
<span class="btn-copy" clip-copy="$root.wallet.getSecret()"></span>
</div>
<div style="clear:both;"></div>
2014-07-22 13:40:12 -07:00
</div>
</div>
<h1 class="text-white line-sidebar-b" ng-if="$root.wallet &&
$root.wallet.publicKeyRing.isComplete()" translate>New Wallet Created</h1>
2014-07-22 13:40:12 -07:00
<div class="row" ng-show="$root.wallet.publicKeyRing.isComplete()">
2014-07-24 12:02:02 -07:00
<div class="large-4 small-6 columns text-left">
<h3 translate>Download Backup</h3>
2014-07-22 13:40:12 -07:00
</div>
2014-07-24 12:02:02 -07:00
<div class="large-8 small-6 columns text-right">
<h3 class="ellipsis">
<small class="text-gray">
<b>{{$root.wallet.getName()}}</b> :
{{$root.wallet.requiredCopayers}}-{{'of'|translate}}-{{$root.wallet.totalCopayers}}
2014-07-24 12:02:02 -07:00
</small>
</h3>
2014-07-22 13:40:12 -07:00
</div>
</div>
<div class="row">
2014-07-24 12:02:02 -07:00
<div class="large-10 small-9 columns text-left">
<h4 translate class="ellipsis" ng-show="!$root.wallet.publicKeyRing.isComplete()">
2014-07-24 12:02:02 -07:00
Waiting Copayers for {{$root.wallet.getName()}}
</h4>
2014-07-22 13:40:12 -07:00
</div>
2014-07-24 12:02:02 -07:00
<div class="large-2 small-3 columns text-right">
<h4 ng-show="$root.wallet && !$root.wallet.publicKeyRing.isComplete()">
<small class="text-gray">
{{$root.wallet.requiredCopayers}}-{{'of'|translate}}-{{$root.wallet.totalCopayers}}
2014-07-24 12:02:02 -07:00
</small>
</h4>
2014-07-22 13:40:12 -07:00
</div>
</div>
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
ng-if="!hasVideo(copayer)"
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>
<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">
<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()">
<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">
{{ $root.wallet.publicKeyRing.remainingCopayers() }} <span
translate>people have</span>
2014-07-22 13:40:12 -07:00
</span>
<span translate ng-show="$root.wallet.publicKeyRing.remainingCopayers() == 1">
2014-07-22 13:40:12 -07:00
One person has
</span>
<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">
{{ $root.wallet.publicKeyRing.remainingBackups() }} <span
translate>people have</span>
2014-07-22 13:40:12 -07:00
</span>
<span translate ng-show="$root.wallet.publicKeyRing.remainingBackups() == 1">
2014-07-22 14:15:19 -07:00
One person has
</span>
<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">
<textarea rows="10">{{backupPlainText}}</textarea>
2014-10-09 06:37:00 -07:00
</div>
<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>
</div> <!-- end of row -->
</div>