refactor
This commit is contained in:
parent
a4e3cbe463
commit
b4a5c9212f
4 changed files with 73 additions and 110 deletions
|
|
@ -11,7 +11,7 @@
|
|||
</section>
|
||||
|
||||
<section class="right-small">
|
||||
<a class="p10" ng-click="backTo()">
|
||||
<a class="p10" ng-click="goBack()">
|
||||
<span class="text-close">
|
||||
<i class="fi-x size-24"></i>
|
||||
</span>
|
||||
|
|
@ -31,7 +31,7 @@
|
|||
|
||||
<div class="content preferences text-center">
|
||||
<div ng-show="step == 1">
|
||||
<div ng-show="mnemonicWords || (credentialsEncrypted && !deleted)" class="row">
|
||||
<div ng-show="mnemonicWords || (!credentialsEncrypted && !deleted)" class="row">
|
||||
<h5 class="text-center" translate>Write your wallet recovery phrase</h5>
|
||||
<div class="size-14 text-gray columns" ng-show="(index.n>1 && index.m != index.n )">
|
||||
<span translate>
|
||||
|
|
@ -62,20 +62,12 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<div ng-show="mnemonicWords || (credentialsEncrypted && !deleted)">
|
||||
<div ng-show="mnemonicWords || (!credentialsEncrypted && !deleted)">
|
||||
<p class="text-center columns text-gray" ng-show="index.n==1 && step == 1">
|
||||
<span translate>
|
||||
You need the wallet recovery phrase to restore this personal wallet. Write it down and keep them somewhere safe.
|
||||
</span>
|
||||
</p>
|
||||
<div class="row" ng-show="credentialsEncrypted">
|
||||
<div class="m10t columns">
|
||||
<a class="button outline light-gray expand tiny" ng-click="toggle()">
|
||||
<i class="fi-widget m3r"></i>
|
||||
<span translate ng-hide="show">Show Wallet Recovery Phrase</span>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row" ng-show="!credentialsEncrypted">
|
||||
<div class="columns">
|
||||
<div class="panel" ng-class="{'enable_text_select': index.network == 'testnet'}">
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
ng-init="titleSection='Export Wallet'; goBackToState = 'preferencesAdvanced'">
|
||||
</div>
|
||||
|
||||
<div class="content preferences" ng-controller="exportController" ng-init="init()">
|
||||
<div class="content preferences" ng-controller="exportController" ng-init="init(index.prevState)">
|
||||
<h4></h4>
|
||||
<div ng-show="!backupWalletPlainText">
|
||||
<div class="text-warning size-14 m20b" ng-show="error">
|
||||
|
|
@ -21,7 +21,7 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<form>
|
||||
<form ng-hide="touchidEnabled && !touchidSuccess">
|
||||
<div class="row">
|
||||
<div class="columns">
|
||||
<label for="password" translate>Set up a password </label>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue