open input amount as modal
This commit is contained in:
parent
838038a92e
commit
01c7c8ff42
4 changed files with 73 additions and 36 deletions
|
|
@ -1,56 +0,0 @@
|
|||
<ion-modal-view ng-controller="amountInputController" ng-init=init()>
|
||||
<ion-content>
|
||||
<ion-header-bar align-title="center" class="tab-bar" ng-style="{'background-color':index.backgroundColor}">
|
||||
<div class="left-small">
|
||||
<a class="p10" ng-click="close()"><span class="text-close" translate>Close</span></a>
|
||||
</div>
|
||||
<h1 class="title ellipsis" translate>Enter amount</h1>
|
||||
<div class="right-small m5r" ng-click="toggleAlternative()">
|
||||
<a class="postfix" ng-show="showAlternative">{{alternativeIsoCode}}</a>
|
||||
<a class="postfix" ng-show="!showAlternative">{{unitName}}</a>
|
||||
</div>
|
||||
</ion-header-bar>
|
||||
|
||||
<div class="send-amount row" ng-style="{'background-color':index.backgroundColor}">
|
||||
<div class="size-48" ng-show="!showAlternative">{{amount}}</div>
|
||||
<div class="size-21 text-light" ng-show="!showAlternative">{{amountResult}} {{alternativeIsoCode}}</div>
|
||||
<div class="size-48" ng-show="showAlternative">${{alternativeAmount}}</div>
|
||||
<div class="size-21 text-light" ng-show="showAlternative">{{alternativeResult}} {{unitName}}</div>
|
||||
</div>
|
||||
|
||||
<div class="button-content text-center df">
|
||||
<button class="button expand button-balanced" ng-click="" translate>Request</button>
|
||||
<button class="button expand button-balanced" ng-click="" translate>Send</button>
|
||||
</div>
|
||||
|
||||
<div class="button-content text-center size-10 df">
|
||||
<button class="button expand button-stable" ng-click="pushOperator('x')">x</button>
|
||||
<button class="button expand button-stable" ng-click="pushOperator('/')">/</button>
|
||||
<button class="button expand button-stable" ng-click="pushOperator('+')">+</button>
|
||||
<button class="button expand button-stable" ng-click="pushOperator('-')">-</button>
|
||||
</div>
|
||||
|
||||
<div class="m10b">
|
||||
<div class="button-content text-center df">
|
||||
<button class="button expand button-light" ng-click="pushDigit('1')">1</button>
|
||||
<button class="button expand button-light" ng-click="pushDigit('2')">2</button>
|
||||
<button class="button expand button-light" ng-click="pushDigit('3')">3</button>
|
||||
</div>
|
||||
<div class="button-content text-center df">
|
||||
<button class="button expand button-light" ng-click="pushDigit('4')">4</button>
|
||||
<button class="button expand button-light" ng-click="pushDigit('5')">5</button>
|
||||
<button class="button expand button-light" ng-click="pushDigit('6')">6</button>
|
||||
</div>
|
||||
<div class="button-content text-center df">
|
||||
<button class="button expand button-light" ng-click="pushDigit('7')">7</button>
|
||||
<button class="button expand button-light" ng-click="pushDigit('8')">8</button>
|
||||
<button class="button expand button-light" ng-click="pushDigit('9')">9</button>
|
||||
</div>
|
||||
<div class="button-content text-center df">
|
||||
<button class="button expand button-light" ng-click="pushDigit('.')">.</button>
|
||||
<button class="button expand button-light" ng-click="pushDigit('0')">0</button>
|
||||
<button class="button expand button-light" ng-click="removeDigit()"><i class="icon ion-backspace-outline"></i></button>
|
||||
</div>
|
||||
</div>
|
||||
</ion-content>
|
||||
</ion-modal-view>
|
||||
Loading…
Add table
Add a link
Reference in a new issue