<%@ page language="C#" autoeventwireup="true" inherits="sysadmin_UserEditPass, App_Web_usereditpass.aspx.5f271b21" enableEventValidation="false" %>

<%@ Register Src="~/sadmin/NewFooter.ascx" TagPrefix="uc1" TagName="NewFooter" %>
<%@ Register Src="~/sadmin/NewHeader.ascx" TagPrefix="uc1" TagName="NewHeader" %>

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>网上预约系统</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <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>
    <link href="/control/webcss/sysadmin.css" rel="stylesheet" />

    <!-- ionicons -->
    <link href="/lib/ionicons/ionicons.min.css" rel="stylesheet" />
    <!-- Animate -->
    <link href="/lib/animate/animate.min.css" rel="stylesheet" />
    <!-- base -->
    <link href="/css/base.css" rel="stylesheet" />
    <!--[if lt IE 9]>
      <script src="/js/html5shiv.min.js"></script>
      <script src="/js/respond.min.js"></script>
    <![endif]-->
</head>
<body>
    <div class="wrapper">
        <uc1:NewHeader runat="server" ID="NewHeader" />
        <div class="container">
            <div class="row">
                <div class="col-lg-12">
                    <h3 class="page-header">密码修改 <small>用户密码修改</small></h3>
                </div>
            </div>
            <div class="row">
                <div class="col-lg-12">

                    <div class="panel panel-default">
                        <div class="panel-body">


                            <form id="from1" runat="server">
                                <!-- Add.aspx -->
                                <div class="form-group">
                                    <label class=" control-label">
                                        姓名<span class='rd'>*</span>：</label>
                                    <div>
                                        <asp:TextBox ID="txtu_name" runat="server" MaxLength="50" ReadOnly="true" CssClass="form-control"></asp:TextBox>
                                    </div>
                                    <div>
                                        <asp:RequiredFieldValidator ID="rfvu_name" runat="server" ForeColor="Red" Display="Dynamic" ErrorMessage="请填写姓名" ControlToValidate="txtu_name"></asp:RequiredFieldValidator>
                                    </div>
                                </div>

                                <div class="form-group">
                                    <label class=" control-label">
                                        用户名<span class='rd'>*</span>：</label>
                                    <div>
                                        <asp:TextBox ID="txtu_user" runat="server" MaxLength="50" ReadOnly="true" CssClass="form-control"></asp:TextBox>
                                    </div>
                                    <div>

                                       <asp:RequiredFieldValidator ID="rfvu_user" runat="server" ForeColor="Red" 
                                           Display="Dynamic" ErrorMessage="请填写用户名" 
                                           ControlToValidate="txtu_user">
                                       </asp:RequiredFieldValidator>

                                       <asp:RegularExpressionValidator ID="revtxtu_user" runat="server" ControlToValidate="txtu_user"
                                        ErrorMessage="最少6位（字母和数字@.组合）" ValidationExpression="^[\da-z@.]{6,}$"
                                        ForeColor="Red" Display="Dynamic">
                                       </asp:RegularExpressionValidator>
                                    
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class=" control-label">
                                        密码<span class='rd'>*</span>：</label>
                                    <div>
                                        <asp:TextBox ID="txtu_pass" runat="server" TextMode="Password" MaxLength="100" CssClass="form-control"></asp:TextBox>
                                    </div>
                                    <div>
                                        <asp:RequiredFieldValidator ID="rfvu_pass" runat="server" ForeColor="Red" Display="Dynamic" ErrorMessage="请填写密码" ControlToValidate="txtu_pass"></asp:RequiredFieldValidator>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class=" control-label">
                                        密码验证 <span class='rd'>*</span>：
                                    </label>
                                    <div>
                                        <asp:TextBox ID="txtu_pass2" runat="server" TextMode="Password" MaxLength="100" CssClass="form-control"></asp:TextBox>
                                    </div>
                                    <div>
                                        <asp:CompareValidator ID="cbpass" runat="server" ControlToValidate="txtu_pass2" ControlToCompare="txtu_pass" ErrorMessage="两次密码输入不一致" Display="Dynamic" ForeColor="Red"></asp:CompareValidator>
                                    </div>
                                </div>

                                <div class="form-group">

                                    <asp:Button ID="btnSubmit" runat="server" Text="保存密码编辑" CssClass="btn btn-block btn-default btn-primary btn-lg" OnClick="btnSubmiu_Click" />

                                </div>
                            </form>

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