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

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="EM" %>
<%@ Register Src="~/Template/GVPager.ascx" TagName="Pager" TagPrefix="UC" %>
<%@ Register Src="MailboxSize.ascx" TagName="MailboxSize" TagPrefix="UC" %>
<%@ Register Src="MailboxDatabaseSize.ascx" TagName="MailboxDatabaseSize" TagPrefix="UC" %>
<%@ Register Src="ServerVolumeSize.ascx" TagName="ServerVolumeSize" TagPrefix="UC" %>
<%@ Register Src="ServerCpuAndMemory.ascx" TagName="CpuAndMemoryStats" TagPrefix="UC" %>
<%@ Register Src="ServerServices.ascx" TagName="ServicesStats" TagPrefix="UC" %>
<%@ Register Src="EventLogs.ascx" TagName="WinEventLogs" TagPrefix="UC" %>
<%@ Register Src="MailFlowLogs.ascx" TagName="MailFlowLogs" TagPrefix="UC" %>

<asp:Button ID="Btn_RefreshTab" CssClass="RefreshTab" runat="server" Style="display: none;" />
<EM:TabContainer ID="TC_Monitoring" runat="server" OnClientActiveTabChanged="loadTabPanel" ActiveTabIndex="0">
    <EM:TabPanel ID="Tab_Storage" runat="server" HeaderText='<%$ Resources:Content,Storage%>'>
        <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="products-step">
                            <span id="div_MailboxSize" runat="server" nowrap="true" class="label label-success">
                                <asp:LinkButton ID="lb_MailboxSize" runat="server"
                                    Text='<%$ Resources:Content, MailboxSize %>' />
                            </span>
                            <span id="div_MailboxDatabaseSize" runat="server" nowrap="true" class="label label-default">
                                <asp:LinkButton ID="lb_MailboxDatabaseSize" runat="server"
                                    Text='<%$ Resources:Content, MailboxDatabaseSize %>' />
                            </span>
                            <span id="div_ServerVolumeSize" runat="server" nowrap="true" class="label label-default">
                                <asp:LinkButton ID="lb_ServerVolumeSize" runat="server"
                                    Text='<%$ Resources:Content, ServerVolumeSize %>' />
                            </span>
                        </div>
                    </div>
                </div>
                <asp:Panel ID="Pnl_MailboxSize" runat="server">
                    <UC:MailboxSize ID="UC_MailboxSize" runat="server" />
                </asp:Panel>

                <asp:Panel ID="Pnl_MailboxDatabaseSize" runat="server" Visible="false">
                    <UC:MailboxDatabaseSize ID="UC_MailboxDatabaseSize" runat="server" />
                </asp:Panel>
                <asp:Panel ID="Pnl_ServerVolumeSize" runat="server" Visible="false">
                    <UC:ServerVolumeSize ID="UC_ServerVolumeSize" runat="server" />
                </asp:Panel>
            </asp:Panel>
        </ContentTemplate>
    </EM:TabPanel>
    <EM:TabPanel ID="Tab_ServerHealth" runat="server" HeaderText='<%$ Resources:Content,ServerHealth%>'>
        <ContentTemplate>
            <asp:Button ID="Btn_Tab1" runat="server" Style="display: none" />
            <asp:Panel ID="Pnl_TabContent1" runat="server" Visible="false">
                <div class="row">
                    <div class="col-xs-12">
                        <div class="products-step">
                            <span id="div_CpuAndMemoryStats" runat="server" nowrap="true" class="label label-success">
                                <asp:LinkButton ID="lb_CpuAndMemoryStats" runat="server"
                                    Text='<%$ Resources:Content,CPUAndMemory %>' />
                            </span>
                            <span id="div_ServicesStats" runat="server" nowrap="true" class="label label-default">
                                <asp:LinkButton ID="lb_ServicesStats" runat="server"
                                    Text='<%$ Resources:Content,USM0189 %>' />
                            </span>
                             <span id="div_EventLogs" runat="server" nowrap="true" class="label label-default">
                                <asp:LinkButton ID="lb_ServerEventLogs" runat="server"
                                    Text='<%$ Resources:Content,EventLogs %>' />
                            </span>
                        </div>
                    </div>
                </div>
                <asp:Panel ID="Pnl_ServerCpuAndMemoryStats" runat="server">
                    <UC:CpuAndMemoryStats ID="UC_ServerCpuAndMemoryStats" runat="server" />
                </asp:Panel>
                <asp:Panel ID="Pnl_ServerServicesStats" runat="server">
                    <UC:ServicesStats ID="UC_ServerServicesStats" runat="server" />
                </asp:Panel>
                <asp:Panel ID="Pnl_ServerEventLogs" runat="server">
                    <UC:WinEventLogs ID="UC_ServerEventLogs" runat="server" />
                </asp:Panel>
            </asp:Panel>
        </ContentTemplate>
    </EM:TabPanel>
    <EM:TabPanel ID="Tab_MailFlow" runat="server" HeaderText='<%$ Resources:Content,MailFlow%>'>
        <ContentTemplate>
            <asp:Button ID="Btn_Tab2" runat="server" Style="display: none" />
            <asp:Panel ID="Pnl_TabContent2" runat="server" Visible="false">
                    <UC:MailFlowLogs ID="UC_MailFlowLogs" runat="server" />
            </asp:Panel>
        </ContentTemplate>
    </EM:TabPanel>
    <EM:TabPanel ID="Tab_Connectivity" runat="server" HeaderText='<%$ Resources:Content,Connectivity%>' Enabled="false">
        <ContentTemplate>
            <asp:Button ID="Btn_Tab3" runat="server" Style="display: none" />
            <asp:Panel ID="Pnl_TabContent3" runat="server" Visible="false">
            </asp:Panel>
        </ContentTemplate>
    </EM:TabPanel>
    <EM:TabPanel ID="Tab_DAG" runat="server" HeaderText='<%$ Resources:Content,DAG%>' Enabled="false">
        <ContentTemplate>
            <asp:Button ID="Btn_Tab4" runat="server" Style="display: none" />
            <asp:Panel ID="Pnl_TabContent4" runat="server" Visible="false">
            </asp:Panel>
        </ContentTemplate>
    </EM:TabPanel>
</EM:TabContainer>