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

<%@ Register Src="~/regsiter/RHead.ascx" TagPrefix="uc1" TagName="RHead" %>
<%@ Register Src="~/regsiter/RFooter.ascx" TagPrefix="uc1" TagName="RFooter" %>



<!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" />

    <link href="css/bootstrap.min.css" rel="stylesheet" />
    <script src="js/jquery.js"></script>
    <script src="js/bootstrap.min.js"></script>
    <!-- ionicons -->
    <link href="css/ionicons/ionicons.min.css" rel="stylesheet" />
    <!-- base -->
    <link href="css/base.css" rel="stylesheet" />
</head>
<body>
    <div class="wrapper">
       
        <uc1:RHead runat="server" ID="RHead" />
        <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">
                    <form id="from1" runat="server">
   
                            <div class="panel panel-default">
                                <div class="panel-body">
                                    <!-- Add.aspx -->
                                    <div class="form-group">
                                        <label class=" control-label">
                                            用户名<span class='rd'>*</span>：</label>
                                        <div>
                                            <asp:TextBox ID="txtt_user" runat="server" MaxLength="50" CssClass="form-control"></asp:TextBox>
                                        </div>
                                        <div>
                                            <asp:RequiredFieldValidator ID="rfvt_user" runat="server" ForeColor="Red" Display="Dynamic" ErrorMessage="请填写用户名" ControlToValidate="txtt_user"></asp:RequiredFieldValidator>
                                            <asp:RegularExpressionValidator ID="revtxtu_user" runat="server" ControlToValidate="txtt_user"
                                            ErrorMessage="最少5位（字母和数字@.组合）" ValidationExpression="^[\da-z@.]{5,}$"
                                            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="txtt_pass" runat="server" TextMode="Password" MaxLength="100" CssClass="form-control"></asp:TextBox>
                                        </div>
                                        <div>
                                            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ForeColor="Red" Display="Dynamic" ErrorMessage="请填写密码" ControlToValidate="txtt_pass"></asp:RequiredFieldValidator>
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class=" control-label">
                                            密码验证 <span class='rd'>*</span>：
                                        </label>
                                        <div>
                                            <asp:TextBox ID="txtt_pass2" runat="server" TextMode="Password" MaxLength="100" CssClass="form-control"></asp:TextBox>
                                        </div>
                                        <div>
                                            <asp:CompareValidator ID="cbpass" runat="server" ControlToValidate="txtt_pass2" ControlToCompare="txtt_pass" ErrorMessage="两次密码输入不一致" Display="Dynamic" ForeColor="Red"></asp:CompareValidator>
                                        </div>
                                    </div>

                                    <div class="form-group">
                                        <asp:Button ID="btnUpdate" runat="server" Text="保存密码修改" CssClass="btn btn-block btn-default btn-primary btn-lg" OnClick="btnUpdate_Click" />
                                    
                                  
                                                    
                                    
                                    </div>

                                </div>
                            </div>

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