<ion-modal-view>
  <ion-content scroll="false" class="login-page">

    <div class="login-header">
      <label class="toggle">
         <div style="position:absolute; top:-15px; left: 8px; font-weight: bold;">Bağlantı Türü</div>
         <input type="checkbox" ng-model="settings.connection4G" ng-change="changeServer()" ng-disabled="!license">
         <div class="track">
           <div class="handle"></div>
         </div>
         <span><i class="ion {{ settings.connection4G ? 'ion-connection-bars' : 'ion-wifi' }}"></i></span>
      </label>
      <button type="button" name="button" class="button button-dark" ng-click="settings()"><i class="ion ion-ios-settings-strong"></i> Ayarlar</button>
      <button type="button" name="button" class="button button-royal pull-right" ng-click="addLicense()" ng-if="!license"><i class="ion ion-key"></i> Lisans Gir</button>
      <button type="button" name="button" class="button button-assertive pull-right" ng-click="removeLicense()" ng-if="license"><i class="ion ion-key"></i> Lisans Sil</button>
    </div>

    <center><img src="img/logo.png" class="logo" alt=""></center>

    <form ng-submit="login()" disabled class="login">
      <input type="password" class="waiter-code" value="" ng-model="loginData.garsonKodu">

      <div class="numpad">
        <button type="button" name="button" class="button button-energized" ng-click="numpad(1)">1</button>
        <button type="button" name="button" class="button button-energized" ng-click="numpad(2)">2</button>
        <button type="button" name="button" class="button button-energized" ng-click="numpad(3)">3</button>
        <button type="button" name="button" class="button button-energized" ng-click="numpad(4)">4</button>
        <button type="button" name="button" class="button button-energized" ng-click="numpad(5)">5</button>
        <button type="button" name="button" class="button button-energized" ng-click="numpad(6)">6</button>
        <button type="button" name="button" class="button button-energized" ng-click="numpad(7)">7</button>
        <button type="button" name="button" class="button button-energized" ng-click="numpad(8)">8</button>
        <button type="button" name="button" class="button button-energized" ng-click="numpad(9)">9</button>
        <button type="button" name="button" class="button button-energized" ng-click="backspace()"><i class="ion ion-backspace"></i></button>
        <button type="button" name="button" class="button button-energized" ng-click="numpad(0)">0</button>
        <button type="button" name="button" class="button button-energized" ng-click="clear()">Sil</button>

        <div class="clear"></div>
        <button type="submit" name="button" class="loginButton button button-balanced" ng-disabled="!license">GİRİŞ</button>
        <div class="clear"></div>
      </div>
    </form>
  </ion-content>
</ion-modal-view>
