copay/public/views/copayers.html

86 lines
2.8 KiB
HTML
Raw Normal View History

2016-08-15 12:07:30 -07:00
<ion-view ng-controller="copayersController">
2016-08-17 09:16:06 -07:00
<ion-nav-bar class="bar-stable">
<ion-nav-title>{{wallet.name}}</ion-nav-title>
<ion-nav-buttons side="primary">
<button class="button" href ui-sref="tabs.home">
<i class="ion-arrow-left-c"></i> Back
</button>
</ion-nav-buttons>
</ion-nav-bar>
2016-08-15 12:07:30 -07:00
<ion-nav-buttons side="primary">
<button class="button" href ui-sref="tabs.home">
<i class="ion-arrow-left-c"></i> Back
</button>
</ion-nav-buttons>
<ion-content delegate-handle="my-handle" overflow-scroll="true">
<div ng-show="!wallet.notAuthorized">
2016-01-28 11:49:31 -08:00
<h1 class="text-center" translate>Share this invitation with your copayers</h1>
2015-03-06 07:00:10 -08:00
2016-08-15 12:07:30 -07:00
<div ng-click="copySecret()" ng-class="{'enable_text_select': !isCordova}">
2015-03-06 07:00:10 -08:00
<div class="text-center">
2016-08-15 12:07:30 -07:00
<qrcode size="220" error-correction-level="L" data="{{secret}}"></qrcode>
<div ng-show="!secret" style="position:relative; top:-226px; height:0px">
2016-01-28 11:49:31 -08:00
<div style="height:220px; width:220px; margin:auto; background: white">
2016-05-17 13:36:01 -07:00
<ion-spinner class="spinner-stable" icon="lines"></ion-spinner>
2016-01-28 11:49:31 -08:00
</div>
</div>
2016-08-15 12:07:30 -07:00
<div class="secret" ng-show="!isCordova">
{{secret || ('Loading...'|translate)}}
2015-03-06 07:00:10 -08:00
</div>
</div>
</div>
2016-08-15 12:07:30 -07:00
<div ng-show="secret">
<div class="text-center m10t" ng-if="isCordova">
2016-01-28 11:49:31 -08:00
<span class="button outline round dark-gray tiny m0"
2016-08-15 12:07:30 -07:00
ng-click="shareSecret()">
2016-01-28 11:49:31 -08:00
<i class="fi-share"></i>
<span translate>Share invitation</span>
</span>
</div>
2016-03-10 10:24:16 -08:00
2016-01-28 11:49:31 -08:00
<div class="m30v line-t">
<h4 class="size-14 p10h m10t">
<span translate>Waiting for copayers</span>
<span class="text-gray right">
2016-08-15 12:07:30 -07:00
[ <span translate>{{wallet.m}}-of-{{wallet.n}}</span> ]
2016-01-28 11:49:31 -08:00
</span>
</h4>
<div class="white line-b p10" ng-include="'views/includes/copayers.html'"></div>
2016-08-15 12:07:30 -07:00
<div ng-if="!wallet.isComplete()" class="line-b p10 white size-12">
2016-03-10 10:24:16 -08:00
<i class="fi-loop m5r p10l"></i>
2016-01-28 11:49:31 -08:00
<span translate>Waiting...</span>
</div>
2016-08-15 12:07:30 -07:00
<div ng-if="wallet.isComplete()" class="line-b p10 white size-12" href>
<button class="button" href ui-sref="tabs.home">
<span translate>WALLET COMPLETE!</span>
</button>
</div>
2016-01-28 11:49:31 -08:00
</div>
2016-08-15 12:07:30 -07:00
<div class="m20b text-center" ng-show="wallet.notAuthorized">
2015-03-06 07:00:10 -08:00
<h1 translate>Wallet incomplete and broken</h1>
<h4 translate>Delete it and create a new one</h4>
2015-03-06 07:00:10 -08:00
</div>
2016-01-28 11:49:31 -08:00
<div class="text-center">
2016-08-15 12:07:30 -07:00
<button class="tiny round outline dark-gray warning" ng-click="deleteWallet()">
2016-01-28 11:49:31 -08:00
<i class="fi-trash"></i> <span translate>Cancel and delete the wallet</span>
</button>
</div>
2015-03-06 07:00:10 -08:00
</div>
</div>
2016-08-15 12:07:30 -07:00
</ion-content>
2015-03-06 07:00:10 -08:00
2016-08-15 12:07:30 -07:00
</ion-view>