update texts, add updateAll upon glidera TX
This commit is contained in:
parent
970e482052
commit
f562f58afc
5 changed files with 73 additions and 56 deletions
|
|
@ -20,7 +20,7 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<div ng-show="index.glideraLimits">
|
||||
<div ng-show="index.glideraLimits && !buy.show2faCodeInput && !buy.success">
|
||||
<h4 class="title m0">
|
||||
<div class="left">
|
||||
<i class="fi-info size-24 m10r"></i>
|
||||
|
|
@ -67,10 +67,14 @@
|
|||
|
||||
<div class="text-center text-gray size-12 m20b" ng-show="buy.buyPrice.qty">
|
||||
Buy
|
||||
<span ng-show="qty">${{buy.buyPrice.subtotal}} {{buy.buyPrice.currency}} in Bitcoin</span>
|
||||
<span ng-show="qty">{{buy.buyPrice.currency}} {{buy.buyPrice.subtotal}} in Bitcoin</span>
|
||||
<span ng-show="fiat">{{buy.buyPrice.qty}} BTC</span>
|
||||
at ${{buy.buyPrice.price}} {{buy.buyPrice.currency}}
|
||||
at {{buy.buyPrice.price}} {{buy.buyPrice.currency}}/BTC
|
||||
</div>
|
||||
<div class="text-center text-gray size-12 m20b" ng-show="!buy.buyPrice.qty" translate>
|
||||
(Enter the amount to get the exchange rate)
|
||||
</div>
|
||||
|
||||
|
||||
<input class="button black expand round"
|
||||
ng-style="{'background-color':index.backgroundColor}"
|
||||
|
|
@ -80,21 +84,23 @@
|
|||
</form>
|
||||
</div>
|
||||
<div ng-show="buy.show2faCodeInput && !buy.success">
|
||||
<p class="text-gray" translate>
|
||||
${{buy.buyPrice.price}} {{buy.buyPrice.currency}} will be immediately withdrawn from your
|
||||
bank account. The total of {{buy.buyPrice.qty}} BTC will be purchased and deposited to your bitcoin wallet ({{index.walletName}}) in 2-4 business days.
|
||||
</p>
|
||||
<p class="text-gray" translate>
|
||||
A SMS containing a confirmation code was sent to your phone. Please, enter code below
|
||||
</p>
|
||||
<form name="buyForm"
|
||||
ng-submit="buy.sendRequest(index.glideraToken, index.glideraPermissions, twoFaCode)" novalidate>
|
||||
<label translate>Glidera 2FA Code</label>
|
||||
<input type="number" ng-model="twoFaCode" required>
|
||||
<input class="button black expand round"
|
||||
ng-style="{'background-color':index.backgroundColor}"
|
||||
type="submit" value="{{'Buy'|translate}}" ng-disabled="buyForm.$invalid || buy.loading">
|
||||
</form>
|
||||
<div class="m10t text-center" translate>
|
||||
{{buy.buyPrice.currency}} {{buy.buyPrice.subtotal}} → {{buy.buyPrice.qty}} BTC
|
||||
<p class="m20t" translate>
|
||||
A SMS containing a confirmation code was sent to your phone. <br>
|
||||
Please, enter the code below
|
||||
</p>
|
||||
<form name="buyForm"
|
||||
ng-submit="buy.sendRequest(index.glideraToken, index.glideraPermissions, twoFaCode)" novalidate>
|
||||
<input type="number" ng-model="twoFaCode" required>
|
||||
<input class="button black expand round"
|
||||
ng-style="{'background-color':index.backgroundColor}"
|
||||
type="submit" value="{{'Buy'|translate}}" ng-disabled="buyForm.$invalid || buy.loading">
|
||||
</form>
|
||||
<p class="m10t size-12 text-gray" translate>
|
||||
Fiat will be immediately withdrawn from your bank account. The bitcoins will be purchased and deposited to your bitcoin wallet ({{index.walletName}}) in 2-4 business days.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="box-notification" ng-show="buy.error && !buy.success">
|
||||
<span class="text-warning size-14">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue