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

<%@ Register Assembly="MachSol.MachPanel.Utility" Namespace="MachSol.MachPanel.Utility"
    TagPrefix="EM" %>
<%@ Register Src="~/Template/GVPager.ascx" TagName="Pager" TagPrefix="EM" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="EM" %>
<%@ Register Assembly="System.Web.Extensions" Namespace="System.Web.UI" TagPrefix="asp" %>
<%@ Register Src="~/RCC/Clients/CC/OCS.ascx" TagName="OCS" TagPrefix="EM" %>
<%@ Register Src="~/RCC/OCS/CC/SIPDomain.ascx" TagName="SIPDomain" TagPrefix="EM" %>
<%@ Register Src="~/RCC/OCS/CC/UCLyncUser.ascx" TagName="UCLyncUser" TagPrefix="EM" %>
<%@ Register Src="~/RCC/OCS/CC/FedDomains_Hosted.ascx" TagName="FedDomainsHosted" TagPrefix="EM" %>
<%@ Register Src="~/RCC/OCS/CC/FedDomains_Online.ascx" TagName="FedDomainsOnline" TagPrefix="EM" %>
<%@ Register Src="~/RCC/OCS/CC/UCPhoneNumbers.ascx" TagName="UCPhoneNumbers" TagPrefix="EM" %>
<%@ Register Src="~/RCC/OCS/CC/PersistentChat.ascx" TagName="PersistentChat" TagPrefix="EM" %>
<%@ Register Src="~/RCC/Exchange/CC/GroupActions.ascx" TagName="GroupActions" TagPrefix="EM" %>
<%@ Register Src="~/RCC/OCS/CC/Retention.ascx" TagName="Retention" TagPrefix="EM" %>
<%@ Register Src="~/RCC/Exchange/CC/Contacts.ascx" TagName="Contacts" TagPrefix="EM" %>
<%@ Register Src="~/RCC/OCS/CC/MeetingRooms.ascx" TagName="MeetingRoom" TagPrefix="EM" %>
<%@ Register Assembly="System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" Namespace="System.Web.UI" TagPrefix="cc1" %>
<asp:Content ContentPlaceHolderID="CPH_Content" ID="Content4" runat="server">
    <!-- File upload does not work with Update Panel, 
        so update panel is commented out -->
    <%--<ajax:UpdatePanel ID="UP_LyncHosting" runat="server">
        <ContentTemplate>--%>
    <div class="col-xs-12">
        <div class="card">
            <div class="header">
                <h5>
                    <asp:Label ID="Lb_SubName" runat="server" Text="<%= Resources.Content.ROL026%>"></asp:Label>
                </h5>
            </div>
            <div class="body">
                <asp:Button ID="Btn_RefreshTab" CssClass="RefreshTab" runat="server" Style="display: none;" />
                <EM:TabContainer ID="TC_OCSAccounts" runat="server" OnClientActiveTabChanged="loadTabPanel">
                    <EM:TabPanel ID="Tab_GeneralSettings" runat="server" HeaderText='<%$ Resources:Content,GN0000578%>'>
                        <ContentTemplate>
                            <asp:Button ID="Btn_Tab0" runat="server" Style="display: none;" />
                            <asp:Panel ID="Pnl_TabContent0" runat="server">
                                <%-- #General Settings--%>
                                <EM:OCS ID="OCS" runat="server" />
                            </asp:Panel>
                        </ContentTemplate>
                    </EM:TabPanel>
                    <EM:TabPanel ID="Tab_Domains" runat="server" HeaderText='<%$ Resources:Content,String288%>'>
                        <ContentTemplate>
                            <asp:Button ID="Btn_Tab1" runat="server" Style="display: none;" />
                            <asp:Panel ID="Pnl_TabContent1" runat="server" Visible="false">
                                <EM:SIPDomain ID="SIPDomain1" runat="server" />
                            </asp:Panel>
                        </ContentTemplate>
                    </EM:TabPanel>
                    <EM:TabPanel ID="TabPanel_Users" runat="server" HeaderText='<%$ Resources:Content,GN0000636%>'>
                        <ContentTemplate>
                            <asp:Button ID="Btn_Tab2" runat="server" Style="display: none;" />
                            <asp:Panel ID="Pnl_TabContent2" runat="server" Visible="false">
                                <EM:UCLyncUser ID="UCLyncUser1" runat="server" />
                            </asp:Panel>
                        </ContentTemplate>
                    </EM:TabPanel>
                    <!-- Allowed/Blocked domains in case of Lync Hosted Packs 2010/2013 -->
                    <EM:TabPanel ID="Tab_AllowList" runat="server" HeaderText='<%$ Resources:Content,DEV1045%>'>
                        <ContentTemplate>
                            <asp:Button ID="Btn_Tab3" runat="server" Style="display: none;" />
                            <asp:Panel ID="Pnl_TabContent3" runat="server" Visible='false'>
                                <EM:FedDomainsHosted ID="FedDomainsHosted1" runat="server" />
                            </asp:Panel>
                        </ContentTemplate>
                    </EM:TabPanel>
                    <!-- Allowed/Blocked domains in case of Lync 2010/2013 -->
                    <EM:TabPanel ID="Tab_Federation" runat="server" HeaderText='<%$ Resources:Content,DEV1045%>'>
                        <ContentTemplate>
                            <%--<ajax:UpdatePanel ID="UP_Federation" runat="server">
                    <ContentTemplate>--%>
                            <asp:Button ID="Btn_Tab4" runat="server" Style="display: none;" />
                            <asp:Panel ID="Pnl_TabContent4" runat="server" Visible="false">
                                <EM:FedDomainsOnline ID="FedDomainsOnline1" runat="server" />
                            </asp:Panel>
                            <%--</ContentTemplate>
                </ajax:UpdatePanel>--%>
                        </ContentTemplate>
                    </EM:TabPanel>
                    <EM:TabPanel ID="Tab_PhoneNumbers" runat="server" HeaderText='<%$ Resources:Content,DEV1089%>'>
                        <ContentTemplate>
                            <asp:Button ID="Btn_Tab5" runat="server" Style="display: none;" />
                            <asp:Panel ID="Pnl_TabContent5" runat="server" Visible="false">
                                <EM:UCPhoneNumbers ID="UCPhoneNumber1" runat="server" />
                            </asp:Panel>
                        </ContentTemplate>
                    </EM:TabPanel>
                    <EM:TabPanel ID="Tab_Retention" runat="server" HeaderText='<%$ Resources:Content,Lync119%>'>
                        <ContentTemplate>
                            <%--<ajax:UpdatePanel ID="UP_Federation" runat="server">
                    <ContentTemplate>--%>
                            <asp:Button ID="Btn_Tab6" runat="server" Style="display: none;" />
                            <asp:Panel ID="Pnl_TabContent6" runat="server" Visible="false">
                                <div class="form-group btnAction" id="Div_Sync" runat="server" visible="false">
                                    <button type="button" data-toggle="modal" data-target="#importantNote" class="btn btn-primary waves-effect pull-right btnAction"><%= Resources.Content.MP0034%></button>
                                </div>
                                <EM:Retention ID="Retention1" runat="server" />
                            </asp:Panel>
                            <%--</ContentTemplate>
                </ajax:UpdatePanel>--%>
                        </ContentTemplate>
                    </EM:TabPanel>
                    <EM:TabPanel ID="Tab_PersistentChat" runat="server" HeaderText='<%$ Resources:Content,Lync016%>'>
                        <ContentTemplate>
                            <%--<ajax:UpdatePanel ID="UP_LyncHosting" runat="server">
                    <ContentTemplate>--%>
                            <asp:Button ID="Btn_Tab7" runat="server" Style="display: none;" />
                            <asp:Panel ID="Pnl_TabContent7" runat="server" Visible="false">
                                <EM:PersistentChat ID="PersistentChat1" runat="server" />
                            </asp:Panel>
                            <%--</ContentTemplate>
                </ajax:UpdatePanel>--%>
                        </ContentTemplate>
                    </EM:TabPanel>
                    <EM:TabPanel ID="Pnl_GroupActions" runat="server" HeaderText="<%$ Resources:Content,strGroupActionsLog%>">
                        <ContentTemplate>
                            <asp:Button ID="Btn_Tab8" runat="server" Style="display: none;" />
                            <asp:Panel ID="Pnl_TabContent8" runat="server" Visible="false">

                                <EM:GroupActions ID="GroupActions1" runat="server" />

                            </asp:Panel>
                        </ContentTemplate>
                    </EM:TabPanel>
                    <EM:TabPanel ID="Pnl_Contacts" runat="server" HeaderText="<%$ Resources:Content,DGN1110415%>">
                        <ContentTemplate>
                            <asp:Button ID="Btn_Tab9" runat="server" Style="display: none;" />
                            <asp:Panel ID="Pnl_TabContent9" runat="server" Visible="false">
                                <EM:Contacts ID="Contacts1" runat="server" />
                            </asp:Panel>
                        </ContentTemplate>
                    </EM:TabPanel>
                    <EM:TabPanel ID="Tab_CSMeetingRoom" runat="server" HeaderText="<%$ Resources:Content,MeetingRooms%>">
                        <ContentTemplate>
                            <asp:Button ID="Btn_Tab10" runat="server" Style="display: none;" />
                            <asp:Panel ID="Pnl_TabContent10" runat="server" Visible="false">
                                <EM:MeetingRoom ID="MeetingRoom1" runat="server" />
                            </asp:Panel>
                        </ContentTemplate>
                    </EM:TabPanel>
                </EM:TabContainer>
            </div>
        </div>
    </div>

    <%--</ContentTemplate>
    </ajax:UpdatePanel>--%>
    <div class="modal fade" id='importantNote' role="dialog">
        <div class="modal-dialog">
            <!-- Modal content-->
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal">&times;</button>
                    <div class="PopupHeading pull-left"><%= Resources.Content.ImportantNote %></div>
                </div>
                <div class="modal-body">
                    <div class="col-sm-12">
                        <p><%= Resources.Content.SyncRGSNote%></p>
                        <ul class="list-style-auto">
                            <li><%= Resources.Content.Lync119%></li>
                            <li><%= Resources.Content.Lync101%></li>
                            <li><%= Resources.Content.Lync102%></li>
                            <li><%= Resources.Content.Lync259%></li>
                            <li><%= Resources.Content.HolidaySets%></li>
                        </ul>
                        <p><%= Resources.Content.DGN1119974%>?</p>
                    </div>
                </div>
                <div class="modal-footer">
                    <div class="col-xs-12">
                        <asp:Button ID="Btn_Ok" runat="server" OnClick="Btn_Ok_Click" Text='<%$Resources:Content,GN0000858%>' CssClass="btn btn-primary waves-effect"></asp:Button>
                        <asp:Button ID="Btn_Pop_Cancel" runat="server" Text='<%$Resources:Content,Cancel%>' CssClass="btn btn-primary waves-effect" data-dismiss="modal" />
                    </div>
                </div>
            </div>

        </div>
    </div>
</asp:Content>
