<?php if (!defined('THINK_PATH')) exit(); /*a:1:{s:64:"F:\www\EduWork/./application/admin\view\arrange\teacherFree.html";i:1476682985;}*/ ?>

<div>
<form class="form-horizontal bv-for"  role="form"  id="teacherForm">
    <fieldset>
        <div class="form-group">
            <label class="col-sm-3 control-label">日期 ：从</label>
            <div class="col-sm-3"><input type="text" id="begintimeTeach" class="form-control" name="schedule_starttime" /></div>
            <label class="col-sm-1 control-label">到</label>
            <div class="col-sm-3"><input type="text" id="overtimeTeach" class="form-control" name="schedule_endtime" /></div>
         </div>
    </fieldset>
</form>
    <div>
        <table class="table table-hover" id="teacherTable">

        </table>
    </div>
</div>
<script>
    $('#begintimeTeach').datepicker({
        format : "yyyy-mm-dd",
        todayBtn : "linked",
        autoclose : true,
        todayHighlight : true,
        clearBtn : true,
        minView:'month'
    });
    $('#overtimeTeach').datepicker({
        format : "yyyy-mm-dd",
        todayBtn : "linked",
        startDate:$('#begintime').val(),
        autoclose : true,
        todayHighlight : true,
        clearBtn : true,
        minView:'month'
    });
    
</script>