Swipe to close modals

This commit is contained in:
Gustavo Maximiliano Cortez 2015-11-23 12:56:43 -03:00
parent e72b76941b
commit 95bac39e99
No known key found for this signature in database
GPG Key ID: 15EDAD8D9F2EB1AF
3 changed files with 10 additions and 3 deletions

View File

@ -12,7 +12,9 @@
</section>
</nav>
<div class="modal-content fix-modals-touch">
<div class="modal-content fix-modals-touch"
ng-swipe-disable-mouse
ng-swipe-right="cancel()">
<div class="header-modal bg-gray text-center">
<div class="p20">
<img src="img/bought.svg" alt="bought" width="80" ng-show="tx.type == 'BUY' && tx.status == 'COMPLETE'">

View File

@ -12,7 +12,9 @@
</section>
</nav>
<div class="modal-content fix-modals-touch">
<div class="modal-content fix-modals-touch"
ng-swipe-disable-mouse
ng-swipe-right="cancel()">
<div class="header-modal text-center">
<div class="size-42" ng-show="btx.action != 'invalid'">
<span ng-if="btx.action == 'received'">+</span><span ng-if="btx.action == 'sent'">-</span>{{btx.amountStr}}

View File

@ -11,7 +11,10 @@
</h1>
</section>
</nav>
<div class="modal-content fix-modals-touch" ng-init="updateCopayerList()">
<div class="modal-content fix-modals-touch"
ng-swipe-disable-mouse
ng-swipe-right="cancel()"
ng-init="updateCopayerList()">
<h4 class="title m0" translate>Details</h4>
<ul class="no-bullet size-14 m0">
<li ng-if="!tx.hasMultiplesOutputs"