<%@ Page Language="c#" Inherits="WebApp.ChangePwd" CodeBehind="ChangePwd.aspx.cs" %>   
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <title>修改密码</title>
    <!--#include file = "../assets/head.htm" -->
</head>
<body class="no-skin">
    <div class="main-content-inner">
            <!-- #section:basics/content.breadcrumbs -->
            <div class="breadcrumbs" id="breadcrumbs">
                <script type="text/javascript">
                    try { ace.settings.check('breadcrumbs', 'fixed') } catch (e) { }
                </script>

  			    <ul class="breadcrumb">
					<li>
						<i class="ace-icon fa fa-home home-icon"></i>
						主页
					</li>
					<li class="active">修改密码</li>
				</ul><!-- /.breadcrumb -->

                <!-- /section:basics/content.searchbox -->
            </div>
            <!-- /section:basics/content.breadcrumbs -->


            <div class="page-content">
                <!-- PAGE CONTENT BEGINS -->
                <form id="frmChangePwd" method="post" runat="server">
                <div class="row form-horizontal">
                    <div class="col-xs-12">
                        <div class="form-group">
                            <label class="col-sm-3 control-label no-padding-right" for="txtSchoolName">用户名：</label>
                            <div class="col-sm-9">
                                <asp:Label ID="lblUser" runat="server"></asp:Label>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label no-padding-right" for="txtSchoolName">原密码：</label>
                            <div class="col-sm-9">
                                <asp:TextBox ID="txtOldPwd" runat="server" TextMode="Password"></asp:TextBox>
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="*" ControlToValidate="txtOldPwd" Display="Dynamic"></asp:RequiredFieldValidator>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label no-padding-right" for="txtSchoolName">新密码：</label>
                            <div class="col-sm-9">
                                <asp:TextBox ID="txtNewPwd" runat="server" TextMode="Password" onkeyup="changePwdRank(this);"></asp:TextBox>
                                <span id="PasswordCheck" style="position: relative; top: -5px; display: none; background-position: 0px 0px;
                                    background-image: url(images/password_check_bk.gif); width: 225px; background-repeat: no-repeat;
                                    height: 15px; overflow: hidden"></span>
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ErrorMessage="*"
                                    ControlToValidate="txtNewPwd" Display="Dynamic"></asp:RequiredFieldValidator>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label no-padding-right" for="txtSchoolName">确认密码：</label>
                            <div class="col-sm-9">
                                <asp:TextBox ID="txtConfirmPwd" runat="server" TextMode="Password"></asp:TextBox>
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ErrorMessage="*" ControlToValidate="txtConfirmPwd" Display="Dynamic"></asp:RequiredFieldValidator>
                            </div>
                        </div>
                    </div>
                </div>
                
                <div class="clearfix form-actions">
                     <div class="col-md-offset-3 col-md-9">
                        <asp:Button ID="btnSave" runat="server" Text="修改" OnClientClick="if (!CheckPassword()){return false;};" OnClick="btnSave_Click" CssClass="btn btn-sm btn-primary"></asp:Button>
                        <asp:Label ID="lblInfo" runat="server" ForeColor="Red"></asp:Label>
                     </div>
                </div>
             
                </form>
            </div>
            <!-- PAGE CONTENT ENDS -->

    </div>
</body>
</html>
