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.

58 lines
2.2 KiB

  1. <ion-side-menus enable-menu-with-back-views="false">
  2. <ion-side-menu-content>
  3. <ion-nav-bar class="bar-calm">
  4. <ion-nav-back-button>
  5. </ion-nav-back-button>
  6. <ion-nav-buttons side="left">
  7. <button class="button button-icon button-clear ion-navicon" menu-toggle="left">
  8. </button>
  9. </ion-nav-buttons>
  10. </ion-nav-bar>
  11. <ion-nav-view name="menuContent"></ion-nav-view>
  12. </ion-side-menu-content>
  13. <ion-side-menu side="left">
  14. <ion-header-bar class="bar-positive">
  15. <h1 class="title">{{'Menu' | translate }}</h1>
  16. </ion-header-bar>
  17. <ion-content>
  18. <ion-list>
  19. <ion-item menu-close ng-click="signup()" ng-show="!storageusername">
  20. {{'Signup' | translate }}
  21. </ion-item>
  22. <ion-item menu-close ng-click="login()" ng-show="!storageusername">
  23. {{'Login' | translate }}
  24. </ion-item>
  25. <ion-item menu-close href="#/app/travels">
  26. <img class='o-imgMenu' src="img/road.png" />
  27. {{'Travels' | translate }}
  28. </ion-item>
  29. <ion-item menu-close href="#/app/users">
  30. <img class='o-imgMenu' src="img/users.png" />
  31. {{'Users' | translate }}
  32. </ion-item>
  33. <ion-item menu-close href="#/app/notifications/{{storageusername}}" ng-show="storageusername">
  34. <img class='o-imgMenu' src="img/notification.png" />
  35. {{'Notifications' | translate }}
  36. <span class="badge badge-positive">{{userdata.notifications.length}}</span>
  37. </ion-item>
  38. <ion-item menu-close href="#/app/users/{{storageusername}}" ng-show="storageusername">
  39. <img class='o-imgMenu' ng-src="img/avatars/{{storageavatar}}.png" />
  40. {{storageusername}}
  41. </ion-item>
  42. <ion-item menu-close href="#/app/settings">
  43. <img class='o-imgMenu' src="img/settings.png" />
  44. {{'Settings' | translate }}
  45. </ion-item>
  46. <ion-item menu-close href="#/app/help">
  47. <img class='o-imgMenu' src="img/help.png" />
  48. {{'Help' | translate }}
  49. </ion-item>
  50. <ion-item menu-close ng-click="logout()" ng-show="storageusername">
  51. {{'Logout' | translate }}
  52. </ion-item>
  53. </ion-list>
  54. </ion-content>
  55. </ion-side-menu>
  56. </ion-side-menus>