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.

80 lines
3.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
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>
  44. {{storageuser.username}}
  45. <i ng-show="storageuser.validated" class="ion-checkmark-circled ct_blue300"></i>
  46. </h2>
  47. <p>{{storageuser.description}}</p>
  48. </a>
  49. <a class="item item-icon-left o_bSidenav" menu-close ng-href="#/app/main">
  50. <i class="icon ion-home"></i> {{'Main' | translate }}
  51. </a>
  52. <a class="item item-icon-left o_bSidenav" menu-close ng-href="#/app/search">
  53. <i class="icon ion-search"></i> {{'Search' | translate }}
  54. </a>
  55. <a class="item item-icon-left o_bSidenav" menu-close ng-href="#/app/travels">
  56. <i class="icon ion-android-car"></i> {{'Travels_feed' | translate }}
  57. </a>
  58. <a class="item item-icon-left o_bSidenav" menu-close ng-href="#/app/users">
  59. <i class="icon ion-person-stalker"></i> {{'Users' | translate }}
  60. </a>
  61. <!--<a class="item item-icon-left o_bSidenav" menu-close ng-href="#/app/notifications">
  62. <i class="icon ion-android-notifications-none"></i>
  63. {{'Notifications' | translate }}
  64. <span class="badge o_purple300">{{storageuser.notifications.length}}</span>
  65. </a>-->
  66. <a class="item item-icon-left o_bSidenav" menu-close ng-href="#/app/settings">
  67. <i class="icon ion-settings"></i> {{'Settings' | translate }}
  68. </a>
  69. <a class="item item-icon-left o_bSidenav" menu-close ng-href="#/app/help">
  70. <i class="icon ion-ios-help-outline"></i> {{'Help' | translate }}
  71. </a>
  72. <a class="item item-icon-left o_bSidenav" menu-close ng-click="logout()">
  73. <i class="icon ion-power"></i> {{'Logout' | translate }}
  74. </a>
  75. </ion-list>
  76. </ion-content>
  77. </ion-side-menu>
  78. </ion-side-menus>