Skip to content
Snippets Groups Projects
Commit 57350672 authored by Benoit Lavenier's avatar Benoit Lavenier
Browse files

[fix] fix new transfert view

[fix] Transfer modal: add ink effect on buttons
parent 9ac0d046
No related branches found
No related tags found
No related merge requests found
......@@ -1349,6 +1349,12 @@ a.underline:hover,
textarea {
padding-right: 100px;
}
.button,
button {
top: inherit;
bottom: 6px;
}
}
/*
......
source diff could not be displayed: it is too large. Options to address this: view the blob.
......@@ -9,7 +9,7 @@ angular.module('cesium.transfer.controllers', ['cesium.services', 'cesium.curren
url: "/transfer?amount&udAmount&comment",
views: {
'menuContent': {
templateUrl: "templates/wot/view_identity.html",
templateUrl: "templates/wallet/new_transfer.html",
controller: 'TransferCtrl'
}
}
......@@ -91,6 +91,7 @@ function TransferController($scope, $controller, UIUtils, csWot) {
$scope.setParameters(parameters);
$scope.onUseRelativeChanged();
UIUtils.loading.hide();
UIUtils.ink({selector: '.modal-transfer .ink'});
});
};
$scope.$on('$ionicView.enter', $scope.enter);
......@@ -150,6 +151,11 @@ function TransferModalController($scope, $translate, $filter, BMA, csWallet, UIU
// Read default parameters
$scope.setParameters(parameters);
$scope.enter = function() {
UIUtils.ink({selector: '.modal-transfer .ink'});
};
$scope.$on('modal.shown', $scope.enter);
$scope.cancel = function() {
$scope.closeModal();
};
......
<ion-modal-view id="transfer" class="modal-full-height">
<ion-modal-view id="transfer" class="modal-full-height modal-transfer">
<ion-header-bar class="bar-positive">
<button class="button button-clear visible-xs" ng-click="closeModal()" translate>COMMON.BTN_CANCEL</button>
<h1 class="title" translate>TRANSFER.MODAL.TITLE</h1>
......
......@@ -48,11 +48,11 @@
keyboard-attach=""
name="amount" placeholder="{{::'TRANSFER.AMOUNT_HELP' | translate}} ({{currency | currencySymbolNoHtml:formData.useRelative}})" ng-model="formData.amount"
required number-float>
<span class="gray button button-block icon ion-arrow-swap hidden-xs hidden-sm" ng-click="showUnitPopover($event)">
</span>
<span class="gray button button-block button-icon visible-xs visible-sm" ng-click="showUnitPopover($event)">
<a class="button button-stable icon ion-arrow-swap gray ink hidden-xs hidden-sm" ng-click="showUnitPopover($event)">
</a>
<a class="button button-icon button-small-padding gray ink visible-xs visible-sm" ng-click="showUnitPopover($event)">
<i class="icon ion-android-more-vertical"></i>
</span>
</a>
</ion-item>
<div class="form-errors"
ng-show="form.$submitted && form.amount.$error"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment