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.

62 lines
2.7 KiB

8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
  1. <ion-side-menus enable-menu-with-back-views="false">
  2. <ion-side-menu-content>
  3. <ion-nav-bar class="bar-stable" ng-show="storageuser">
  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. <!-- menu footer -->
  13. <div class="tabs tabs-icon-left" ng-controller="FooterMenuCtrl" ng-show="storageuser">
  14. <a class="tab-item" ng-href="#/app/notifications">
  15. <i class="icon ion-android-notifications-none"></i> Notifications
  16. </a>
  17. <a class="tab-item" ng-href="#/app/main">
  18. <i class="icon ion-home"></i> Home
  19. </a>
  20. <a ng-href="#/app/newPublication" class="tab-item">
  21. <i class="icon ion-paper-airplane"></i> New publication
  22. </a>
  23. </div>
  24. <!-- /menu footer -->
  25. </ion-side-menu-content>
  26. <ion-side-menu side="left" class="o_bSidenav">
  27. <ion-header-bar class="bar-stable o_bSidenav">
  28. <h1 class="title o_fWhiteLight">{{'Menu' | translate }}</h1>
  29. </ion-header-bar>
  30. <ion-content>
  31. <ion-list>
  32. <a class="item item-icon-left o_bSidenav" menu-close href="#/app/main">
  33. <i class="icon ion-home"></i> {{'Main' | translate }}
  34. </a>
  35. <a class="item item-icon-left o_bSidenav" menu-close href="#/app/users/{{storageuser._id}}">
  36. <i class="icon ion-person"></i> {{storageuser.username}}
  37. </a>
  38. <a class="item item-icon-left o_bSidenav" menu-close href="#/app/travels">
  39. <i class="icon ion-android-car"></i> {{'Travels' | translate }}
  40. </a>
  41. <a class="item item-icon-left o_bSidenav" menu-close href="#/app/users">
  42. <i class="icon ion-person-stalker"></i> {{'Users' | translate }}
  43. </a>
  44. <a class="item item-icon-left o_bSidenav" menu-close href="#/app/notifications">
  45. <i class="icon ion-android-notifications-none"></i> {{'Notifications' | translate }}
  46. <span class="badge badge-positive">{{userdata.notifications.length}}</span>
  47. </a>
  48. <a class="item item-icon-left o_bSidenav" menu-close href="#/app/settings">
  49. <i class="icon ion-settings"></i> {{'Settings' | translate }}
  50. </a>
  51. <a class="item item-icon-left o_bSidenav" menu-close href="#/app/help">
  52. <i class="icon ion-ios-help-outline"></i> {{'Help' | translate }}
  53. </a>
  54. <a class="item item-icon-left o_bSidenav" menu-close ng-click="logout()">
  55. <i class="icon ion-power"></i> {{'Logout' | translate }}
  56. </a>
  57. </ion-list>
  58. </ion-content>
  59. </ion-side-menu>
  60. </ion-side-menus>