wallet to wallet transfer views + css
This commit is contained in:
parent
8c124fba19
commit
b8bab036e6
6 changed files with 86 additions and 1 deletions
14
src/js/controllers/walletToWalletController.js
Normal file
14
src/js/controllers/walletToWalletController.js
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
'use strict';
|
||||
|
||||
angular.module('copayApp.controllers').controller('walletToWalletController', function($scope, $rootScope, $log, profileService, configService) {
|
||||
|
||||
$scope.$on("$ionicView.enter", function(event, data) {
|
||||
$scope.walletsBch = profileService.getWallets({coin: 'bch'});
|
||||
$scope.walletsBtc = profileService.getWallets({coin: 'btc'});
|
||||
configService.whenAvailable(function(config) {
|
||||
$scope.selectedPriceDisplay = config.wallet.settings.priceDisplay;
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
});
|
||||
|
|
@ -295,6 +295,15 @@ angular.module('copayApp').config(function(historicLogProvider, $provide, $logPr
|
|||
}
|
||||
}
|
||||
})
|
||||
.state('tabs.send.wallet-to-wallet', {
|
||||
url: '/wallet-to-wallet',
|
||||
views: {
|
||||
'tab-send@tabs': {
|
||||
controller: 'walletToWalletController',
|
||||
templateUrl: 'views/wallet-to-wallet-transfer.html'
|
||||
}
|
||||
}
|
||||
})
|
||||
.state('tabs.send.confirm', {
|
||||
url: '/confirm/:recipientType/:toAddress/:toName/:toAmount/:toEmail/:toColor/:description/:coin/:useSendMax/:fromWalletId/:displayAddress/:requiredFeeRate',
|
||||
views: {
|
||||
|
|
|
|||
|
|
@ -8,6 +8,7 @@
|
|||
@import "tab-receive";
|
||||
@import "tab-scan";
|
||||
@import "tab-send";
|
||||
@import "wallet-to-wallet-transfer";
|
||||
@import "tab-settings";
|
||||
@import "wallet-colors";
|
||||
@import "walletBalance";
|
||||
|
|
|
|||
18
src/sass/views/wallet-to-wallet-transfer.scss
Normal file
18
src/sass/views/wallet-to-wallet-transfer.scss
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
#wallet-to-wallet-transfer {
|
||||
.header, .list {
|
||||
font-size: 12px;
|
||||
margin: 20px 14px;
|
||||
|
||||
.title {
|
||||
font-size: 20px;
|
||||
font-weight: bold;
|
||||
color: $v-dark-gray;
|
||||
}
|
||||
.subtitle {
|
||||
font-size: 12px;
|
||||
line-height: 1.5em;
|
||||
font-weight: 300;
|
||||
color: $v-dark-gray;
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue