card for header and QR

This commit is contained in:
Gabriel Bazán 2016-09-22 16:16:09 -03:00
commit d73ca23548
2 changed files with 16 additions and 17 deletions

View file

@ -13,18 +13,21 @@
<ion-content>
<div ng-show="!wallet.notAuthorized">
<h1 class="text-center" translate>Share this invitation with your copayers</h1>
<div ng-click="copySecret()" ng-class="{'enable_text_select': !isCordova}">
<div class="text-center" copy-to-clipboard="secret">
<qrcode size="220" error-correction-level="L" data="{{secret}}"></qrcode>
<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 class="list card text-center">
<a class="item item-heading" ng-style="{'border-width': 0}" translate>
Share this invitation with your copayers
</a>
<div ng-click="copySecret()" ng-class="{'enable_text_select': !isCordova}">
<div class="text-center" copy-to-clipboard="secret">
<qrcode size="220" error-correction-level="L" data="{{secret}}"></qrcode>
<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 class="secret" ng-show="!isCordova">
{{secret || ('Loading...'|translate)}}
</div>
</div>
</div>
@ -50,12 +53,6 @@
<i class="icon ion-loop"></i>
<span translate>Waiting...</span>
</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 class="m20b text-center" ng-show="wallet.notAuthorized">

View file

@ -919,6 +919,8 @@ angular.module('copayApp').config(function(historicLogProvider, $provide, $logPr
} else {
profileService.storeProfileIfDirty();
$log.debug('Profile loaded ... Starting UX.');
$state.go('tabs.home');
}
});
});