<%@ control language="VB" autoeventwireup="false" inherits="RCC_Voice_CC_Filters, MachSol.MachPanel.Web" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="EM" %>
<%@ Register Assembly="MachSol.MachPanel.Utility" Namespace="MachSol.MachPanel.Utility" TagPrefix="EM" %>
<%@ Register Src="~/Template/GVPager.ascx" TagName="Pager" TagPrefix="EM" %>

<asp:Panel ID="Pnl_Listing" runat="server">
    <%--GN0001188--%>
    <div class="row Div_OpsRow" id="Div_OpsRow" runat="server">
        <div class="col-xs-12">
            <div class="card">
                <div class="header">
                    <h3>
                        <%= Resources.Content.GN00001320%>      <%--Operations--%>                                                                                                                             
                    </h3>
                </div>
                <div class="body">
                    <asp:Button ID="Btn_AddFilter" runat="server" Text="<%$ Resources:Content,strAddFilter%>" class="btn btn-primary waves-effect btnAction" />
                </div>
            </div>
        </div>
    </div>

    <div class="row">
        <div class="col-sm-12">

            <asp:GridView CssClass="table table-bordered table-striped table-hover" AllowSorting="false" EmptyDataText="<%$ Resources:Content, GN00001375 %>"
                ID="GV_Filters" AllowPaging="false" runat="server" AutoGenerateColumns="false">

                <Columns>

                    <asp:TemplateField HeaderStyle-CssClass="col-xs-4" HeaderText="<%$ Resources:Content,Description%>">
                        <ItemTemplate>
                            <asp:Label ID="LB_Description" runat="server"></asp:Label>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="<%$ Resources:Content,GN0001300%>" HeaderStyle-CssClass="col-xs-2">
                        <ItemTemplate>
                            <asp:Label ID="LB_Priority" runat="server"></asp:Label>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="<%$ Resources:Content,strInbound%>" HeaderStyle-CssClass="col-xs-2">
                        <ItemTemplate>
                            <asp:Label ID="LB_Inbound" runat="server"></asp:Label>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="<%$ Resources:Content,strOutbound%>" HeaderStyle-CssClass="col-xs-2">
                        <ItemTemplate>
                            <asp:Label ID="LB_Outbound" runat="server"></asp:Label>
                        </ItemTemplate>
                    </asp:TemplateField>
                     <asp:TemplateField HeaderText="<%$ Resources:Content,USM0103%>" HeaderStyle-CssClass="col-xs-2">
                        <ItemTemplate>
                            <asp:Label ID="LB_Active" runat="server"></asp:Label>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="<%$ Resources:Content,GN0000360%>" HeaderStyle-CssClass="col-xs-3">
                        <ItemTemplate>
                            <asp:LinkButton ID="LB_Edit" CommandArgument='<%# DataBinder.Eval(Container.DataItem, "Id")%>' CommandName="Edit" CssClass="btn btn-primary waves-effect" runat="server" Text="<%$ Resources:Content,strEdit%>"></asp:LinkButton>
                            <asp:LinkButton ID="LB_Delete" CommandArgument='<%# DataBinder.Eval(Container.DataItem, "Id")%>' CommandName="Remove" CssClass="btn btn-primary waves-effect btnAction" runat="server" Text="<%$ Resources:Content,GN0000377%>"></asp:LinkButton>
                            <EM:ConfirmButtonExtender ID="CBE_RemoveSubscriber" runat="server" ConfirmText="<%$Resources:Content,strRemoveConfirmation%>"
                                TargetControlID="LB_Delete">
                            </EM:ConfirmButtonExtender>
                        </ItemTemplate>
                    </asp:TemplateField>
                </Columns>

            </asp:GridView>

        </div>
    </div>

</asp:Panel>

<asp:Panel ID="Pnl_AddFilter" runat="server" Visible="false">
    <div class="row">
        <div class="col-xs-12">
            <div class="card">
                <div class="header">
                    <h3>
                        <%= Resources.Content.strFilter%>                                                                                                                                   
                    </h3>
                </div>
                <div class="body">
                    <div class="row">
                        <div class="col-sm-2 col-xs-12 row-label">
                            *<asp:Literal ID="Literal3" runat="server" Text='<%$ Resources:Content,strFilterList %>' />:
                        </div>
                        <div class="col-sm-4 col-xs-12">
                            <div class="form-group">
                                <div class="form-line">
                                    <asp:DropDownList ID="DDL_FilterLists" runat="server"></asp:DropDownList>
                                </div>
                            </div>
                        </div>
                    </div>

                    <div class="row">
                        <div class="col-sm-2 col-xs-12 row-label">
                            <asp:Literal ID="Literal5" runat="server" Text='<%$ Resources:Content,strPriority %>' />:
                        </div>
                        <div class="col-sm-4 col-xs-12">
                            <div class="form-group">
                                <%--<div class="form-line">
                                    <asp:TextBox ID="TxBx_Priority" runat="server" ></asp:TextBox>
                                </div>--%>
                                <asp:DropDownList ID="ddl_Priority" runat="server"></asp:DropDownList>
                            </div>
                        </div>
                    </div>

                    <div class="row">
                        <div class="col-sm-2 col-xs-12 row-label">
                            <asp:Literal ID="Literal1" runat="server" Text='<%$ Resources:Content,strInbound%>' />:
                        </div>
                        <div class="col-sm-4 col-xs-12">
                            <div class="form-group">
                                <asp:CheckBox ID="ChBx_Inbound" runat="server" Text=" " />
                            </div>
                        </div>
                    </div>

                    <div class="row">
                        <div class="col-sm-2 col-xs-12 row-label">
                            <asp:Literal ID="Literal2" runat="server" Text='<%$ Resources:Content,strOutbound%>' />:
                        </div>
                        <div class="col-sm-4 col-xs-12">
                            <div class="form-group">
                                <asp:CheckBox ID="ChBx_Outbound" runat="server" Text=" " />
                            </div>
                        </div>
                    </div>

                     <div class="row">
                        <div class="col-sm-2 col-xs-12 row-label">
                            <asp:Literal ID="Literal4" runat="server" Text='<%$ Resources:Content,USM0103%>' />:
                        </div>
                        <div class="col-sm-4 col-xs-12">
                            <div class="form-group">
                                <asp:CheckBox ID="ChBx_Active" runat="server" Text=" " />
                            </div>
                        </div>
                    </div>

                    <div class="row">
                        <div class="col-xs-12">
                            <asp:ValidationSummary ID="ValidationSummary1" runat="server" ShowMessageBox="true" ShowSummary="false"
                                ValidationGroup="AddFilter" HeaderText="<%$ Resources:Content,EM000001%>" />
                            <asp:Button ID="Btn_Save" class="btn btn-primary waves-effect btnAction" ValidationGroup="AddFilter" CausesValidation="true" runat="server" Text='<%$ Resources:Content,GN0000281 %>' />
                            <asp:Button ID="Btn_Cancel" CausesValidation="false" runat="server" Text='<%$ Resources:Content,GN0000572 %>' class="btn btn-primary waves-effect" />
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>

</asp:Panel>


