<%@ control language="VB" autoeventwireup="false" inherits="RCC_System_AccessControl_CC_LockedAccounts, MachSol.MachPanel.Web" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="EM" %>


<div class="row">
    <div class="col-xs-12">
        <div class="card">
            <div class="header">
                <h3>
                    <%= Resources.Content.LockedAccounts%>
                </h3>
            </div>
            <div class="body">

                <div class="row">
                    <div class="col-xs-12">
                        <div class="card">
                            <div class="header">
                                <h3>
                                    <%= Resources.Content.GN0000395%>
                                </h3>
                            </div>
                            <div class="row p-t-10">
                                <div class="col-xs-12">
                                    <div class="col-md-2 col-sm-4 col-xs-12">
                                        <div class="form-group form-float">
                                            <div class="form-line">
                                                <asp:TextBox ID="TxBx_SearchAccount" runat="server" CssClass="form-control"></asp:TextBox>
                                                <asp:Label ID="Lbl_SearchAccount" runat="server" Text="<%$ Resources:Content,GN0000836 %>" CssClass="form-label"></asp:Label>
                                            </div>
                                        </div>
                                    </div>

                                    <div class="col-md-2 col-sm-2 col-xs-12">
                                        <asp:Button ID="Btn_Search" CssClass="btn btn-primary waves-effect" runat="server" Text='<%$ Resources:Content,GN0000391 %>' />
                                        &nbsp;
                                                <asp:Button ID="Btn_Clear" CssClass="btn btn-primary waves-effect" runat="server" Text="<%$ Resources:Content, String289 %>" Visible="false" />
                                    </div>

                                </div>
                            </div>
                        </div>
                    </div>
                </div>

                <div class="row">
                    <div class="col-xs-12">
                        <asp:GridView ID="GV_Listing" runat="server" CssClass="table table-bordered table-striped table-hover" EmptyDataText="<%$Resources:Content,GN00001375%>"
                            AutoGenerateColumns="false">
                            <Columns>
                                <asp:TemplateField HeaderText='<%$ Resources:Content, GN0000836 %>' HeaderStyle-CssClass="col-xs-3" ItemStyle-CssClass="col-xs-3">
                                    <ItemTemplate>
                                        <asp:Label ID="Lbl_Account" runat="server"></asp:Label>
                                        <asp:HiddenField ID="HF_AccountId" runat="server" />
                                    </ItemTemplate>
                                </asp:TemplateField>
                                <asp:TemplateField HeaderText="<%$Resources:Content,String408%>" HeaderStyle-CssClass="col-xs-2" ItemStyle-CssClass="col-xs-2">
                                    <ItemTemplate>
                                        <asp:Label ID="Lbl_AccountType" runat="server"></asp:Label>
                                    </ItemTemplate>
                                </asp:TemplateField>
                                <asp:TemplateField HeaderText="<%$Resources:Content,LockoutTime%>" HeaderStyle-CssClass="col-xs-2" ItemStyle-CssClass="col-xs-2">
                                    <ItemTemplate>
                                        <asp:Label ID="Lbl_LockoutTimeInMins" runat="server"></asp:Label>
                                    </ItemTemplate>
                                </asp:TemplateField>
                                <asp:TemplateField HeaderText="<%$Resources:Content,SPT002376%>" HeaderStyle-CssClass="col-xs-2" ItemStyle-CssClass="col-xs-2">
                                    <ItemTemplate>
                                        <asp:Label ID="Lbl_ClientIP" runat="server"></asp:Label>
                                    </ItemTemplate>
                                </asp:TemplateField>
                                <asp:TemplateField HeaderText="<%$Resources:Content,GN0000360%>" HeaderStyle-CssClass="col-xs-2" ItemStyle-CssClass="col-xs-2">
                                    <ItemTemplate>
                                        <asp:LinkButton ID="Lb_Unlock" runat="server" CssClass="btn btn-primary waves-effect btnAction" Text="<%$Resources:Content,GN0000630%>"></asp:LinkButton>
                                        <EM:ConfirmButtonExtender TargetControlID="Lb_Unlock" ID="CBE_Unlock" runat="server" ConfirmText="<%$Resources:Content,ConfirmUnlockAccount%>">
                                        </EM:ConfirmButtonExtender>
                                    </ItemTemplate>
                                </asp:TemplateField>
                            </Columns>
                        </asp:GridView>

                    </div>
                </div>

            </div>
        </div>
    </div>
</div>

