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

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

<%@ Register Src="~/RCC/System/AccessControl/CC/IPRulesList.ascx" TagName="RulesList" TagPrefix="UC" %>
<%@ Register Src="~/RCC/System/AccessControl/CC/LoginLockdown.ascx" TagName="LoginLockdown" TagPrefix="UC" %>
<%@ Register Src="~/RCC/System/AccessControl/CC/SessionManagement.ascx" TagName="SessionManagement" TagPrefix="UC" %>

<asp:Content ID="Content5" ContentPlaceHolderID="CPH_Content" runat="Server">
    
   <div class="col-xs-12">
    <div class="card">
        <div class="body">
            <div class="row">
                <div class="col-xs-12">
                    <EM:TabContainer ID="TC_IPRules" runat="server" OnClientActiveTabChanged="loadTabPanel">

                        <EM:TabPanel ID="Tab_AllowedRules" runat="server" HeaderText="<%$Resources:Content,StrIPAllowList%>">
                            <ContentTemplate>
                                <asp:Button ID="Btn_Tab0" runat="server" Style="display: none" />
                                <asp:Panel ID="Panel_TabContent0" runat="server" Visible="true">
                                    <UC:RulesList ID="AllowedRules" runat="server" RuleType="Allowed"></UC:RulesList>
                                </asp:Panel>
                            </ContentTemplate>
                        </EM:TabPanel>

                        <EM:TabPanel ID="Tab_BlockedRules" runat="server" HeaderText="<%$Resources:Content,StrIPBlockList%>">
                            <ContentTemplate>
                                <asp:Button ID="Btn_Tab1" runat="server" Style="display: none" />
                                <asp:Panel ID="Panel_TabContent1" runat="server" Visible="false">
                                    <UC:RulesList ID="BlockedRules" runat="server" RuleType="Block"></UC:RulesList>
                                </asp:Panel>
                            </ContentTemplate>
                        </EM:TabPanel>

                        <EM:TabPanel ID="Tab_LoginLockdownPolicy" runat="server" HeaderText="Login Lockdown Policy">
                            <ContentTemplate>
                                <asp:Button ID="Btn_Tab2" runat="server" Style="display: none" />
                                <asp:Panel ID="Panel_TabContent2" runat="server" Visible="false">
                                    <UC:LoginLockdown ID="LoginLockdown1" runat="server" />
                                </asp:Panel>
                            </ContentTemplate>
                        </EM:TabPanel>

                         <EM:TabPanel ID="Tab_SessionManagement" runat="server" HeaderText="Session Management">
                            <ContentTemplate>
                                <asp:Button ID="Btn_Tab3" runat="server" Style="display: none" />
                                <asp:Panel ID="Panel_TabContent3" runat="server" Visible="false">
                                    <UC:SessionManagement ID="SessionMgt" runat="server" />
                                </asp:Panel>
                            </ContentTemplate>
                        </EM:TabPanel>

                    </EM:TabContainer>
                </div>
            </div>
        </div>
    </div>
</div>
</asp:Content>
