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.

53 lines
1.9 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/users/{{storageusername}}" ng-show="storageusername">
  34. <img class='o-imgMenu' ng-src="img/avatars/{{storageavatar}}.png" />
  35. {{storageusername}}
  36. </ion-item>
  37. <ion-item menu-close href="#/app/settings">
  38. <img class='o-imgMenu' src="img/settings.png" />
  39. {{'Settings' | translate }}
  40. </ion-item>
  41. <ion-item menu-close href="#/app/help">
  42. <img class='o-imgMenu' src="img/help.png" />
  43. {{'Help' | translate }}
  44. </ion-item>
  45. <ion-item menu-close ng-click="logout()" ng-show="storageusername">
  46. {{'Logout' | translate }}
  47. </ion-item>
  48. </ion-list>
  49. </ion-content>
  50. </ion-side-menu>
  51. </ion-side-menus>