<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="QuantifiedCol.ascx.cs"
    Inherits="MTCUN.UserCol.QuantifiedCol" %>
<%@ Register Src="Progress.ascx" TagName="Progress" TagPrefix="uc1" %>
<table style="border-collapse: separate; border-spacing: 0px">
    <tr runat="server" id="trLessons">
        <td>
            <div class="input-group" style="width: 250px; border-spacing: 0px;">
                <span class="input-group-addon"><asp:Label ID="labTei" runat="server">课时：</asp:Label></span>
                <asp:TextBox ID="tbxLessons" runat="server"></asp:TextBox>
            </div>
        </td>
        <td>
            <uc1:Progress ID="myCourseProgress" runat="server" Width="60px" />
        </td>
        <td>
            <label>
                <asp:CheckBox CssClass="btn btn-default" ID="cbxSyncClassLessons" runat="server" OnCheckedChanged="cbxSyncClassLessons_CheckedChanged"
                    Text="与班级总课时同步" />
            </label>
        </td>
    </tr>
    <tr runat="server" id="trValidDate" visible="false">
        <td colspan="2">
            <div class="input-group" style="width: 250px; border-spacing: 0px;">
                <span class="input-group-addon">课时有效期：</span>
                <asp:TextBox ID="tbxValidDate" runat="server"></asp:TextBox>
            </div>
        </td>
        <td>&nbsp;</td>
    </tr>
    <tr runat="server" id="trExpiryDate">
        <td colspan="2">
            <div class="input-group" style="width: 250px; border-spacing: 0px;">
                <span class="input-group-addon">到期：</span>
                <asp:TextBox ID="tbxExpiryDate" runat="server"></asp:TextBox>
                <span class="input-group-addon">
                    <asp:Label ID="labTip" runat="server" ForeColor="Red"></asp:Label></span>
            </div>
        </td>
        <td>
            <label>
                <asp:CheckBox CssClass="btn btn-default" ID="cbxSyncClassTime" runat="server" OnCheckedChanged="cbxSyncClassTime_CheckedChanged"
                    Text="与班级结束日期同步" AutoPostBack="True" />
            </label>
        </td>
    </tr>
    <tr runat="server" id="trMaxLessons">
        <td colspan="2">
            <div class="input-group" style="width: 250px; border-spacing: 0px;">
                <span class="input-group-addon">最大课时数：</span>
                <asp:TextBox ID="tbxMaxLessons" runat="server"></asp:TextBox>
            </div>
        </td>
        <td>&nbsp;</td>
    </tr>
</table>
