fix navigation top control

This commit is contained in:
Javier 2015-11-23 17:53:42 -03:00
commit 9a806f3bab
3 changed files with 80 additions and 33 deletions

View file

@ -1,16 +1,27 @@
<div
class="topbar-container"
ng-include="'views/includes/topbar.html'"
ng-init="titleSection='Backup'; closeToHome = 'true'">
</div>
<div class="" ng-controller="backupController as wordsC">
<nav class="tab-bar">
<section class="left-small" ng-show="!wordsC.step1 && !wordsC.step4">
<a ng-click="wordsC.goToStep();">
<i class="icon-arrow-left3 icon-back"></i>
</a>
</section>
<div class="content preferences backup" ng-controller="backupController as wordsC">
<h4></h4>
<div class="box-notification" ng-show="wordsC.error">
<span class="text-warning">
{{wordsC.error|translate}}
</span>
</div>
<section class="middle tab-bar-section">
</section>
<section class="right-small">
<a class="p10" ng-click="$root.go(index.prevState);">
<span class="text-close">X</span>
</a>
</section>
</nav>
<div class="content preferences backup">
<div class="box-notification" ng-show="wordsC.error">
<span class="text-warning" translate>
{{wordsC.error}}
</span>
</div>
<!--
## STEP 1
@ -169,24 +180,33 @@
<p class="text-gray p20" translate>
You backed up your new wallet. You can now restore this wallet at any time
</p>
<div class="columns text-center m20t">
<button
ng-style="{'background-color':index.backgroundColor}"
class="button round expand"
ng-click="$root.go('walletHome');"
translate>Finish
</button>
</div>
</div>
<div class="row m10t m10b text-center" ng-show="wordsC.backupError">
<div class="circle-icon">
<i class="fi-like size-48"></i>
<i class="fi-dislike size-48"></i>
</div>
<h5>Backup failed</h5>
<p class="text-gray p20" translate>
Failed to verify backup. Please try again
Failed to verify backup. Please check your information
</p>
</div>
<div class="columns text-center m20t">
<button
ng-style="{'background-color':index.backgroundColor}"
class="button round expand"
ng-click="$root.go('walletHome');"
translate>Finish
</button>
<div class="columns text-center m20t">
<button
ng-style="{'background-color':index.backgroundColor}"
class="button round expand"
ng-click="$root.go(index.prevState);"
translate>Try again
</button>
</div>
</div>
</div>