Scanner button at topbar only for mobile

This commit is contained in:
Gustavo Maximiliano Cortez 2015-01-15 12:57:18 -03:00 committed by bechi
commit d0f8583122
8 changed files with 76 additions and 70 deletions

View file

@ -84,13 +84,15 @@
<a class="left-off-canvas-toggle menu-icon" ><span></span></a>
</section>
<section class="right-small" ng-show="$root.iden && $root.wallet.isComplete() && !$root.hideWalletNavigation">
<a class="p10" ng-click="$root.go('more')"><i class="fi-widget size-24"></i></a>
<section class="right-small"
ng-show="$root.iden && $root.wallet.isComplete() && !$root.hideWalletNavigation && isCordova">
<a class="p10"
ng-click="openScanner()"><i class="fi-camera size-24"></i></a>
</section>
<section class="middle tab-bar-section">
<h1 class="title ellipsis" ng-show="$root.iden && $root.wallet && !$root.hideWalletNavigation">
{{$root.wallet.getName()}}
{{$root.wallet.getName()}}
</h1>
</section>
</nav>