Merge pull request #10 from gabrielbazan7/feat/restoreOnboarding
onboarding restore feature
This commit is contained in:
commit
e638442fc8
21 changed files with 138 additions and 165 deletions
|
|
@ -1,10 +1,10 @@
|
|||
<div>
|
||||
<h1 translate>Without a backup, you could lose money</h1>
|
||||
<span translate>If something happens to this device, this app is deleted, or your password forgotten, neither you nor Bitpay can revoer your funds.</span>
|
||||
<button ng-click="goBack()" class="button button-block button-light">
|
||||
<button ng-click="goBack()" class="button button-block button-light" translate>
|
||||
Go back
|
||||
</button>
|
||||
<button ng-click="continue()" class="button button-block button-light">
|
||||
<button ng-click="continue()" class="button button-block button-light" translate>
|
||||
I understand
|
||||
</button>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
<div>
|
||||
<h1 translate>Screenshots are not secure</h1>
|
||||
<span translate>if you take a screenshot, your backup may be viewed by others apps. You can make a safe backup with paper and a pen.</span>
|
||||
<button ng-click="close()" class="button button-block button-light">
|
||||
<button ng-click="close()" class="button button-block button-light" translate>
|
||||
Got it
|
||||
</button>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
<ion-nav-bar class="bar-stable">
|
||||
<ion-nav-buttons side="primary">
|
||||
<button class="button no-border" href ui-sref="onboarding.backupRequest">
|
||||
<i class="icon ion-chevron-left"></i> Back
|
||||
<i class="icon ion-chevron-left"></i> {{'Back' | translate}}
|
||||
</button>
|
||||
</ion-nav-buttons>
|
||||
</ion-nav-bar>
|
||||
|
|
|
|||
|
|
@ -1,14 +1,14 @@
|
|||
<ion-view ng-controller="collectEmailController">
|
||||
<ion-nav-bar class="bar-stable">
|
||||
<ion-view>
|
||||
<ion-nav-bar class="bar-stable" ng-controller="backController">
|
||||
<ion-nav-buttons side="secondary">
|
||||
<button class="button no-border" ng-click="skip()">
|
||||
Skip
|
||||
<button class="button no-border" ng-click="onboardingMailSkip()">
|
||||
{{'Skip' | translate}}
|
||||
</button>
|
||||
</ion-nav-buttons>
|
||||
</ion-nav-bar>
|
||||
<ion-content >
|
||||
Wallet Created
|
||||
Where would you like to receive email notifications about payments
|
||||
<ion-content ng-controller="collectEmailController">
|
||||
<span translate>Wallet Created </span>
|
||||
<span translate>Where would you like to receive email notifications about payments </span>
|
||||
<form name="emailForm" ng-submit="save(emailForm)" novalidate>
|
||||
<input type="email" id="email" name="email" ng-model="email" required></input>
|
||||
<input type="submit" class="button button-block button-positive" value="{{'Save'|translate}}" ng-disabled="emailForm.$invalid">
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
<ion-view>
|
||||
<ion-nav-bar class="bar-stable">
|
||||
<ion-nav-title>Terms of Use</ion-nav-title>
|
||||
<ion-nav-title>{{'Terms of Use' | translate}}</ion-nav-title>
|
||||
<ion-nav-buttons side="primary">
|
||||
<button class="button no-border" href ui-sref="onboarding.disclaimer">
|
||||
<i class="icon ion-chevron-left"></i> Back
|
||||
<i class="icon ion-chevron-left"></i> {{'Back' | translate}}
|
||||
</button>
|
||||
</ion-nav-buttons>
|
||||
</ion-nav-bar>
|
||||
|
|
|
|||
|
|
@ -1,14 +1,14 @@
|
|||
<ion-view ng-controller="tourController" ng-init="init()">
|
||||
<ion-nav-bar class="bar-stable">
|
||||
<ion-nav-title>Get Started</ion-nav-title>
|
||||
<ion-nav-title>{{'Get Started' | translate}}</ion-nav-title>
|
||||
<ion-nav-buttons side="primary">
|
||||
<button class="button no-border" ng-click="goBack()">
|
||||
<i class="icon ion-chevron-left"></i> Back
|
||||
<i class="icon ion-chevron-left"></i> {{'Back' | translate}}
|
||||
</button>
|
||||
</ion-nav-buttons>
|
||||
<ion-nav-buttons side="secondary">
|
||||
<button class="button no-border" ng-show="data.index == 0" ng-click="createProfile()">
|
||||
Skip
|
||||
<button class="button no-border" ng-show="data.index == 0" ng-click="createDefaultWallet()">
|
||||
{{'Skip' | translate}}
|
||||
</button>
|
||||
</ion-nav-buttons>
|
||||
</ion-nav-bar>
|
||||
|
|
@ -23,7 +23,7 @@
|
|||
<p translate>
|
||||
Just scan the code to pay
|
||||
</p>
|
||||
<button class="button icon-right ion-chevron-right button-positive" ng-click="slideNext()">
|
||||
<button class="button icon-right ion-chevron-right button-positive" ng-click="slideNext()" translate>
|
||||
Got it
|
||||
</button>
|
||||
</div>
|
||||
|
|
@ -39,7 +39,7 @@
|
|||
<p translate>
|
||||
The exchange rate changes with the market
|
||||
</p>
|
||||
<button class="button icon-right ion-chevron-right button-positive" ng-click="slideNext()">
|
||||
<button class="button icon-right ion-chevron-right button-positive" ng-click="slideNext()" translate>
|
||||
Makes sense
|
||||
</button>
|
||||
</div>
|
||||
|
|
@ -55,7 +55,7 @@
|
|||
<p translate>
|
||||
Not even BitPay can access it
|
||||
</p>
|
||||
<button class="button icon-right button-positive" ng-click="createProfile()">
|
||||
<button class="button icon-right button-positive" ng-click="createDefaultWallet()" translate>
|
||||
Create bitcoin wallet
|
||||
</button>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -1,13 +1,12 @@
|
|||
<ion-view>
|
||||
<ion-content>
|
||||
<ion-content ng-controller="welcomeController" ng-init="createProfile()">
|
||||
<div class="text-center">
|
||||
<h2>bitpay</h2>
|
||||
|
||||
<h2>bitpay</h2>
|
||||
<span translate>
|
||||
Take control of your money - get started with bitcoin
|
||||
</span>
|
||||
<button class="button button-block button-positive" href ui-sref="onboarding.tour" translate>Get started</button>
|
||||
<button class="button button-block button-light" translate>Restore</button>
|
||||
<button class="button button-block button-light" ng-click="goImport()" translate>Restore</button>
|
||||
</div>
|
||||
</ion-content>
|
||||
</ion-view>
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<ion-nav-bar class="bar-stable">
|
||||
<ion-nav-bar class="bar-stable" ng-controller="backController">
|
||||
<ion-nav-buttons side="primary">
|
||||
<button class="button no-border" ui-sref="add.main">
|
||||
<button class="button no-border" ng-click="importGoBack()">
|
||||
<i class="icon ion-chevron-left"></i> Back
|
||||
</button>
|
||||
</ion-nav-buttons>
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<ion-nav-bar class="bar-stable">
|
||||
<ion-nav-bar class="bar-stable" ng-controller="backController">
|
||||
<ion-nav-buttons side="primary">
|
||||
<button class="button no-border" ui-sref="add.main">
|
||||
<button class="button no-border" ng-click="importGoBack()">
|
||||
<i class="icon ion-chevron-left"></i> Back
|
||||
</button>
|
||||
</ion-nav-buttons>
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<ion-nav-bar class="bar-stable">
|
||||
<ion-nav-bar class="bar-stable" ng-controller="backController">
|
||||
<ion-nav-buttons side="primary">
|
||||
<button class="button no-border" ui-sref="add.main">
|
||||
<button class="button no-border" ng-click="importGoBack()">
|
||||
<i class="icon ion-chevron-left"></i> Back
|
||||
</button>
|
||||
</ion-nav-buttons>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue