card for header and QR
This commit is contained in:
parent
b713d26173
commit
d73ca23548
2 changed files with 16 additions and 17 deletions
|
|
@ -13,18 +13,21 @@
|
||||||
|
|
||||||
<ion-content>
|
<ion-content>
|
||||||
<div ng-show="!wallet.notAuthorized">
|
<div ng-show="!wallet.notAuthorized">
|
||||||
<h1 class="text-center" translate>Share this invitation with your copayers</h1>
|
<div class="list card text-center">
|
||||||
|
<a class="item item-heading" ng-style="{'border-width': 0}" translate>
|
||||||
<div ng-click="copySecret()" ng-class="{'enable_text_select': !isCordova}">
|
Share this invitation with your copayers
|
||||||
<div class="text-center" copy-to-clipboard="secret">
|
</a>
|
||||||
<qrcode size="220" error-correction-level="L" data="{{secret}}"></qrcode>
|
<div ng-click="copySecret()" ng-class="{'enable_text_select': !isCordova}">
|
||||||
<div ng-show="!secret" style="position:relative; top:-226px; height:0px">
|
<div class="text-center" copy-to-clipboard="secret">
|
||||||
<div style="height:220px; width:220px; margin:auto; background: white">
|
<qrcode size="220" error-correction-level="L" data="{{secret}}"></qrcode>
|
||||||
<ion-spinner class="spinner-dark" icon="lines"></ion-spinner>
|
<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>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="secret" ng-show="!isCordova">
|
||||||
|
{{secret || ('Loading...'|translate)}}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
<div class="secret" ng-show="!isCordova">
|
|
||||||
{{secret || ('Loading...'|translate)}}
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -50,12 +53,6 @@
|
||||||
<i class="icon ion-loop"></i>
|
<i class="icon ion-loop"></i>
|
||||||
<span translate>Waiting...</span>
|
<span translate>Waiting...</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<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>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="m20b text-center" ng-show="wallet.notAuthorized">
|
<div class="m20b text-center" ng-show="wallet.notAuthorized">
|
||||||
|
|
|
||||||
|
|
@ -919,6 +919,8 @@ angular.module('copayApp').config(function(historicLogProvider, $provide, $logPr
|
||||||
} else {
|
} else {
|
||||||
profileService.storeProfileIfDirty();
|
profileService.storeProfileIfDirty();
|
||||||
$log.debug('Profile loaded ... Starting UX.');
|
$log.debug('Profile loaded ... Starting UX.');
|
||||||
|
|
||||||
|
$state.go('tabs.home');
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue