<ion-side-menus enable-menu-with-back-views="false">
|
|
<ion-side-menu-content>
|
|
<ion-nav-bar class="bar-calm">
|
|
<ion-nav-back-button>
|
|
</ion-nav-back-button>
|
|
|
|
<ion-nav-buttons side="left">
|
|
<button class="button button-icon button-clear ion-navicon" menu-toggle="left">
|
|
</button>
|
|
</ion-nav-buttons>
|
|
</ion-nav-bar>
|
|
<ion-nav-view name="menuContent"></ion-nav-view>
|
|
</ion-side-menu-content>
|
|
|
|
<ion-side-menu side="left">
|
|
<ion-header-bar class="bar-positive">
|
|
<h1 class="title">Menu</h1>
|
|
</ion-header-bar>
|
|
<ion-content>
|
|
<ion-list>
|
|
<ion-item menu-close ng-click="signup()" ng-show="!storageusername">
|
|
Signup
|
|
</ion-item>
|
|
<ion-item menu-close ng-click="login()" ng-show="!storageusername">
|
|
Login
|
|
</ion-item>
|
|
<ion-item menu-close href="#/app/travels">
|
|
<img class='o-imgMenu' src="img/road.png" />
|
|
Travels
|
|
</ion-item>
|
|
<ion-item menu-close href="#/app/users">
|
|
<img class='o-imgMenu' src="img/users.png" />
|
|
Users
|
|
</ion-item>
|
|
<ion-item menu-close href="#/app/search">
|
|
<img class='o-imgMenu' src="img/settings.png" />
|
|
Settings
|
|
</ion-item>
|
|
<ion-item menu-close ng-click="logout()" ng-show="storageusername">
|
|
Logout
|
|
</ion-item>
|
|
</ion-list>
|
|
</ion-content>
|
|
</ion-side-menu>
|
|
</ion-side-menus>
|