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

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="EM" %>
<%@ Register Src="~/Template/GVPager.ascx" TagName="Pager" TagPrefix="EM" %>

<div class="row">
    <div class="col-xs-12">
        <asp:GridView ID="GV_ServiceQueue" AllowSorting="true" runat="server" CssClass="table table-bordered table-striped table-hover"
            AutoGenerateColumns="false" EmptyDataText="<%$ Resources:Content,GN00001375%>" DataKeyNames="PackageTypeID" AllowPaging="false">

            <Columns>

                <asp:TemplateField HeaderText='<%$ Resources:Content,String385%>' HeaderStyle-CssClass="col-xs-1" ItemStyle-CssClass="col-xs-1">
                    <ItemTemplate>

                        <asp:LinkButton ID="LB_Status" CommandName="Id" runat="server"></asp:LinkButton>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText='<%$ Resources:Content,DGN1110209%>' HeaderStyle-CssClass="col-xs-4">
                    <ItemTemplate>
                        <div id="Div_Command" runat="server">
                        </div>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField SortExpression="TimeStampEntered" HeaderText='<%$ Resources:Content,DGN1110210%>' HeaderStyle-CssClass="col-xs-2" ItemStyle-CssClass="col-xs-2">
                    <ItemTemplate>
                        <div id="Div_TimeCreated" runat="server">
                        </div>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField SortExpression="TriesCount" HeaderText="<%$ Resources:Content,GN0000813%>" HeaderStyle-CssClass="col-xs-1" ItemStyle-CssClass="col-xs-1">
                    <ItemTemplate>
                        <div id="Div_Tries" runat="server" innertext='<%#DataBinder.Eval(Container, "DataItem.TriesCount")%>'>
                        </div>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField SortExpression="LastTryTimeStamp" HeaderText="<%$ Resources:Content,DGN1110212%>" HeaderStyle-CssClass="col-xs-2">
                    <ItemTemplate>
                        <div id="Div_LastTry" runat="server">
                        </div>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="<%$ Resources:Content,GN0000275%>" HeaderStyle-CssClass="col-xs-2" ItemStyle-CssClass="col-xs-2">
                    <ItemTemplate>
                        <asp:LinkButton class="btn btn-primary waves-effect btnAction" ID="LB_Run" runat="server" Text='<%$ Resources:Content,DGN1110045%>'></asp:LinkButton><br />
                        <asp:LinkButton class="btn btn-primary waves-effect btnAction" ID="LB_ChangePassword" Visible="false" runat="server" Text='<%$ Resources:Content,M0087%>'></asp:LinkButton>
                    </ItemTemplate>
                </asp:TemplateField>
            </Columns>

        </asp:GridView>
    </div>

    <asp:Panel CssClass="col-xs-12" ID="Pnl_ChangePWD" runat="server" Visible="false" DefaultButton='Btn_OK'>

        <div class="card">
            <div class="header">
                <h3>
                    <asp:Literal ID="Ltl_ChngPassword" runat="server" Text='<%$Resources:Content, M0087 %>'></asp:Literal>
                </h3>
            </div>
            <div class="body">
                <div class="row">
                    <div class="col-sm-3 col-xs-12 row-label">
                        <label>*<asp:Literal ID="Literal9" runat="server" Text='<%$Resources:Content, DGN1110554 %>'></asp:Literal>:</label>
                    </div>
                    <div class="col-sm-4 col-xs-12">
                        <div class="form-group">
                            <div class="form-line">
                                <asp:TextBox ID="TxBx_Password" runat="server" TextMode="Password"></asp:TextBox>
                                <asp:RequiredFieldValidator ID="RFV_ConfirmPassword" runat="server" ControlToValidate="TxBx_Password"
                                    Display="none" SetFocusOnError="true" ValidationGroup="UPChangePass">
                                </asp:RequiredFieldValidator>
                            </div>
                        </div>
                    </div>
                    <div class="col-sm-5 col-xs-12">
                        <div id="Div_PasswordPolicy" runat="server" class="help-text sm"></div>
                    </div>
                </div>
                <div class="row">
                    <div class="col-sm-3 col-xs-12 row-label">
                        <label>*<asp:Literal ID="Literal1" runat="server" Text='<%$Resources:Content, GN0001196 %>'></asp:Literal>:</label>
                    </div>
                    <div class="col-sm-4 col-xs-12">
                        <div class="form-group">
                            <div class="form-line">
                                <asp:TextBox ID="TxBx_CPassword" runat="server" TextMode="Password">
                                </asp:TextBox>
                                <asp:RequiredFieldValidator ID="RFV_CPassword" runat="server" ControlToValidate="TxBx_CPassword"
                                    Display="none" SetFocusOnError="true" ValidationGroup="UPChangePass">
                                </asp:RequiredFieldValidator>
                            </div>
                        </div>
                        <asp:CompareValidator ID="CV" runat="server" ControlToValidate="TxBx_Password" ControlToCompare="TxBx_CPassword"
                            ValidationGroup="UPChangePass" Display="None" ErrorMessage='<%$Resources:Content, SPT002699 %>'></asp:CompareValidator>
                    </div>
                </div>
                <div class="row">
                    <div class="col-xs-12">
                        <asp:ValidationSummary ValidationGroup="UPChangePass" HeaderText='<%$ Resources:Content,EM000001 %>'
                            ID="VS" runat="server" ShowMessageBox="true" ShowSummary="false" />
                        <asp:Button ID="Btn_OK" runat="server" Text='<%$Resources:Content, GN0000858 %>' class="btn btn-primary waves-effect"
                            ValidationGroup="UPChangePass" CausesValidation="true"></asp:Button>
                        <asp:Button ID="Btn_Cancel" runat="server" Text='<%$Resources:Content, GN0000572 %>' class="btn btn-primary waves-effect"></asp:Button>
                    </div>
                </div>
            </div>
        </div>
    </asp:Panel>

    <asp:Panel CssClass="col-xs-12" ID="Pnl_QLogs" Visible="false" runat="server">
        <asp:GridView ID="GV_QLogs" runat="server" CssClass="table table-bordered table-striped table-hover" AutoGenerateColumns="false"
            EmptyDataText="<%$ Resources:Content,GN00001375%>" AllowPaging="false">

            <Columns>
                <asp:TemplateField HeaderText='<%$ Resources:Content,Dev676%>' HeaderStyle-CssClass="col-xs-3" ItemStyle-CssClass="col-xs-3">
                    <ItemTemplate>
                        <asp:Label ID="Ltrl_date" runat="server" Text="<%$ Resources:Content,SMI0373%>" class="font-color-00D5FF" />
                        <asp:Label runat="server" ID="LblDate" ForeColor="#00D5FF"></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText='<%$ Resources:Content,Dev675%>' HeaderStyle-CssClass="col-xs-9" ItemStyle-CssClass="col-xs-9">
                    <ItemTemplate>
                        <div runat="server" id="AccordianMesg">
                        </div>
                    </ItemTemplate>
                </asp:TemplateField>
            </Columns>
            <%--PagerTemplate Start--%>
            <PagerTemplate>
                <EM:Pager ID="Pager1" runat="server" />
            </PagerTemplate>
            <%--PagerTemplate End--%>
        </asp:GridView>
        <br />
        <asp:Button class="btn btn-primary waves-effect" ID="BtnAccClose" runat="server" Text='<%$ Resources:Content,DGN1110542%>' />

    </asp:Panel>
</div>
