<ion-modal-view>
    <ion-header-bar>
        <button class="button ion-chevron-left button-clear button-dark" ng-click="closeModalAutoChk()">&nbsp;返回</button>
        <h1 class="title">关于自动签到</h1>
    </ion-header-bar>
    <ion-content>
        <ul class="list">
            <li class="item item-divider"></li>
            <li class="item item-toggle" ng-if="usersetting.isallowauto">自动签到
                <label class="toggle">
                    <input type="checkbox" ng-change="saveIsAutoCheck('isautocheck', autocheck.isautocheck)" ng-model="autocheck.isautocheck">
                    <div class="track">
                        <div class="handle"></div>
                    </div>
                </label>
            </li>
            <li class="item" ng-if="!usersetting.isallowauto">
                <span>自动签到</span>
                <span class="item-note">管理员已关闭自动打卡功能</span>
            </li>
            <!--<div class="item item-divider"></div>-->
            <!--&lt;!&ndash;<div class="item item-divider dividertext item-text-wrap"> <label>上班前1小时~上班后1小时，如果在签到范围内，无需进入Linker，将自动上班签到</label></div>&ndash;&gt;-->
            <!--<li class="item item-toggle">上班提醒-->
            <!--<label class="toggle">-->
            <!--<input type="checkbox" ng-change="saveIsAutoCheck('isadvance', autocheck.checkin.isadvance)" ng-model="autocheck.checkin.isadvance">-->
            <!--<div class="track">-->
            <!--<div class="handle"></div>-->
            <!--</div>-->
            <!--</label>-->
            <!--</li>-->
            <!--<div class="item"  ng-click="showtime(1,autocheck.checkin.inadvance)">-->
            <!--<span>提醒时间</span>-->
            <!--<span class="item-note">上班前{{autocheck.checkin.inadvance}}分钟</span>-->
            <!--</div>-->

            <!--<div class="item item-divider"></div>-->
            <!--<li class="item item-toggle">下班提醒-->
            <!--<label class="toggle">-->
            <!--<input type="checkbox" ng-change="saveIsAutoCheck(2, autocheck.checkout.isdelay)" ng-model="autocheck.checkout.isdelay">-->
            <!--<div class="track">-->
            <!--<div class="handle"></div>-->
            <!--</div>-->
            <!--</label>-->
            <!--</li>-->
            <!--<div class="item"  ng-click="showtime(2,autocheck.checkout.indelay)">-->
            <!--<span>提醒时间</span>-->
            <!--<span class="item-note">下班后{{autocheck.checkout.indelay}}分钟</span>-->
            <!--</div>-->
        </ul>
    </ion-content>
</ion-modal-view>