<%@ page language="C#" autoeventwireup="true" inherits="sys_Teacher_Teacher_Edit, Web" %>

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta name="viewport" content="width=device-width, initial-scale=1" />
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>学校网上订餐预约系统</title>
    <link href="/control/plugin/bootstrap3/css/bootstrap.min.css" rel="stylesheet" />
    <script src="/control/js/jquery.js"></script>
    <script src="/control/plugin/bootstrap3/js/bootstrap.min.js"></script>
        <script src="/control/plugin/bootstrap-datepicker/js/bootstrap-datepicker.js"></script>
    <script src="/control/plugin/bootstrap-datepicker/js/locales/bootstrap-datepicker.zh-CN.js"></script>
        <link href="/control/plugin/bootstrap-datepicker/css/datepicker3.css" rel="stylesheet" />
    <style>
        .l {
            font-weight: initial;
        }
        .rd{
            color:red;
        }
    </style>
</head>
<body>
    <form id="from1" runat="server">
        <div class="form-group">
            <label class="control-label">
                姓名<span class='rd'>*</span>：
                <asp:RequiredFieldValidator ID="rfvt_name" runat="server" ForeColor="Red" ErrorMessage="请填写"
                    ControlToValidate="txtt_name"></asp:RequiredFieldValidator>
            </label>
            <asp:TextBox ID="txtt_name" runat="server" MaxLength="50" CssClass="form-control"></asp:TextBox>
        </div>
           <div class="form-group">
            <label class="control-label">
                性别<span class='rd'></span>：
            </label>
            <asp:DropDownList ID="ddlsex" runat="server" CssClass="form-control">
                <asp:ListItem Value="男">男</asp:ListItem>
                <asp:ListItem Value="女">女</asp:ListItem>
            </asp:DropDownList>
        </div>
       <%-- <div class="form-group">
            <label class=" control-label">
                用户名<span class='rd'>*</span>： 
                <asp:RequiredFieldValidator ID="rfvt_user" runat="server" ForeColor="Red"
                    Display="Dynamic" ErrorMessage="必填" ControlToValidate="txtt_user"></asp:RequiredFieldValidator>
                <asp:RegularExpressionValidator ID="revUser" runat="server" ErrorMessage="只允许数字字母@_." Display="Dynamic" ForeColor="Red" ControlToValidate="txtt_user" ValidationExpression="^[0-9a-zA-Z_@]{1,50}$"></asp:RegularExpressionValidator>

            </label>
            <div>
                <asp:TextBox ID="txtt_user" runat="server" MaxLength="50" CssClass="form-control"></asp:TextBox>
            </div>
        </div>

        <div class="form-group">
            <label class=" control-label">
                密码<span class='rd'>*</span>：
                  
            </label>
            <div>
                <asp:TextBox ID="txtt_pass" runat="server" MaxLength="20" CssClass="form-control" TextMode="Password"></asp:TextBox>
            </div>
        </div>

        <div class="form-group">
            <label class=" control-label">
                密码验证<span class='rd'>*</span>：
           <asp:CompareValidator ID="cvtxtt_pass2" ControlToValidate="txtt_pass2" ControlToCompare="txtt_pass" runat="server" ErrorMessage="两次密码输入不一致" ForeColor="Red"></asp:CompareValidator>
            </label>
            <div>
                <asp:TextBox ID="txtt_pass2" runat="server" MaxLength="20" CssClass="form-control" TextMode="Password"></asp:TextBox>
            </div>
        </div>
         <div class="form-group" style="display:none">
            <label class="control-label">
                职工号<span class='rd'></span>：
            </label>
            <asp:TextBox ID="txtt_jobNumber" runat="server" MaxLength="50" CssClass="form-control"></asp:TextBox>
        </div>--%>

        <div class="form-group">
            <label class="control-label">
                手机号<span class='rd'></span>：
            </label>
            <asp:TextBox ID="txtt_phone" runat="server" MaxLength="50" CssClass="form-control"></asp:TextBox>
        </div>

        <div class="form-group">
            <label class="control-label">
                所属部门：
            </label>
            <asp:DropDownList ID="ddlDept" runat="server" CssClass="form-control"></asp:DropDownList>
        </div>

        <div class="form-group">
            <asp:CheckBox ID="chkt_login" Text="禁止登录" runat="server" Checked="False" />
        </div>

<%--        <div class="form-group">
            <label class="control-label">
                备注：
            </label>
            <asp:TextBox ID="txtt_note" runat="server" MaxLength="255" TextMode="MultiLine" CssClass="form-control"></asp:TextBox>
        </div>--%>

        <div class="form-group">
            <asp:Button ID="btnSubmit" runat="server" Text="提交编辑"
                CssClass="btn  btn-primary btn-block"
                OnClick="btnSubmit_Click" />
        </div>

    </form>

    <script type="text/javascript">
        $(function () {
            window.parent.ShowDialog();
        });
    </script>
</body>
</html>
