<%@ page language="VB" masterpagefile="~/Template/Master.master" autoeventwireup="false" inherits="RCC_Hostmatic_DNS, MachSol.MachPanel.Web" title="Untitled Page" %>

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

<asp:Content ID="Content5" ContentPlaceHolderID="CPH_Content" runat="Server">

    <div class="col-xs-12">
        <div class="card">
            <div class="header">
                <div class="displayInlineBlock">
                    <h2>
                        <asp:Literal ID="Ltl_SubsInfo" runat="server" /></h2>
                </div>
                <asp:LinkButton ID="Btn_GoBack" runat="server" Text="<%$ Resources:Content,String1045 %>" CausesValidation="false"
                     CssClass="btn btn-primary waves-effect pull-right m-t--4px" />
            </div>
            <div class="body">
                <div class="row">
                    <div class="col-xs-12">
                        <EM:TabContainer ID="TC_DNS" runat="server" OnClientActiveTabChanged="loadTabPanel">
                            <EM:TabPanel ID="Tab_Zones" runat="server" HeaderText="<%$ Resources:Content,L0084%>" Enabled="true">
                                <ContentTemplate>

                                    <asp:Button ID="Btn_Tab0" runat="server" Style="display: none;" />
                                    <asp:Panel ID="Pnl_TabContent0" runat="server" Visible="true">
                                        <div class="row">
                                            <div class="col-xs-12">
                                                <div class="card Div_OpsRow" id="Tbl_Operations" runat="server" visible="false">
                                                    <div class="header">
                                                        <h3><%= Resources.Content.GN00001320%></h3>
                                                    </div>
                                                    <div class="body">
                                                        <div class="row">
                                                            <div class="col-xs-12">
                                                                <asp:Button ID="Btn_AddNewZone" runat="server" class="btn btn-primary waves-effect btnAction" CausesValidation="false"
                                                                    Text='<%$ Resources:Content, SPT002114 %>' />
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                                <br />
                                                <div class="card">
                                                    <div class="body">
                                                        <div class="row">
                                                            <div class="col-xs-12">
                                                                <asp:GridView ID="GV_Zones" runat="server" AllowPaging="true" DataSourceID="" CssClass="table table-bordered table-striped table-hover"
                                                                    AutoGenerateColumns="false" EmptyDataText="<%$ Resources:Content,GN00001375%>">

                                                                    <Columns>
                                                                        <asp:TemplateField HeaderText="<%$ Resources:Content,L0085%>" HeaderStyle-CssClass="col-xs-9" ItemStyle-CssClass="col-xs-9">
                                                                            <ItemTemplate>
                                                                                <asp:LinkButton ID="LB_ZoneName" runat="server" CausesValidation="false" CommandName="ZoneName"></asp:LinkButton>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="<%$ Resources:Content,GN00001320%>" HeaderStyle-CssClass="col-xs-3" ItemStyle-CssClass="col-xs-3">
                                                                            <ItemTemplate>
                                                                                <asp:LinkButton ID="LB_Manage" runat="server" CssClass="btn btn-primary waves-effect" CommandName="Manage"
                                                                                    Text="<%$ Resources:Content,L0086%>" CausesValidation="false"></asp:LinkButton>
                                                                                <asp:LinkButton ID="LB_Remove" runat="server" CommandName="DNSRemove" CssClass="btn btn-primary waves-effect btnAction" Text='<%$ Resources:Content, GN0000278 %>' CausesValidation="false"></asp:LinkButton>
                                                                                <EM:ConfirmButtonExtender ID="CBE_Remove" runat="server" ConfirmText="<%$Resources:Content,CBE001%>"
                                                                                    TargetControlID="LB_Remove">
                                                                                </EM:ConfirmButtonExtender>
                                                                                <asp:LinkButton ID="LB_EnableDisable" runat="server" CommandName="EnableDisable" CssClass="btn btn-primary waves-effect btnAction" Text='<%$ Resources:Content, GN0000278 %>' CausesValidation="false"></asp:LinkButton>
                                                                                <EM:ConfirmButtonExtender ID="CBE_EnableDisable" runat="server" ConfirmText="<%$Resources:Content,CBE001%>"
                                                                                    TargetControlID="LB_EnableDisable">
                                                                                </EM:ConfirmButtonExtender>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                    </Columns>
                                                                    <%--PagerTemplate Start--%>

                                                                    <%--PagerTemplate End--%>
                                                                </asp:GridView>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </asp:Panel>
                                </ContentTemplate>
                            </EM:TabPanel>
                            <EM:TabPanel ID="Tab_ZoneDetail" runat="server" HeaderText="<%$ Resources:Content,L0087%>" Enabled="false">
                                <ContentTemplate>
                                    <%--<ajax:UpdatePanel ID="UP_ZoneDetails" runat="server">
                                <ContentTemplate>--%>
                                    <asp:Button ID="Btn_Tab1" runat="server" Style="display: none;" />
                                    <asp:Panel ID="Pnl_TabContent1" runat="server" Visible="false">
                                        <EM:DNS ID="DNS" runat="server" />
                                    </asp:Panel>
                                    <%--</ContentTemplate>
                            </ajax:UpdatePanel>  --%>
                                </ContentTemplate>
                            </EM:TabPanel>
                        </EM:TabContainer>
                    </div>
                </div>
            </div>
        </div>
    </div>
</asp:Content>
