fix UI search transactions

This commit is contained in:
Gabriel Bazán 2016-09-02 14:29:34 -03:00
commit 9c024aebf6
5 changed files with 83 additions and 105 deletions

View file

@ -1,23 +1,20 @@
<ion-modal-view>
<ion-header-bar align-title="center" class="tab-bar" ng-style="{'background-color':color}">
<div class="left-small">
<a ng-click="cancel()" class="p10">
<a ng-click="close()" class="p10">
<span class="text-close" translate>Close</span>
</a>
</div>
<h1 class="title ellipsis" translate>Search Transactions</h1>
</ion-header-bar>
<ion-content ng-controller="searchController">
<ion-content ng-controller="searchController" ng-init="search = ''">
<div class="bar bar-header item-input-inset">
<label class="item-input-wrapper">
<i class="icon ion-ios-search placeholder-icon"></i>
<input type="search" ng-model="search" ng-init="search = ''" ng-change="updateSearchInput(search)"
placeholder="{{'Search transactions' | translate}}">
</label>
<button class="button button-stable" ng-click="cancelSearch()">
Cancel
</button>
</div>
<div class="list">
@ -83,13 +80,11 @@
&nbsp;
<i class="icon-arrow-down4"></i>
</div>
<ion-infinite-scroll
ng-if="txHistoryShowMore"
on-infinite="moreSearchResults()"
distance="1%">
</ion-infinite-scroll>
</div>
</ion-content>
</ion-modal-view>

View file

@ -1,15 +1,15 @@
<ion-view id="walletDetails">
<ion-view id="walletDetails" ng-controller="walletDetailsController" ng-init="init()">
<ion-header-bar ng-style="{'background-color': walletDetailsColor}">
<button class="button back-button" ng-click="$ionicGoBack()">
<i class="icon ion-ios-arrow-thin-left"></i>
</button>
<h1 class="title">{{walletDetailsName}}</h1>
<button class="button search-button">
<button class="button search-button" ng-click="startSearch(); openSearchModal()">
<i class="icon ion-ios-search-strong"></i>
</button>
</ion-header-bar>
<ion-content ng-controller="walletDetailsController" ng-init="init()" delegate-handle="my-handle">
<ion-content delegate-handle="my-handle">
<div ng-show="!wallet" translate>
No Wallet
<a href ui-sref="tabs.home" class="button" translate>
@ -119,9 +119,8 @@
<!-- Transactions -->
<h4 class="title" ng-click="startSearch(); openSearchModal()" ng-show="!notAuthorized">
<h4 class="title" ng-show="!notAuthorized">
<span translate>Activity</span>
<i class="icon ion-ios-search-strong"></i>
</h4>
<div class="oh pr m20t text-gray size-12 text-center"