<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="PortalBody.ascx.cs" Inherits="Zap.BI.Portal.Controls.UserControls.PortalBody" %>
<%@ Register Src="~/Controls/UserControls/Explorer/MultipaneView.ascx" TagPrefix="zap" TagName="MultipaneView" %>
<%@ Register Src="~/Controls/UserControls/ColorPicker/ColorSelector.ascx" TagPrefix="zap" TagName="ColorPicker" %>

<div runat="server" id="divRE" class="l-portalBody">

    <%-- NavPaneContainer, NavPaneResizeHandle and MultipaneViewContainer are jQuery marker classes. Style them by all means, but please don't
    rename them without updating PortalBody.js as well.  -andrewh 2/6/09--%>
    <div runat="server" id="navPane" class="l-navPane">

        <div runat="server" id="navPaneContainer" class="NavPaneContainer" style="width: 200px; vertical-align: top; overflow: hidden"></div>

        <div class="NavPaneResizeHandle">
            <div class="ExpandCollapse"></div>
        </div>

    </div>

    <div class="l-portalContent">

        <zapWeb:PortalTabStrip runat="server" ID="portalTabStrip" />

        <div class="l-portalPanes">
            <div id="resourceExplorer"></div>
            <div class="MultipaneViewContainer" runat="server" id="multipaneViewContainer">
                <div style="position: relative; height: 100%;">
                    <zap:MultipaneView runat="server" ID="multipaneView" />
                </div>
            </div>
            <zapWeb:ReactBootstrapControl NamespacedComponent="Zap.DesignBar" CssClass="designBarControl" runat="server" ID="designBar" />
        </div>
    </div>

    <div class="l-copilotContent">
        <zapWeb:ReactBootstrapControl NamespacedComponent="Zap.CopilotChatPanel" CssClass="copilotControl" runat="server" ID="copilotChat" />
    </div>

    <%-- Pretty much everything after this is slated for demolition after we have our own client-side controls for colour pickers.  -andrewh 17/3/10  --%>

    <zapWeb:ZapUpdatePanel runat="server" ID="globalBitsPanel">

        <ContentTemplate>
            <%--Global Color Picker popup--%>
            <zap:ColorPicker ID="ColorPickerPopup" runat="server" />
        </ContentTemplate>

    </zapWeb:ZapUpdatePanel>

</div>

