From a2ca869ea628ee234aa226485cc9320e7ce03ef7 Mon Sep 17 00:00:00 2001 From: Benoit Lavenier <benoit.lavenier@e-is.pro> Date: Thu, 26 Dec 2019 11:06:36 +0100 Subject: [PATCH] [enh] Transfer form: replace the change unit button with a unit dropdown style --- www/templates/wallet/transfer_form.html | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/www/templates/wallet/transfer_form.html b/www/templates/wallet/transfer_form.html index f53f2a2e..4f2bc14a 100644 --- a/www/templates/wallet/transfer_form.html +++ b/www/templates/wallet/transfer_form.html @@ -58,7 +58,7 @@ autocomplete="off" class="hidden-xs hidden-sm" name="amount" - placeholder="{{::'TRANSFER.AMOUNT_HELP' | translate}} ({{$root.currency.name | currencySymbolNoHtml:formData.useRelative}})" + placeholder="{{::'TRANSFER.AMOUNT_HELP' | translate}}" ng-model="formData.amount" required number-float> @@ -69,7 +69,7 @@ autocomplete="off" class="visible-xs visible-sm" name="amount" - placeholder="{{::'TRANSFER.AMOUNT_HELP' | translate}} ({{$root.currency.name | currencySymbolNoHtml:formData.useRelative}})" + placeholder="{{::'TRANSFER.AMOUNT_HELP' | translate}}" ng-model="formData.amount" required number-float> @@ -79,14 +79,14 @@ tabindex="4" ng-click="showDigitKeyboard()"></div> - <a class="button button-stable icon ion-arrow-swap gray ink hidden-xs hidden-sm" - tabindex="-1" - ng-click="showUnitPopover($event)"> - </a> - <a class="button button-icon gray icon ion-android-more-vertical ink visible-xs visible-sm" - style="z-index:110; right: 0px;" + <a class="button button-clear button-stable dark ink" + tabindex="-1" style="z-index:110; padding: 0px 16px;" ng-click="showUnitPopover($event)"> + <span ng-bind-html="$root.currency.name | currencySymbol:formData.useRelative"> + </span> + <b class="ion-arrow-down-b" style="font-size: 12pt;"></b> </a> + </ion-item> <div class="form-errors" ng-show="form.$submitted && form.amount.$error" -- GitLab