<%@ page language="VB" masterpagefile="~/Page.master" autoeventwireup="false" inherits="WebExam.Web.secure_restNewPwd, App_Web_ork0kvpt" title="重置密码" %>
<%@ MasterType VirtualPath="~/Page.master" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentHead" Runat="Server">
   <link rel="stylesheet" href="../../style/selfreg.css" type="text/css" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="mainCopy" Runat="Server">
<script type="text/javascript" src="../../script/regvalid.js"></script>
<ul class="clear">
        <li class="clear">
            <p class="creat fleft clear">
                安全信息</p>
        </li>
        <li class="clear">
            <div class="name_list font_space fleft">
                用户名：</div>
            <div class="input_list font_space fleft">
                <asp:Label ID="L_userId" runat="server" class="name_aready"></asp:Label>
            </div>
            <div class="explain_list fleft">
                <span id="messageDiv" class="explain"></span>
            </div>
        </li>
        <li class="clear">
            <div class="compart">
            </div>
        </li>
        <li class="clear">
            <p class="creat fleft clear">
                重置密码</p>
        </li>

        <li class="clear">
            <div class="name_list font_space fleft">
                <span class="atten">*</span> 新密码：</div>
            <div class="input_list font_space fleft">
                <asp:TextBox ID="TB_password" runat="server" TextMode="Password" MaxLength="36" onblur="this.style.borderColor='#A3BFA8';checkPWD(this.value);"
                    onfocus="this.style.borderColor='#99E300';this.style.borderColor='#99E300'" onkeyup="checkPWD(this.value);"
                    Width="230px"></asp:TextBox>
                <div class="error_explain font_space" id="chkPwd">
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="请输入6～20位字符的密码"
                        ControlToValidate="TB_password" Display="Dynamic" ValidationGroup="g1"></asp:RequiredFieldValidator></div>
                <div class="PSW_P_0" id="chkpswd">
                    <div class="PSW_P_W">
                        密码安全程度：<span id="chkpswdcnt">太短</span></div>
                    <div class="PSW_P_BGC">
                        <div class="PSW_P_pC">
                        </div>
                    </div>
                </div>
            </div>
            <div class="explain_list fleft">
                <span class="explain">密码长度6～20位，由英文字母a～z (区分大小写)，数字0～9，特殊字符组成。</span></div>
        </li>
        <li class="clear">
            <div class="name_list font_space fleft">
                <span class="atten">*</span> 请再次输入密码：</div>
            <div class="input_list font_space fleft">
                <asp:TextBox ID="TB_password_cf" runat="server" TextMode="Password" MaxLength="36"
                    onblur="this.style.borderColor='#A3BFA8';" onfocus="this.style.borderColor='#99E300';"
                    Width="230px" ValidationGroup="g1"></asp:TextBox>
                <div class="error_explain font_space" id="pwdConfirm">
                    <asp:CompareValidator ID="CompareValidator1" runat="server" ErrorMessage="两次输入的密码不一致"
                        Display="Dynamic" ControlToCompare="TB_password" 
                        ControlToValidate="TB_password_cf" ValidationGroup="g1"></asp:CompareValidator>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ErrorMessage="两次输入的密码不一致"
                        ControlToValidate="TB_password_cf" Display="Dynamic" ValidationGroup="g1"></asp:RequiredFieldValidator>
                </div>
                <div>
                    <asp:Label ID="L_msg" runat="server" Visible="False" Font-Bold="True" ForeColor="Red"></asp:Label>
                </div>
            </div>
            
        </li>
        <li class="clear">
            <div class="font_space" style="text-align:center">
                <asp:Button ID="Btn_save" runat="server" Text="保存" Width="100" 
                    Style="margin-right: 100px" ValidationGroup="g1" />
            </div>
        </li>
    
    </ul>
</asp:Content>

