populate wallet list
This commit is contained in:
parent
1d5299e254
commit
b42bf01f6a
4 changed files with 67 additions and 6 deletions
|
|
@ -28,3 +28,34 @@
|
||||||
// margin-right: 20px;
|
// margin-right: 20px;
|
||||||
// }
|
// }
|
||||||
// }
|
// }
|
||||||
|
|
||||||
|
#view-confirm {
|
||||||
|
$border-color: #EFEFEF;
|
||||||
|
height: auto;
|
||||||
|
.wallet-selector {
|
||||||
|
.wallet {
|
||||||
|
border: 0;
|
||||||
|
padding-right: 0;
|
||||||
|
padding-top: 0;
|
||||||
|
padding-bottom: 0;
|
||||||
|
margin-bottom: 1px;
|
||||||
|
}
|
||||||
|
.wallet-details {
|
||||||
|
position: relative;
|
||||||
|
padding-top: 16px;
|
||||||
|
padding-bottom: 16px;
|
||||||
|
|
||||||
|
&::after {
|
||||||
|
display: block;
|
||||||
|
position: absolute;
|
||||||
|
width: 100%;
|
||||||
|
height: 1px;
|
||||||
|
//background: rgba(221, 221, 221, 0.3);
|
||||||
|
background: $border-color;
|
||||||
|
bottom: 0;
|
||||||
|
right: 0;
|
||||||
|
content: '';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,10 @@
|
||||||
action-sheet {
|
action-sheet {
|
||||||
.bp-action-sheet {
|
.bp-action-sheet {
|
||||||
|
$border-color: #EFEFEF;
|
||||||
|
|
||||||
&__sheet {
|
&__sheet {
|
||||||
background: #fff;
|
background: #fff;
|
||||||
height: 300px;
|
//height: 300px;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
position: fixed;
|
position: fixed;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
|
|
@ -11,6 +12,11 @@ action-sheet {
|
||||||
transform: translateY(100%);
|
transform: translateY(100%);
|
||||||
transition: transform 250ms cubic-bezier(0.4, 0.0, 0.2, 1);
|
transition: transform 250ms cubic-bezier(0.4, 0.0, 0.2, 1);
|
||||||
z-index: 100;
|
z-index: 100;
|
||||||
|
padding-top: 1.75rem;
|
||||||
|
padding-left: 2rem;
|
||||||
|
padding-right: .75rem;
|
||||||
|
color: #2f2f2f;
|
||||||
|
padding-bottom: 2rem;
|
||||||
|
|
||||||
&.slide-up {
|
&.slide-up {
|
||||||
transform: translateY(0);
|
transform: translateY(0);
|
||||||
|
|
@ -18,11 +24,16 @@ action-sheet {
|
||||||
}
|
}
|
||||||
|
|
||||||
.back-arrow {
|
.back-arrow {
|
||||||
padding: 1rem;
|
padding-bottom: 1rem;
|
||||||
padding-top: 1.5rem;
|
|
||||||
padding-left: 2rem;
|
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.header {
|
||||||
|
font-weight: 600;
|
||||||
|
padding-bottom: 1rem;
|
||||||
|
border-bottom: 1px solid $border-color;
|
||||||
|
margin-bottom: 1px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&__backdrop {
|
&__backdrop {
|
||||||
|
|
|
||||||
|
|
@ -79,8 +79,25 @@
|
||||||
<span ng-hide="wallet.m > 1">Payment Sent</span>
|
<span ng-hide="wallet.m > 1">Payment Sent</span>
|
||||||
<span ng-show="wallet.m > 1">Proposal Created</span>
|
<span ng-show="wallet.m > 1">Proposal Created</span>
|
||||||
</slide-to-accept-success>
|
</slide-to-accept-success>
|
||||||
<action-sheet action-sheet-show="showWallets">
|
<action-sheet action-sheet-show="showWallets" class="wallet-selector">
|
||||||
|
<!-- <div ng-repeat="wallet in wallets">{{wallet.name}}</div> -->
|
||||||
|
<a ng-repeat="wallet in wallets track by $index" class="item item-icon-left item-big-icon-left item-icon-right wallet" ng-click="openWallet(wallet)">
|
||||||
|
<i class="icon big-icon-svg">
|
||||||
|
<img src="img/icon-wallet.svg" ng-style="{'background-color': wallet.color}" class="bg">
|
||||||
|
</i>
|
||||||
|
<div class="wallet-details">
|
||||||
|
<span>
|
||||||
|
{{wallet.name}}
|
||||||
|
</span>
|
||||||
|
<p>
|
||||||
|
<span ng-if="wallet.isComplete()">
|
||||||
|
<span ng-if="!wallet.balanceHidden" class="ng-binding">0.00 BTC</span>
|
||||||
|
</span>
|
||||||
|
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
<!-- <i class="icon bp-arrow-right"></i> -->
|
||||||
|
</a>
|
||||||
</action-sheet>
|
</action-sheet>
|
||||||
</ion-view>
|
</ion-view>
|
||||||
<!-- <ion-view id="view-confirm">
|
<!-- <ion-view id="view-confirm">
|
||||||
|
|
|
||||||
|
|
@ -5,4 +5,6 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="bp-action-sheet__sheet" ng-class="{'slide-up': show}">
|
<div class="bp-action-sheet__sheet" ng-class="{'slide-up': show}">
|
||||||
<img class="back-arrow" src="img/icon-back-arrow.svg" ng-click="hide()">
|
<img class="back-arrow" src="img/icon-back-arrow.svg" ng-click="hide()">
|
||||||
|
<div class="header">Send from</div>
|
||||||
|
<ng-transclude></ng-transclude>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue