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.

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