jce-mobile-app/www/templates/menu.html

51 lines
1.3 KiB
HTML

<ion-side-menus enable-menu-with-back-views="false">
<ion-side-menu-content>
<ion-nav-bar class="bar-stable bar-assertive">
<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-stable bar-dark">
<h1 class="title">תפריט</h1>
</ion-header-bar>
<ion-content>
<ion-list >
<ion-item nav-clear menu-close ng-click="login()" ng-if="!isLoggedIn()">
התחבר
</ion-item>
<ion-item nav-clear menu-close href="#/app/home">
עמוד הבית
</ion-item>
<ion-item nav-clear menu-close href="#/app/playlists">
הודעות אגודת הסטודנטים
</ion-item>
<ion-item nav-clear menu-close href="#/app/jcenews" ng-if="isLoggedIn()">
הודעות
</ion-item>
<ion-item nav-clear menu-close href="#/app/grades" ng-if="isLoggedIn()">
גיליון ציונים
</ion-item>
<ion-item nav-clear menu-close href="#/app/playlists" ng-if="isLoggedIn()">
מערכת שעות
</ion-item>
<ion-item nav-clear menu-close ng-click="logout()" ng-if="isLoggedIn()">
התנתק
</ion-item>
</ion-list>
</ion-content>
</ion-side-menu>
</ion-side-menus>