<%@ Page Title="" Language="C#" MasterPageFile="~/SiteMaster.Master" AutoEventWireup="true" CodeBehind="AvailabilityPage.aspx.cs" Inherits="MKInsight.Online.ActionTracking.Methodology.AvailabilityPage" %>

<%@ Register Src="../UIControls/Methodology/AvailabilityGrid.ascx" TagName="AvailabilityGrid" TagPrefix="uc1" %>
<%@ Register Src="~/UIControls/Header.ascx" TagPrefix="uc1" TagName="Header" %>
<%@ Register Src="~/UIControls/MessageBox.ascx" TagPrefix="uc1" TagName="MessageBox" %>


<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <script type="text/javascript"   src="../scripts/jquery/jquery_min.js"></script>
    <script type="text/javascript"   src="../scripts/jquery/jquery.box-min.js"></script>
    <link rel="stylesheet" type="text/css" href="../scripts/jquery/jqbox.css" />
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="c_M" runat="server">
    <uc1:Header runat="server" ID="u_H" />
    <div style="height: 5px;"></div>
    <uc1:MessageBox runat="server" ID="u_M" />
    <asp:Panel ID="tbP" runat="server" CssClass="w-bar">

        <asp:LinkButton runat="server" ID="tbl_TemplateDesign" CssClass="w-button" Style="background: url(../images/design32.png); " PostBackUrl="~/Methodology/RecConfigEditorPage.aspx">
            <asp:Label ID="tbl_TemplateDesignLabel" runat="server"></asp:Label>
        </asp:LinkButton>

        <asp:LinkButton runat="server" ID="tbl_Availability" CssClass="w-button" Style="background: url(../images/user32.png); " PostBackUrl="~/Methodology/AvailabilityPage.aspx">
            <asp:Label ID="tbl_AvailabilityLabel" runat="server"></asp:Label>
        </asp:LinkButton>

    </asp:Panel>

    <asp:Panel ID="tb_Actions" runat="server" CssClass="w-bar">

        <asp:LinkButton runat="server" ID="tbl_Override" CssClass="w-button" Style="background: url(../images/plus32.png); " OnClientClick="$.colorbox({ transition: 'none', width: '95%', height: '95%', iframe: true,href:'NewAvailabilityOverride.aspx' }); return false;">
            <asp:Label ID="tbl_OverrideLabel" runat="server"></asp:Label>
        </asp:LinkButton>

        <asp:LinkButton runat="server" ID="tbl_Delete" CssClass="w-button" Style="background: url(../images/delete32.png); " OnClick="OnDelete">
            <asp:Label ID="tbl_DeleteLabel" runat="server"></asp:Label>

        </asp:LinkButton>

    </asp:Panel>
    <table>
        <tr>
            <td style="vertical-align:top;">
                <table class="FlagTable">
                    <tr>
                        <td>
                            <asp:TreeView ID="tree" runat="server" ShowCheckBoxes="All" OnSelectedNodeChanged="OnTreeNodeChanged"></asp:TreeView>
                        </td>
                    </tr>
                </table>

            </td>
            <td style="vertical-align:top;">
                <uc1:AvailabilityGrid ID="u_Av" runat="server" />
                <hr class="ee" />
                <asp:Button ID="btn_OK" runat="server" OnClick="OnSave" />
            </td>

        </tr>

    </table>

</asp:Content>
