<%@ Page Title="" Language="C#" MasterPageFile="~/Application.Master" AutoEventWireup="true" CodeBehind="LoginChangePassword.aspx.cs" Inherits="ICDAS_3_0_Web_App.LoginChangePassword" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">

    <script type="text/javascript">

        function RediretToHomePage() {
            bootbox.alert('PASSWORD CHANGES SUCCESSFULLY, PLEASE RE LOGIN', function () {
                window.open('Login.aspx', '_self');
            });
        }

    </script>


</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <asp:UpdatePanel ID="upnlwzLoginChangePassword" UpdateMode="Always" runat="server">
        <ContentTemplate>
            <div class="row">
                <div class="col-md-12 col-sm-12 col-xs-12">
                    <div class="x_panel">
                        <div class="x_content">
                            <div class="x_title">
                                <h4>
                                    <asp:Label ID="lblFormTitle" runat="server"></asp:Label>Change Password</h4>
                                <div class="clearfix"></div>
                            </div>
                            <div class="row">
                                <div class="col-xs-12 col-sm-12 col-lg-6">
                                    <div class="input-group">
                                        <span class="input-group-addon">Login Name*&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>
                                        <asp:TextBox ID="txtLoginName" MaxLength="15" runat="server" CssClass="form-control" AutoCompleteType="Disabled" autocomplete="off"
                                            placeholder="Enter Login Name" ReadOnly="true" required />
                                    </div>
                                </div>
                                <div class="col-xs-12 col-sm-12 col-lg-2">
                                    (Max 15 Char)
                                </div>
                            </div>
                            <div class="row">
                                <div class="col-xs-12 col-sm-12 col-lg-6">
                                    <div class="input-group">
                                        <span class="input-group-addon">Password*&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>
                                        <asp:TextBox ID="txtLoginPassword" MaxLength="15" runat="server" CssClass="form-control" AutoCompleteType="Disabled" autocomplete="off"
                                            placeholder="Enter Login Password" TextMode="Password" required />
                                    </div>
                                </div>
                                <div class="col-xs-12 col-sm-12 col-lg-6">
                                    (min 8 Char, max 15 Char)(Password should be Aa-Zz,0-9)
                                </div>
                            </div>
                            <div class="row">
                                <div class="col-xs-12 col-sm-12 col-lg-6">
                                    <div class="input-group">
                                        <span class="input-group-addon">Enter New Password*&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>
                                        <asp:TextBox ID="txtNewPassword" MaxLength="15" runat="server" CssClass="form-control" AutoCompleteType="Disabled" autocomplete="off"
                                            placeholder="Enter New Password" TextMode="Password" required />
                                    </div>
                                </div>
                                <div class="col-xs-12 col-sm-12 col-lg-6">
                                    &nbsp;
                                </div>
                            </div>
                            <div class="row">
                                <div class="col-xs-12 col-sm-12 col-lg-6">
                                    <div class="input-group">
                                        <span class="input-group-addon">Enter Confirm Password*</span>
                                        <asp:TextBox ID="txtConfirmPassword" MaxLength="15" runat="server" CssClass="form-control" AutoCompleteType="Disabled" autocomplete="off"
                                            placeholder="Enter Confirm Password" TextMode="Password" required />
                                    </div>
                                </div>
                                <div class="col-xs-12 col-sm-12 col-lg-6">
                                    &nbsp;
                                </div>
                            </div>
                             <div class="text-center">
                                <asp:Button ID="btnSave" runat="server" Text="Change Pasword" OnClick="btnSave_Click" CssClass="btn btn-primary btn-sm" />
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>
</asp:Content>
