send/receive buttons on home page
This commit is contained in:
parent
fb275d4b08
commit
a5a999958c
4 changed files with 48 additions and 0 deletions
|
|
@ -224,6 +224,7 @@ angular.module('copayApp.controllers').controller('tabHomeController',
|
||||||
cb();
|
cb();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
$scope.walletsWithFunds = profileService.getWallets({hasFunds: true});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -72,5 +72,17 @@
|
||||||
&.activated {
|
&.activated {
|
||||||
color: #FFF;
|
color: #FFF;
|
||||||
}
|
}
|
||||||
|
&-outline {
|
||||||
|
@include button-style(transparent, #FFFFFF, #FAFAFA, #FFF, #FFFFFF);
|
||||||
|
@include button-outline(#FFFFFF);
|
||||||
|
background: none;
|
||||||
|
box-shadow: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
&-grey-outline {
|
||||||
|
@include button-style(transparent, #727272, #FAFAFA, #727272, #727272);
|
||||||
|
@include button-outline(#727272);
|
||||||
|
background: none;
|
||||||
|
box-shadow: none;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -69,6 +69,25 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.buttons {
|
||||||
|
margin-bottom: 0;
|
||||||
|
margin-top: 6px;
|
||||||
|
>.col {
|
||||||
|
padding: 5px 10px;
|
||||||
|
margin-bottom: 0;
|
||||||
|
}
|
||||||
|
.button {
|
||||||
|
border: 2px solid;
|
||||||
|
border-radius: 47px;
|
||||||
|
padding: 0 15px 0 15px;
|
||||||
|
text-align: center;
|
||||||
|
width: 100%;
|
||||||
|
font-size: 19px;
|
||||||
|
font-weight: bolder;
|
||||||
|
min-height: 45px;
|
||||||
|
line-height: 45px;
|
||||||
|
}
|
||||||
|
}
|
||||||
.wallet-coin-logo {
|
.wallet-coin-logo {
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
margin-right: 5px;
|
margin-right: 5px;
|
||||||
|
|
|
||||||
|
|
@ -22,6 +22,22 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div class="buttons row">
|
||||||
|
<div class="col">
|
||||||
|
<div class="button button-outline button-grey-outline" ui-sref="tabs.receive">
|
||||||
|
<span translate>Receive</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="col">
|
||||||
|
<div class="button button-outline button-grey-outline" ng-class="{'ng-hide': walletsWithFunds.length}" ui-sref="tabs.buyandsell">
|
||||||
|
<span translate>Buy Bitcoin</span>
|
||||||
|
</div>
|
||||||
|
<div class="button button-outline button-grey-outline" ng-class="{'ng-hide': !walletsWithFunds.length}" ui-sref="tabs.send">
|
||||||
|
<span translate>Send</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div class="list card homeTip" ng-if="homeTip">
|
<div class="list card homeTip" ng-if="homeTip">
|
||||||
<div class="item item-icon-right item-heading">
|
<div class="item item-icon-right item-heading">
|
||||||
<div class="title" translate>
|
<div class="title" translate>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue