copay/views/copayers.html

76 lines
2.5 KiB
HTML
Raw Normal View History

2014-12-09 06:52:01 -08:00
<div ng-controller="CopayersController" ng-init="init()">
2014-12-12 10:13:37 -08:00
<div class="row">
<div class="large-12 medium-12 small-12 columns">
2015-01-15 12:16:51 -08:00
<h1>Share this secret with your copayers</h1>
2014-11-26 13:50:58 -08:00
</div>
</div>
2014-12-16 08:25:59 -08:00
<div class="row">
<div class="large-12 columns">
2014-11-29 19:31:17 -08:00
<div ng-if="!$root.wallet.isComplete()">
<div class="panel oh">
2014-12-17 05:36:33 -08:00
<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 class="text-center">
<qrcode size="250" data="{{secret}}"></qrcode>
2014-07-22 13:40:12 -07:00
</div>
2014-12-12 10:13:37 -08:00
<div class="secret m10v">
2014-12-16 08:25:59 -08:00
{{secret}}
2014-07-22 14:15:19 -07:00
</div>
2014-12-12 10:13:37 -08:00
<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>
2014-07-22 13:40:12 -07:00
</div>
</div>
<div class="panel oh">
2014-12-12 10:13:37 -08:00
<h3>Waiting for copayers</h3>
2014-12-16 08:25:59 -08:00
<div ng-include="'views/includes/copayers.html'"></div>
2014-11-29 19:31:17 -08:00
<div class="copay-box" ng-if="!$root.wallet.isComplete()">
<span ng-include="'views/includes/photo.html'"></span>
<p class="size-12 text-white text-light m0">
2014-12-16 08:25:59 -08:00
<i class="fi-loop icon-rotate spinner"></i>
<span translate>Waiting...</span>
</p>
</div>
</div>
2014-07-22 13:40:12 -07:00
</div>
2014-12-16 08:25:59 -08:00
</div>
<!-- end of row -->
<div class="row">
2015-01-18 13:50:56 -08:00
<div class="large-12 columns">
<button class="small warning" ng-show="!confirmDelete" ng-click="confirmDelete=!confirmDelete">
<i class="fi-trash"></i> Cancel
</button>
2015-01-18 13:50:56 -08:00
<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()">
2015-01-18 13:50:56 -08:00
<i class="fi-trash"></i> Yes
</button>
</div>
</div>
</div>
</div>
</div>
</div>
2015-01-15 12:16:51 -08:00
<div class="extra-margin-bottom"></div>