You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

39 lines
1.6 KiB

7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
  1. <ion-view view-title="{{'Search' | translate}}">
  2. <ion-content class="has-footer">
  3. <div class="list">
  4. <div class="item item-input">
  5. <i class="icon ion-search placeholder-icon"></i>
  6. <input type="search" placeholder="{{'search' | translate}}..." ng-model="search.word">
  7. <a class="button button-small o_purple300" ng-click="doSearch()"><i class="icon ion-search"></i></a>
  8. </div>
  9. <div class="item item-divider o_purple300" ng-show="travels[0]">
  10. {{'Travels' | translate}}
  11. </div>
  12. <a ng-repeat="travel in travels | orderBy: 'date'"
  13. class="item item-icon-left" href="#/app/travels/{{travel._id}}">
  14. <i class="icon ion-android-car o_text_grey700"></i>
  15. <h2 class="o_text_grey800">{{travel.title}}</h2>
  16. <div class="item-note text-right">
  17. <div class="o_text_purple300">{{travel.date | date:"dd/MM"}}</div>
  18. <div class="o_text_purple300">{{travel.date | date:"HH:mm"}}h</div>
  19. </div>
  20. <p>
  21. {{travel.from.name}}
  22. </p>
  23. <p>
  24. {{travel.to.name}}
  25. </p>
  26. </a>
  27. <div class="item item-divider o_purple300" ng-show="users[0]">
  28. {{'Users' | translate}}
  29. </div>
  30. <a ng-repeat="user in users | orderBy: 'date'" class="item item-avatar" ng-href="#/app/users/{{user._id}}">
  31. <img ng-src="{{user.avatar}}">
  32. <h2 class="o_text_purple600">{{user.username}}</h2>
  33. <p>
  34. {{user.description}}
  35. </p>
  36. </a>
  37. </div>
  38. </ion-content>
  39. </ion-view>