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.

67 lines
3.0 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
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-side-menus enable-menu-with-back-views="false">
  2. <ion-side-menu-content>
  3. <ion-nav-bar class="bar o_text_purple500" ng-show="storageuser">
  4. <ion-nav-back-button class="o_text_purple500">
  5. </ion-nav-back-button>
  6. <ion-nav-buttons side="left">
  7. <button class="button button-icon button-clear ion-navicon o_text_purple500" menu-toggle="left">
  8. </button>
  9. </ion-nav-buttons>
  10. </ion-nav-bar>
  11. <ion-nav-view name="menuContent"></ion-nav-view>
  12. <!-- menu footer -->
  13. <div class="tabs tabs-icon-left" style="position:absolute;"
  14. ng-controller="FooterMenuCtrl" ng-show="storageuser">
  15. <a class="tab-item" ng-href="#/app/notifications">
  16. <i class="icon ion-android-notifications-none"></i> {{'Notifications' | translate }}
  17. </a>
  18. <a class="tab-item" ng-href="#/app/main">
  19. <i class="icon ion-home"></i> {{'Home' | translate }}
  20. </a>
  21. <a ng-href="#/app/newTravel" class="tab-item">
  22. <i class="icon ion-map"></i> {{'New_travel' | translate }}
  23. </a>
  24. </div>
  25. <!-- /menu footer -->
  26. </ion-side-menu-content>
  27. <ion-side-menu side="left" class="o_bSidenav">
  28. <ion-header-bar class="bar-stable o_bSidenav">
  29. <h1 class="title">{{'Menu' | translate }}</h1>
  30. </ion-header-bar>
  31. <ion-content>
  32. <ion-list>
  33. <a class="item item-icon-left o_bSidenav" menu-close ng-href="#/app/main">
  34. <i class="icon ion-home"></i> {{'Main' | translate }}
  35. </a>
  36. <a class="item item-icon-left o_bSidenav" menu-close ng-href="#/app/users/{{storageuser._id}}">
  37. <i class="icon ion-person"></i> {{storageuser.username}}
  38. </a>
  39. <a class="item item-icon-left o_bSidenav" menu-close ng-href="#/app/search">
  40. <i class="icon ion-search"></i> {{'Search' | translate }}
  41. </a>
  42. <a class="item item-icon-left o_bSidenav" menu-close ng-href="#/app/travels">
  43. <i class="icon ion-android-car"></i> {{'Travels_feed' | translate }}
  44. </a>
  45. <a class="item item-icon-left o_bSidenav" menu-close ng-href="#/app/users">
  46. <i class="icon ion-person-stalker"></i> {{'Users' | translate }}
  47. </a>
  48. <a class="item item-icon-left o_bSidenav" menu-close ng-href="#/app/notifications">
  49. <i class="icon ion-android-notifications-none"></i>
  50. {{'Notifications' | translate }}
  51. <span class="badge o_purple300">{{storageuser.notifications.length}}</span>
  52. </a>
  53. <a class="item item-icon-left o_bSidenav" menu-close ng-href="#/app/settings">
  54. <i class="icon ion-settings"></i> {{'Settings' | translate }}
  55. </a>
  56. <a class="item item-icon-left o_bSidenav" menu-close ng-href="#/app/help">
  57. <i class="icon ion-ios-help-outline"></i> {{'Help' | translate }}
  58. </a>
  59. <a class="item item-icon-left o_bSidenav" menu-close ng-click="logout()">
  60. <i class="icon ion-power"></i> {{'Logout' | translate }}
  61. </a>
  62. </ion-list>
  63. </ion-content>
  64. </ion-side-menu>
  65. </ion-side-menus>