allow wallets to be selected

This commit is contained in:
Marty Alcala 2016-10-12 18:49:00 -04:00
commit 252686688e
4 changed files with 73 additions and 57 deletions

View file

@ -118,6 +118,13 @@ angular.module('copayApp.controllers').controller('confirmController', function(
$scope.showWallets = true;
};
$scope.selectWallet = function(w) {
$timeout(function() {
$scope.showWallets = false;
}, 100);
setWallet(w);
};
$scope.showDescriptionPopup = function() {
var message = gettextCatalog.getString('Add description');

View file

@ -1,34 +1,3 @@
// #view-confirm {
// .icon-bitpay-card {
// background-image: url("../img/icon-bitpay.svg");
// }
// .slide-to-pay{
// bottom: 92px;
// }
// .send-gravatar {
// left: 11px;
// position: absolute;
// top: 10px;
// }
// .accept-slide {
// position: fixed;
// bottom: 0;
// width: 100%;
// height: 100px;
// background-color: #647CE8;
// color: #ffffff;
// font-size: 25px;
// text-align: center;
// padding-top: 34px;
// line-height: 32px;
// }
// .accept-slide i {
// float: right;
// font-size: 32px;
// margin-right: 20px;
// }
// }
#view-confirm {
$border-color: #EFEFEF;
height: auto;
@ -52,20 +21,12 @@
}
}
}
.wallet-details {
.wallet-inner {
display: flex;
position: relative;
padding-top: 16px;
padding-bottom: 16px;
.wallet-name {
padding-bottom: 5px;
}
.wallet-balance {
color: #3A3A3A;
font-family: "Roboto-Light";
}
&::after {
display: block;
position: absolute;
@ -76,6 +37,23 @@
right: 0;
content: '';
}
.check {
padding: 0 1.2rem;
}
}
.wallet-details {
flex-grow: 1;
.wallet-name {
padding-bottom: 5px;
}
.wallet-balance {
color: #3A3A3A;
font-family: "Roboto-Light";
}
}
}
}