askForPin scope

This commit is contained in:
Gustavo Maximiliano Cortez 2015-01-29 03:14:32 -03:00
commit d5a9a916db
5 changed files with 19 additions and 19 deletions

View file

@ -1,7 +1,7 @@
<div class="home" ng-controller="HomeController" ng-init="init()">
<div ng-if="$root.askForPin || ($root.hasPin && !$root.iden)">
<div ng-if="askForPin || ($root.hasPin && !$root.iden)">
<div ng-include="'views/includes/pin-number.html'"></div>
</div>
@ -58,12 +58,12 @@
</div>
</div>
<div ng-if='$root.askForPin || ($root.hasPin && !$root.iden)'>
<div ng-if='askForPin || ($root.hasPin && !$root.iden)'>
<div class="clipo">
<img src="img/clipo-pin-enter.png" alt="clipo" width="300" ng-show="$root.hasPin && !$root.iden">
<img src="img/clipo-pin.png" alt="clipo" width="380" ng-show="$root.askForPin">
<img src="img/clipo-pin.png" alt="clipo" width="380" ng-show="askForPin">
</div>
<div class="text-white text-center" ng-show="$root.askForPin == 2">Repeat PIN</div>
<div class="text-white text-center" ng-show="askForPin == 2">Repeat PIN</div>
<div class="box-notification" ng-show="error">
<div class="box-icon error">
<i class="fi-x size-24"></i>
@ -75,7 +75,7 @@
<div ng-include="'views/includes/pin.html'"></div>
</div>
<div ng-if='!$root.hasPin && !$root.askForPin && !$root.iden'>
<div ng-if='!$root.hasPin && !askForPin && !$root.iden'>
<div class="clipo" ng-hide="hideForWP">
<img src="img/clipo-signin.png" alt="clipo" width="310">
</div>