mirror of https://github.com/BTCPrivate/copay.git
Fix Home UI
This commit is contained in:
parent
84d1bd81bc
commit
677537064f
|
@ -5,50 +5,55 @@
|
||||||
</ion-nav-bar>
|
</ion-nav-bar>
|
||||||
<ion-content class="padding home" ng-controller="tabHomeController" cache-view="false">
|
<ion-content class="padding home" ng-controller="tabHomeController" cache-view="false">
|
||||||
|
|
||||||
<h2 class="title m0" ng-if="txps[0]" translate>Payment Proposals</h2>
|
<div ng-if="txps[0]">
|
||||||
<div class="list card" ng-if="txps[0]">
|
<h3 class="title m0" translate>Payment Proposals</h3>
|
||||||
<ul>
|
<div class="list card">
|
||||||
<li ng-repeat="tx in txps" class="item item-icon-left"
|
<ul>
|
||||||
ng-click="openTxpModal(tx)">
|
<li ng-repeat="tx in txps" class="item item-icon-left"
|
||||||
<i class="icon ion-ios-circle-filled" ng-show="tx.pendingForUs" ng-style="{'color':tx.wallet.color}"></i>
|
ng-click="openTxpModal(tx)">
|
||||||
<span ng-show="!tx.merchant">
|
<i class="icon ion-ios-circle-filled" ng-show="tx.pendingForUs" ng-style="{'color':tx.wallet.color}"></i>
|
||||||
<span ng-show="addressbook[tx.toAddress] && !tx.message">
|
<span ng-show="!tx.merchant">
|
||||||
{{addressbook[tx.toAddress]}}
|
<span ng-show="addressbook[tx.toAddress] && !tx.message">
|
||||||
|
{{addressbook[tx.toAddress]}}
|
||||||
|
</span>
|
||||||
|
<span class="ellipsis" ng-show="!addressbook[tx.toAddress] && tx.message">
|
||||||
|
{{tx.message}}
|
||||||
|
</span>
|
||||||
|
<span ng-show="!addressbook[tx.toAddress] && !tx.message" translate>
|
||||||
|
Sending
|
||||||
|
</span>
|
||||||
</span>
|
</span>
|
||||||
<span class="ellipsis" ng-show="!addressbook[tx.toAddress] && tx.message">
|
<span ng-show="tx.merchant">
|
||||||
{{tx.message}}
|
<span ng-show="tx.merchant.pr.ca"><i class="fi-lock"></i> {{tx.merchant.domain}}</span>
|
||||||
|
<span ng-show="!tx.merchant.pr.ca"><i class="fi-unlock"></i> {{tx.merchant.domain}}</span>
|
||||||
</span>
|
</span>
|
||||||
<span ng-show="!addressbook[tx.toAddress] && !tx.message" translate>
|
|
||||||
Sending
|
|
||||||
</span>
|
|
||||||
</span>
|
|
||||||
<span ng-show="tx.merchant">
|
|
||||||
<span ng-show="tx.merchant.pr.ca"><i class="fi-lock"></i> {{tx.merchant.domain}}</span>
|
|
||||||
<span ng-show="!tx.merchant.pr.ca"><i class="fi-unlock"></i> {{tx.merchant.domain}}</span>
|
|
||||||
</span>
|
|
||||||
<span >
|
|
||||||
<span>
|
<span>
|
||||||
- {{tx.amountStr}}
|
- {{tx.amountStr}}
|
||||||
</span>
|
</span>
|
||||||
<div class="item item-divider">
|
<div class="item item-divider">
|
||||||
{{tx.wallet.name}} · <time>{{ (tx.ts || tx.createdOn ) * 1000 | amTimeAgo}}</time>
|
{{tx.wallet.name}} · <time>{{ (tx.ts || tx.createdOn ) * 1000 | amTimeAgo}}</time>
|
||||||
</div>
|
</div>
|
||||||
</span>
|
</li>
|
||||||
</li>
|
</ul>
|
||||||
</ul>
|
|
||||||
|
|
||||||
<div ng-show="lockedBalanceSat">
|
<div ng-show="lockedBalanceSat">
|
||||||
<span translate>Total Locked Balance</span>:
|
<span translate>Total Locked Balance</span>:
|
||||||
<b>{{lockedBalanceStr}} </b>
|
<b>{{lockedBalanceStr}} </b>
|
||||||
<span> {{lockedBalanceAlternative}} {{alternativeIsoCode}} </span>
|
<span> {{lockedBalanceAlternative}} {{alternativeIsoCode}} </span>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div class="row">
|
||||||
|
<div class="col col-90">
|
||||||
|
<h3>Wallets </h3>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="col text-center">
|
||||||
|
<a href="#/add" class="add-icon"><i class="ion-plus size-21 right"></i></a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<h2>Wallets
|
|
||||||
<a href="#/add"><i class="ion-ios-plus-outline right"></i></a>
|
|
||||||
</h2>
|
|
||||||
<div class="list card">
|
<div class="list card">
|
||||||
<ul class="pr">
|
<ul class="pr">
|
||||||
|
|
||||||
|
@ -71,8 +76,7 @@
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<h3>Next steps </h3>
|
||||||
<h2>Next steps </h2>
|
|
||||||
<div class="list card">
|
<div class="list card">
|
||||||
<ul class="pr">
|
<ul class="pr">
|
||||||
<li menu-toggle href ui-sref="bitpayCard" ng-show="bitpayCardEnabled" class="item item-icon-left">
|
<li menu-toggle href ui-sref="bitpayCard" ng-show="bitpayCardEnabled" class="item item-icon-left">
|
||||||
|
@ -87,7 +91,7 @@
|
||||||
<i class="icon ion-ios-cart"></i>
|
<i class="icon ion-ios-cart"></i>
|
||||||
Gift Cards
|
Gift Cards
|
||||||
<span class="item-note">
|
<span class="item-note">
|
||||||
bla bla
|
bla bla
|
||||||
</span>
|
</span>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
|
@ -934,6 +934,10 @@ ul.wallet-selection.wallets {
|
||||||
line-height: 45px;
|
line-height: 45px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.add-icon {
|
||||||
|
line-height: 33px;
|
||||||
|
}
|
||||||
|
|
||||||
.no-border {
|
.no-border {
|
||||||
border-style: none;
|
border-style: none;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue