<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-buttons side="right">
        <button ng-class="{'online-icon':appctrl.isOnline ,'offline-icon':appctrl.isOffline}" class="button button-icon button-clear nf-mdi-toggle-radio-button-on
">
        </button>

    </ion-nav-buttons>
    </ion-nav-bar>
    <ion-nav-view name="fabContent" ng-show="showfab"></ion-nav-view>
    <ion-nav-view name="menuContent"></ion-nav-view>
  </ion-side-menu-content>

  <ion-side-menu side="left">
    <ion-header-bar class="bar-calm">
      <h1 class="title">{{ 'Menu' | translate }}</h1>
    </ion-header-bar>
    <ion-content>
      <ion-list>
        <ion-item class="ink" menu-close href="#/app/home">
          {{ 'Home' | translate }}
        </ion-item>
        <ion-item class="ink" menu-close ng-click="appctrl.goTo('config')">
          {{ 'Configurations' | translate }}
        </ion-item>
        <ion-item class="ink" menu-close ng-click="appctrl.goTo('linesettings')">
          {{ 'LineSettings' | translate }}
        </ion-item>
        <ion-item class="ink" menu-close ng-click="appctrl.goTo('operations')">
          {{ 'AddOperations' | translate }}
        </ion-item>
        <ion-item class="ink" menu-close href="#/app/system">
          {{ 'System' | translate }}
        </ion-item>
        <!--<ion-item class="ink" menu-close href="#/app/admin">-->
         <!--Admin-->
        <!--</ion-item>-->
        <ion-item class="ink" menu-close ng-click="appctrl.goTo('scoreboard_config')">
          {{ 'ScoreboardConfiguration' | translate }}
        </ion-item>
        <ion-item class="ink" menu-close ng-click="appctrl.goTo('add_plan_advance_behind_master_data')">
          {{ 'AddAdvance/BehindStyle' | translate }}
        </ion-item>
        <ion-item class="ink" menu-close ng-click="appctrl.goTo('summery')">
          {{ 'LineQualityReport' | translate }}
        </ion-item>
        <ion-item class="ink" menu-close ng-click="appctrl.logout()">
          {{ 'Logout' | translate }}
        </ion-item>
        <ion-item class="ink" menu-close ng-click="appctrl.lock()">
          {{ 'Lock' | translate }}
        </ion-item>
      </ion-list>
    </ion-content>
  </ion-side-menu>
</ion-side-menus>
