<ion-view view-title="System">
  <ion-content class="padding-10">
    <div class="list action-form">
      <div class="item item-button-right">Synchronise app
        <button class="button button-positive ink" ng-click="systemctrl.synchronise()"><i class="icon ion-loop"></i></button>
      </div>
      <div class="item item-button-right">Synchronise session plans + Silhouette
        <div class="pull-right"></div>
        <button class="button button-positive ink" ng-click="systemctrl.syncSessions()"><i class="icon ion-loop"></i></button>
      </div>
      <div class="item item-button-right">
        <div ng-if="systemctrl.isBuyerEnable"> Synchronise operations / Buyer List</div>
        <div ng-if="!systemctrl.isBuyerEnable"> Synchronise operations</div>
        <div class="pull-right"></div>
        <button class="button button-positive ink" ng-click="systemctrl.syncOperations()"><i class="icon ion-loop"></i></button>
      </div>
      <div class="item item-button-right">Synchronise Images
        <div class="pull-right"></div>
        <button class="button button-positive ink" ng-click="systemctrl.syncImages()"><i class="icon ion-loop"></i></button>
      </div>
      <div class="item item-button-right">Synchronise User Accounts
        <div class="pull-right"></div>
        <button class="button button-positive ink" ng-click="systemctrl.syncUsers()"><i class="icon ion-loop"></i></button>
      </div>
      <div class="item item-button-right">Check Updates
        <div class="pull-right"></div>
        <button class="button button-positive ink" ng-click="systemctrl.checkUpdates()"><i class="icon ion-loop"></i></button>
      </div>
      <div class="item item-button-right">Disable App
        <div class="pull-right"></div>
        <button class="button button-large button-positive ink" ng-click="systemctrl.disable()"><i class="icon ion-log-out"></i></button>
      </div>
    </div>

  </ion-content>
</ion-view>
