add popover menu to share/scan addresses
This commit is contained in:
parent
439300743d
commit
de65f88b9e
10 changed files with 117 additions and 59 deletions
|
|
@ -3,10 +3,15 @@
|
|||
<ion-nav-title>{{'Wallet Addresses' | translate}}</ion-nav-title>
|
||||
<ion-nav-back-button>
|
||||
</ion-nav-back-button>
|
||||
<ion-nav-buttons side="secondary">
|
||||
<button class="button back-button" ng-click="showMenu(false, $event)">
|
||||
<i class="icon ion-ios-more"></i>
|
||||
</button>
|
||||
</ion-nav-buttons>
|
||||
</ion-nav-bar>
|
||||
|
||||
<ion-content>
|
||||
<div class="zero-state banner-icon">
|
||||
<div class="text-center banner-icon">
|
||||
<i class="icon zero-state-icon">
|
||||
<img src="img/tab-icons/ico-receive-selected.svg"/>
|
||||
</i>
|
||||
|
|
|
|||
|
|
@ -3,6 +3,11 @@
|
|||
<ion-nav-title>{{'All Addresses' | translate}}</ion-nav-title>
|
||||
<ion-nav-back-button>
|
||||
</ion-nav-back-button>
|
||||
<ion-nav-buttons side="secondary">
|
||||
<button class="button back-button" ng-click="showMenu(true, $event)" ng-hide="!isCordova && allAddressesView">
|
||||
<i class="icon ion-ios-more"></i>
|
||||
</button>
|
||||
</ion-nav-buttons>
|
||||
</ion-nav-bar>
|
||||
|
||||
<ion-content>
|
||||
|
|
|
|||
9
www/views/includes/menu-popover.html
Normal file
9
www/views/includes/menu-popover.html
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
<ion-popover-view ng-style="{'height': height + 'px'}" id="menu-popover">
|
||||
<ion-content>
|
||||
<div class="list">
|
||||
<div class="item" ng-repeat="i in items track by $index" ng-click="i.action()">
|
||||
{{i.text}}
|
||||
</div>
|
||||
</div>
|
||||
</ion-content>
|
||||
</ion-popover-view>
|
||||
|
|
@ -70,7 +70,7 @@
|
|||
<div class="item item-icon-left item-icon-right">
|
||||
<i class="icon icon-svg receive-tab-bitcoin-icon"><img src="img/icon-bitcoin-symbol.svg"></i>
|
||||
<span class="bit-address-gen-address" ng-if="generatingAddress">...</span>
|
||||
<span class="bit-address-gen-address" ng-if="!generatingAddress">{{walletAddrs[wallet.id]}}</span>
|
||||
<span class="bit-address-gen-address" ng-if="!generatingAddress" class="ellipsis">{{walletAddrs[wallet.id]}}</span>
|
||||
<i class="icon ion-ios-arrow-right"></i>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue