<%@ page language="C#" masterpagefile="~/MasterFile/TimeCheck.master" autoeventwireup="true" inherits="System_Settings_System_ResetPassword, App_Web_buswflca" %>

<asp:Content ID="Content1" ContentPlaceHolderID="BodyContentPH" runat="Server">

    <script src="../js/ResetPassword.js" type="text/javascript"></script>

    <div class="content-header">
        <h1 style="background-image: url('../dist/img/password-reset.png'); background-repeat: no-repeat; padding-left: 35px">
            <asp:Label ID="lbl_Header" runat="server"></asp:Label>
        </h1>
        <asp:SiteMapPath ID="site" runat="server" CssClass="breadcrumb">
            <NodeStyle CssClass="active" />
        </asp:SiteMapPath>
    </div>
    <div id="myModal" class="modal modal-default fade" role="dialog">
        <div class="modal-dialog" style="min-width: 85%">
            <!-- Modal content-->
            <div class="modal-content" style="margin-top: 60px">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" style="border-radius: 30px;">
                        &times;</button>
                    <h4 class="modal-title">
                        <asp:Label ID="lblResetPassword" runat="server" Text="Reset Password"></asp:Label>
                    </h4>

                </div>
                <div class="modal-body">
                    <iframe id="iframePopup" runat="server" scrolling="auto" width="100%" style="border-style: none"
                        height="600px"></iframe>
                </div>
            </div>
        </div>
    </div>
    <div class="content">
        <div class="inr-ftr">
            <div class="row">
                <div class="col-sm-6 col-xs-5">
                </div>
                <div class="col-sm-6 col-xs-7">
                    <div class="leave-manda">
                        <span>|</span> &nbsp;&nbsp;<asp:Label ID="lblMandatory" runat="server" Text="Mandatory" Style="color: black"></asp:Label>
                        (1 No.)
                    </div>
                </div>
            </div>
        </div>
        <div class="emp-filter">
            <div class="row">
                <div class="col-md-12">
                    <div class="form-horizontal">
                        <div class="row form-group">
                            <div class="col-md-3">
                                <asp:Label ID="lbl_EmpId" runat="server"></asp:Label>
                            </div>
                            <div class="col-md-3">
                                <div class="input-group input-group-sm">
                                    <asp:TextBox onpaste="return true" ID="txt_EmployeeId" runat="server" CssClass="form-control mandatory"
                                        onCut="return false" onDrop="return false" onkeypress="return chkMaxLen(event,this,15,MaxLength);"
                                        MaxLength="15" Style="width: 100%"></asp:TextBox>
                                    <span class="input-group-btn">
                                        <asp:LinkButton ID="btn_Search" data-toggle="modal" data-target="#myModal" CssClass="btn src-btn fa-search"
                                            runat="server" OnClientClick="return OpenWindowResetPassword('txt_EmployeeId');" />
                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txt_EmployeeId"
                                            SetFocusOnError="True" Display="Dynamic" ValidationGroup="ResetPass">*</asp:RequiredFieldValidator>
                                    </span>
                                </div>
                            </div>
                            <div class="col-md-3">
                            </div>

                        </div>
                        <div class="row">
                            <div class="col-md-3">
                            </div>
                            <div class="col-md-3">
                                <div class="pull-right-button">
                                    <asp:LinkButton ID="btn_Reset1" CssClass="btn clr-btn fa-refresh" runat="server"
                                        OnClick="btn_Reset1_Click" Style="margin-left: 0px" ValidationGroup="ResetPass" />
                                    <asp:ValidationSummary ID="ValSumVehicle" runat="server" ShowMessageBox="True" ShowSummary="False" ValidationGroup="ResetPass" />
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <script type="text/javascript">
        var MaxLength = "Maximum length is ";
        function MaxLengthh(maxLength) {
            MaxLength = maxLength;
        }
    </script>

</asp:Content>
