<%@ page language="C#" autoeventwireup="true" inherits="user_Employee_Employee_Edit, ALL" enableEventValidation="false" %>

<%@ Register Src="~/user/phone/MyHeader.ascx" TagPrefix="uc1" TagName="MyHeader" %>
<%@ Register Src="~/user/phone/MyFooter.ascx" TagPrefix="uc1" TagName="MyFooter" %>

<!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>
    <link href="/user/phone/css/style.css?v=201723" rel="stylesheet" />

    <script src="/control/plugin/bootstrap3/js/bootstrap.min.js"></script>
    <script src="/control/plugin/bootstrap-select-1.12.2/js/bootstrap-select.js"></script>
    <link href="/control/plugin/bootstrap-select-1.12.2/dist/css/bootstrap-select.css" rel="stylesheet" />
    <script src="/control/plugin/bootstrap-select-1.12.2/js/i18n/defaults-zh_CN.js"></script>
</head>
<body>
    <uc1:MyHeader runat="server" ID="MyHeader" />
    <div class="  container-fluid ">
        <div class="row">
        <div class="col-xs-12  cont">
            <div class="panel panel-default">
                <div class="panel-heading">个人资料维护</div>
                <div class="panel-body">
                    <form id="from1" runat="server">
                        <!-- Add.aspx -->
                        <div class="form-group">
                            <label class=" control-label">
                                姓名<span class='rd'>*</span>：   
                        <asp:RequiredFieldValidator ID="rfvee_name" runat="server" ForeColor="Red" ErrorMessage="必填" ControlToValidate="txtee_name"></asp:RequiredFieldValidator></label>
                            <asp:TextBox ID="txtee_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:TextBox ID="txtjob" runat="server" MaxLength="50" CssClass="form-control"></asp:TextBox>
                        </div>

                        <div class="form-group">

                            <label class=" control-label">手机号码<span class='rd'>*</span>：<asp:RequiredFieldValidator ID="rfvee_phone" runat="server" ForeColor="Red" ErrorMessage="必填" ControlToValidate="txtee_phone"></asp:RequiredFieldValidator></label>
                            <asp:TextBox ID="txtee_phone" runat="server" MaxLength="50" CssClass="form-control"></asp:TextBox>

                        </div>

                        <div class="form-group">



                            <label class=" control-label">
                                电子邮箱<span class='rd'>*</span>：
                        <asp:RequiredFieldValidator ID="rfvEmail" runat="server" ForeColor="Red" ErrorMessage="必填" ControlToValidate="txtEmail"></asp:RequiredFieldValidator></label>
                            <asp:TextBox ID="txtEmail" runat="server" MaxLength="50" CssClass="form-control"></asp:TextBox>


                        </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="txtee_user"></asp:RequiredFieldValidator>
                        <asp:RegularExpressionValidator ID="revUser" runat="server" ErrorMessage="只允许数字字母@_." Display="Dynamic" ForeColor="Red" ControlToValidate="txtee_user" ValidationExpression="^[0-9a-zA-Z_@]{1,50}$"></asp:RegularExpressionValidator>
                    </label>
                    <div>
                        <asp:TextBox ID="txtee_user" runat="server" MaxLength="50" CssClass="form-control"></asp:TextBox>
                    </div>
                    <p class="help-block">用户名只允许数字字母@_.组成</p>
                </div>

                <div class="form-group">
                    <label class=" control-label">
                        密码：
                    </label>
                    <div>
                        <asp:TextBox ID="txtee_pass" runat="server" MaxLength="20" CssClass="form-control" TextMode="Password"></asp:TextBox>
                        <p class="help-block">如需修改密码，请重填密码,否则留空</p>
                    </div>
                </div>

                <div class="form-group">
                    <label class=" control-label">
                        密码验证<span class='rd'>*</span>：
           <asp:CompareValidator ID="cvtxtt_pass2" ControlToValidate="txtee_pass2" ControlToCompare="txtee_pass" runat="server" ErrorMessage="两次密码输入不一致" ForeColor="Red"></asp:CompareValidator>
                    </label>
                    <div>
                        <asp:TextBox ID="txtee_pass2" runat="server" MaxLength="20" CssClass="form-control" TextMode="Password"></asp:TextBox>
                    </div>
                    <p class="help-block">再次输入密码</p>
                </div>


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

    </div>
        </div>
    </div>
    <uc1:MyFooter runat="server" ID="MyFooter" />
</body>
</html>
