2017-06-28 16:28:17 -03:00
|
|
|
<ion-view id="copayers-invitation" hide-tabs>
|
2016-08-31 15:54:53 -04:00
|
|
|
<ion-nav-bar class="bar-royal">
|
2016-09-06 11:22:10 -03:00
|
|
|
<ion-nav-back-button>
|
|
|
|
|
</ion-nav-back-button>
|
2016-09-22 16:04:05 -03:00
|
|
|
<ion-nav-title>{{wallet.name}}</ion-nav-title>
|
2016-10-12 15:07:09 -03:00
|
|
|
<ion-nav-buttons side="secondary">
|
2017-05-24 09:44:04 -03:00
|
|
|
<button class="button-share ng-hide" ng-show="isCordova && secret" ng-click="shareSecret()">
|
2017-06-28 16:28:17 -03:00
|
|
|
<i class="icon"
|
2017-05-24 09:44:04 -03:00
|
|
|
ng-class="{
|
2017-06-28 16:28:17 -03:00
|
|
|
'ion-ios-upload-outline': shareIcon == 'iOS',
|
2017-05-24 09:44:04 -03:00
|
|
|
'ion-android-share-alt': shareIcon != 'iOS'
|
|
|
|
|
}"></i>
|
2016-10-12 15:07:09 -03:00
|
|
|
</button>
|
|
|
|
|
</ion-nav-buttons>
|
2016-08-17 13:16:06 -03:00
|
|
|
</ion-nav-bar>
|
|
|
|
|
|
2016-09-22 16:04:05 -03:00
|
|
|
<ion-content>
|
2016-08-25 13:09:50 -03:00
|
|
|
<div ng-show="!wallet.notAuthorized">
|
2017-05-24 09:44:04 -03:00
|
|
|
<div class="list text-center">
|
2016-10-12 15:07:09 -03:00
|
|
|
<div class="item item-heading item-text-wrap" translate>
|
2016-09-22 16:16:09 -03:00
|
|
|
Share this invitation with your copayers
|
2016-10-12 15:07:09 -03:00
|
|
|
</div>
|
2016-10-21 15:24:37 -03:00
|
|
|
<div class="item text-center">
|
|
|
|
|
<div copy-to-clipboard="secret">
|
2016-10-18 15:20:42 -04:00
|
|
|
<qrcode size="220" error-correction-level="L" data="{{secret}}" color="#334"></qrcode>
|
2016-10-12 15:07:09 -03:00
|
|
|
<div ng-show="!secret" style="position:relative; top:-226px; height:0px">
|
|
|
|
|
<div style="height:220px; width:220px; margin:auto; background: white">
|
|
|
|
|
<ion-spinner class="spinner-dark" icon="lines"></ion-spinner>
|
2016-08-25 13:09:50 -03:00
|
|
|
</div>
|
2016-01-28 16:49:31 -03:00
|
|
|
</div>
|
2016-10-12 15:07:09 -03:00
|
|
|
<div class="copayers-secret">
|
|
|
|
|
{{secret || ('Loading...'|translate)}}
|
|
|
|
|
</div>
|
2016-10-21 15:24:37 -03:00
|
|
|
</div>
|
2017-05-24 09:44:04 -03:00
|
|
|
<button ng-if="secret" class="button-cancel" ng-click="showDeletePopup()">
|
2017-06-28 16:28:17 -03:00
|
|
|
<span translate>Cancel invitation</span>
|
2016-09-29 19:52:26 -03:00
|
|
|
</button>
|
2016-01-28 16:49:31 -03:00
|
|
|
</div>
|
2016-10-21 15:24:37 -03:00
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div ng-show="secret">
|
2016-08-15 16:07:30 -03:00
|
|
|
|
2016-10-21 15:24:37 -03:00
|
|
|
<div class="list card">
|
2016-10-12 15:07:09 -03:00
|
|
|
<div class="item item-heading">
|
2016-08-25 13:09:50 -03:00
|
|
|
<span class="text-gray right">
|
|
|
|
|
[ <span translate>{{wallet.m}}-of-{{wallet.n}}</span> ]
|
|
|
|
|
</span>
|
2016-10-12 15:07:09 -03:00
|
|
|
<span translate>Waiting for copayers</span>
|
|
|
|
|
</div>
|
2016-09-06 11:22:10 -03:00
|
|
|
<div ng-include="'views/includes/copayers.html'"></div>
|
2016-10-12 15:07:09 -03:00
|
|
|
<div ng-if="!wallet.isComplete()" class="item item-icon-left">
|
2016-09-06 11:22:10 -03:00
|
|
|
<i class="icon ion-loop"></i>
|
2016-10-12 15:07:09 -03:00
|
|
|
{{'Waiting...'|translate}}
|
2016-08-25 13:09:50 -03:00
|
|
|
</div>
|
2016-08-15 16:07:30 -03:00
|
|
|
</div>
|
2016-01-28 16:49:31 -03:00
|
|
|
|
2016-10-12 15:07:09 -03:00
|
|
|
<div class="m30v text-center" ng-show="wallet.notAuthorized">
|
2016-08-25 13:09:50 -03:00
|
|
|
<h1 translate>Wallet incomplete and broken</h1>
|
|
|
|
|
<h4 translate>Delete it and create a new one</h4>
|
|
|
|
|
</div>
|
2016-01-28 16:49:31 -03:00
|
|
|
</div>
|
2015-03-06 12:00:10 -03:00
|
|
|
</div>
|
2016-08-15 16:07:30 -03:00
|
|
|
</ion-content>
|
|
|
|
|
</ion-view>
|