mirror of
https://github.com/arnaucube/commonroutesApp.git
synced 2026-02-07 11:36:42 +01:00
search bar added in the travels menubar
This commit is contained in:
@@ -25,10 +25,10 @@
|
||||
</p>
|
||||
<p class="o-bold">{{travel.description}}</p>
|
||||
<br>
|
||||
<p>
|
||||
<p ng-show="travel.phone">
|
||||
<img class='o-imgMenu' src="img/smartphone.png" /> {{travel.phone}}
|
||||
</p>
|
||||
<p>
|
||||
<p ng-show="travel.telegram">
|
||||
<img class='o-imgMenu' src="img/telegram.png" /> {{travel.telegram}}
|
||||
</p>
|
||||
|
||||
|
||||
@@ -5,13 +5,18 @@
|
||||
on-refresh="doRefresh()">
|
||||
</ion-refresher>
|
||||
<div class="list">
|
||||
<div class="o-float-right" ng-show="storageusername">
|
||||
<a ng-click="showNewAskingPackage()" class="button icon ion-email"></a>
|
||||
<a ng-click="showNewAskingTravel()" class="button icon ion-help"></a>
|
||||
<a ng-click="showNewOfferingTravel()" class="button icon ion-plus"></a>
|
||||
<div>
|
||||
<div class="o-float-right" ng-show="storageusername">
|
||||
<a ng-click="showNewAskingPackage()" class="button icon ion-email"></a>
|
||||
<a ng-click="showNewAskingTravel()" class="button icon ion-help"></a>
|
||||
<a ng-click="showNewOfferingTravel()" class="button icon ion-plus"></a>
|
||||
</div>
|
||||
<label class="item item-input">
|
||||
<i class="icon ion-search placeholder-icon"></i>
|
||||
<input type="search" placeholder="search by destination" ng-model="search">
|
||||
</label>
|
||||
</div>
|
||||
|
||||
<a ng-repeat="travel in travels | orderBy: 'date'" class="item item-avatar" href="#/app/travels/{{travel._id}}">
|
||||
<a ng-repeat="travel in travels | orderBy: 'date' | filter: search" class="item item-avatar" href="#/app/travels/{{travel._id}}">
|
||||
<img ng-src="img/{{travel.modality}}.png">
|
||||
<h2>{{travel.title}}</h2>
|
||||
<div class="item-note">
|
||||
|
||||
Reference in New Issue
Block a user