Advertisement
Guest User

Untitled

a guest
Jan 23rd, 2016
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <ion-view view-title="Nearby">
  2.   <ion-content>
  3.     <!-- Search -->
  4.     <div class="list">
  5.       <div class="item item-input-inset" style="border: 0px; padding-bottom: 0px; background-color: #2784c9;">
  6.         <label class="item-input-wrapper">
  7.           <input type="search" placeholder="What are you looking for?" style="width: 100%" ng-model="services" ng-click="showLocations=false; showServices=false">
  8.         </label>
  9.       </div>
  10.       <div class="item item-input-inset" style="border-top: 0px; background-color: #2784c9; margin-left: -2px;">
  11.         <label class="item-input-wrapper">
  12.           <input type="search" placeholder="Current location" style="width: 100%" ng-model="location" ng-click="showLocations=true; showServices=true">
  13.         </label>
  14.         <button class="button button-positive button-small" ng-click="location=''; services=''">
  15.           <i class="ion-close"></i>
  16.         </button>
  17.       </div>
  18.  
  19.       <!-- List of services -->
  20.       <ion-list>
  21.         <ion-item ng-repeat="service in serviceList | filter:services" href="#/app/services/{{service.id}}" class="item-icon-right" ng-hide="showServices">
  22.           {{service.title}}
  23.           <i class="icon ion-chevron-right icon-accessory">
  24.                         <span class="badge badge-positive">{{service.total}}</span>
  25.                     </i>
  26.         </ion-item>
  27.       </ion-list>
  28.     </div>
  29.  
  30.     <!-- List of regions -->
  31.     <div class="list" style="margin-top:-24px">
  32.       <ion-list>
  33.         <ion-item ng-repeat="location in locationList | filter:location track by $index" href="#/app/locations/{{location.id}}" ng-click="setLocation(location)" class="item-icon-right" ng-show="showLocations">
  34.           {{location.title}}
  35.           <i class="icon ion-chevron-right icon-accessory">
  36.                         <span class="badge badge-positive">{{location.count}}</span>
  37.                     </i>
  38.         </ion-item>
  39.       </ion-list>
  40.     </div>
  41.  
  42.   </ion-content>
  43. </ion-view>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement