2016-10-16 21:51:50 -03:00
< ion-view id = "wallet-backup-phrase" hide-tabs >
2016-09-01 12:16:28 -04:00
< ion-nav-bar class = "bar-royal" >
2016-09-26 16:11:45 -03:00
< ion-nav-title >
{{viewTitle}}
< / ion-nav-title >
< ion-nav-back-button >
< / ion-nav-back-button >
2016-08-16 16:47:51 -03:00
< / ion-nav-bar >
2017-02-16 16:41:36 -05:00
< ion-content >
2017-09-20 11:58:55 -03:00
< div class = "ng-hide list card" ng-show = "deleted" >
< div class = "item heading" >
< span translate > Wallet recovery phrase not available< / span >
< / div >
< div class = "item" >
< span class = "comment" translate > You can still export it from Advanced > Export.< / span >
< / div >
< / div >
< div class = "item" >
2018-01-16 11:36:52 +09:00
< span class = "comment" ng-if = "!onboarding && wallet.coin == 'bch'" translate > Note: if this BCH wallet was duplicated from a BTC wallet, they share the same recovery phrase.< / span >
< span class = "comment" ng-if = "!onboarding && wallet.coin == 'btc'" translate > Note: if this BTC wallet was duplicated from a BCH wallet, they share the same recovery phrase.< / span >
< span class = "comment" ng-if = "onboarding" translate > Note: Both of the default BCH and BTC wallets share this same recovery phrase.< / span >
2016-08-29 16:48:15 -03:00
< / div >
2016-12-02 17:46:52 -03:00
<!--
## STEP 1
-->
< div id = "wallet-backup-phrase-step-1" class = "ng-hide" ng-show = "step == 1 && (mnemonicWords || (!credentialsEncrypted && !deleted))" >
< div class = "initial-prompt" translate > Please carefully write down this phrase.< / div >
2017-02-16 16:41:36 -05:00
< div class = "backup-phrase" copy-to-clipboard = "copyRecoveryPhrase()" >
2016-12-02 17:46:52 -03:00
< div class = "backup-phrase-content" >
< span class = "backup-phrase-content-word-readonly" ng-repeat = "word in mnemonicWords track by $index" > < span style = "white-space:nowrap" > {{word}}< / span > < span ng-show = "useIdeograms" >   < / span > < / span >
< / div >
< / div >
< div class = "password-required" ng-show = "mnemonicHasPassphrase" translate >
This recovery phrase was created with a password. To recover this wallet both the recovery phrase and password are needed.
< / div >
< div class = "cta-buttons" >
< div class = "tldr-prompt" translate > We'll confirm on the next screen.< / div >
< button ng-show = "!deleted" ng-disabled = "credentialsEncrypted || error" class = "button button-standard button-primary" ng-click = "goToStep(2);" translate > I've written it down< / button >
2016-10-07 02:10:30 -04:00
< / div >
2016-09-12 12:25:15 -04:00
< / div >
2016-10-07 02:10:30 -04:00
<!--
2016-08-16 16:47:51 -03:00
## STEP 2
2016-09-12 12:25:15 -04:00
-->
2016-10-07 02:10:30 -04:00
< div id = "wallet-backup-phrase-step-2" class = "ng-hide" ng-show = "step == 2" >
< div class = "confirmation-prompt" translate > Let's verify your backup phrase.< / div >
2016-09-12 12:25:15 -04:00
< div class = "backup-phrase" >
2016-10-07 02:10:30 -04:00
< div class = "backup-phrase-content" >
< span ng-repeat = "cword in customWords track by $index" ng-show = "customWords[$index]" >
< button class = "button select-word" ng-click = "removeButton($index, cword)" > {{cword.word}}< / button >
< / span >
< / div >
< / div >
< div id = "select-phrase" class = "cta-buttons" >
< div id = "select-phrase-content" >
< div ng-show = "!selectComplete" class = "tldr-prompt" translate > Please tap each word in the correct order.< / div >
< div ng-show = "selectComplete" class = "tldr-prompt" translate > Is this correct?< / div >
< span ng-show = "!selectComplete" ng-repeat = "shuffledWord in shuffledMnemonicWords track by $index" >
< button class = "button select-word" ng-click = "addButton($index, shuffledWord)"
ng-disabled="shuffledWord.selected">{{shuffledWord.word}}
< / button >
< / span >
2016-12-02 17:46:52 -03:00
< button ng-show = "selectComplete" class = "button button-standard button-primary" ng-click = "goToStep(3);" translate > Confirm< / button >
< button ng-show = "selectComplete" class = "button button-standard button-secondary button-clear" ng-click = "setFlow(2);" translate > Clear< / button >
< / div >
2016-09-12 12:25:15 -04:00
< / div >
2016-08-25 16:31:47 -03:00
< / div >
2016-10-07 02:10:30 -04:00
<!--
2016-08-16 16:47:51 -03:00
## STEP 3
2016-09-12 12:25:15 -04:00
-->
2016-10-07 02:10:30 -04:00
< div id = "wallet-backup-phrase-step-3" class = "ng-hide" ng-show = "step == 3" >
2016-12-02 17:46:52 -03:00
< h3 translate > Enter your password< / h3 >
< div class = "password-prompt" >
< div class = "explanation" >
< div class = "description" translate > In order to verify your wallet backup, please type your password.< / div >
< div class = "input" >
< input type = "password" id = "passphrase" ng-model = "data.passphrase" autocapitalize = "off" spellcheck = "false" autofocus / >
< / div >
< / div >
< / div >
< div class = "button-confirm" >
< button ng-disabled = "!data.passphrase" class = "button button-standard button-primary" ng-click = "goToStep(4);" translate > Confirm< / button >
2016-10-07 02:10:30 -04:00
< / div >
2016-08-25 16:31:47 -03:00
< / div >
2016-08-16 16:47:51 -03:00
< / ion-content >
< / ion-view >