<%@ page title="" language="C#" masterpagefile="~/Pages/Common/MasterPages/MainMasterPage_new.master" autoeventwireup="true" inherits="Pages_InstituteManagement_ClassContentSetup, App_Web_adanf1gb" uiculture="auto" enableEventValidation="false" viewStateEncryptionMode="Never" %>

<%@ Register Src="~/UserControls/Common/ScreenGroup/ScreenGroup.ascx" TagName="ScreenGroupControl" TagPrefix="ScreenGroup" %>

<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
    <asp:UpdatePanel ID="OTQueueListingUpdatePanel" runat="server">
        <ContentTemplate>
            <div id="divContentPage" class="divcontentpagemargin">
                <div class="dashBoardLeftCont">
                    <div class="himssuHeader3WireBox">
                        <table>
                            <tr>
                                <td>
                                    <div class="himsBoxContent">
                                        <div class="leftUlMenu">
                                            <ScreenGroup:ScreenGroupControl EnableViewState="true" ID="ScreenGroupControl" ScreenGroupId="101"
                                                Visible="true" runat="server" />
                                        </div>
                                    </div>
                                </td>
                            </tr>
                        </table>
                    </div>
                </div>

                <div class="row whiteboxpaddingleft">
                    <div class="himssuHeader2WireBox">
                        <div class="contentHolder" style="padding-top: 0px; padding-left: 0px; padding-right: 0px">
                            <div class="himssuHeader1WireBox card card-box">
                                <div class="himsBoxHeader card-head">
                                    <div class="leftdiv">
                                    </div>
                                    <div class="himsBoxTitle">
                                        <div class="headerText">
                                            <header>
                                                <i class="fas fa-bookmark"></i>
                                                <asp:Label ID="Label1" runat="server" Text="Class Content Setup "></asp:Label>
                                            </header>
                                            <div class="pull-right col-md-6 display-flex">
                                                <asp:DropDownList ID="ApplyDropDownList" runat="server" CssClass="form-control mt-10"
                                                    onmouseleave="showHideTooltip()"
                                                    onmouseenter="showHideTooltip()" AutoPostBack="true" SkinID="CustomWidthDropDownList"
                                                    OnSelectedIndexChanged="ApplyDropDownList_SelectedIndexChanged">
                                                    <asp:ListItem Text="- Select -" Value="-1" Selected="True"></asp:ListItem>
                                                    <asp:ListItem Text="Medium" Value="1"></asp:ListItem>
                                                    <asp:ListItem Text="Affiliation" Value="2"></asp:ListItem>
                                                    <asp:ListItem Text="Stream" Value="3"></asp:ListItem>
                                                </asp:DropDownList>
                                                &nbsp;&nbsp;&nbsp;&nbsp;
                                                <asp:DropDownList runat="server" ID="GridMediumDropDownList" CssClass="form-control" onmouseleave="showHideTooltip()"
                                                    onmouseenter="showHideTooltip()" Visible="true">
                                                </asp:DropDownList>
                                                &nbsp;&nbsp;&nbsp;&nbsp;
                                                <asp:Button ID="ApplyAllButton" runat="server" SkinID="0" Text="Apply All" CssClass="btn btn-apply" class="form-control" OnClick="ApplyAllButton_Click" />
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div class="himsBoxContent card-body">
                                    <asp:Panel ID="DetailPanel" runat="Server">
                                        <div class="contentHolder">
                                            <div id="Div1" class="himssuHeader1WireBox col-md-12" runat="server">
                                                <div class="himsBoxContent">
                                                    <div id="Div4" runat="server" class="table-responsive">
                                                        <asp:GridView ID="ClassContentSetupGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                            EmptyDataText="No Records Found !!" CssClass="table table-striped table-bordered table-hover"
                                                            DataKeyNames="Id,ClassId,StreamId,AffiliationId,MediumId,ClassGroupId" AllowPaging="false" ShowHeader="true"
                                                            OnRowDataBound="ClassContentSetupGridView_RowDataBound">
                                                            <Columns>
                                                                <asp:TemplateField HeaderStyle-HorizontalAlign="Center">
                                                                    <HeaderTemplate>
                                                                        <label class="rt-chkbox rt-chkbox-outline">
                                                                            <asp:CheckBox ID="HeaderSelectCheckBox" runat="server" AutoPostBack="true" OnCheckedChanged="HeaderSelectCheckBox_CheckedChanged" />
                                                                            <span></span>
                                                                        </label>
                                                                    </HeaderTemplate>
                                                                    <ItemStyle HorizontalAlign="Center" Width="5%" />
                                                                    <ItemTemplate>
                                                                        <label class="rt-chkbox rt-chkbox-outline">
                                                                            <asp:CheckBox ID="SelectCheckBox" runat="server" AutoPostBack="true" OnCheckedChanged="SelectCheckBox_CheckedChanged" />
                                                                            <span></span>
                                                                        </label>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                                <asp:BoundField DataField="Class" HeaderText="Class" HeaderStyle-HorizontalAlign="Left" />
                                                                <asp:TemplateField HeaderText="Medium" ItemStyle-Wrap="true" ItemStyle-Width="20%" HeaderStyle-HorizontalAlign="Center">
                                                                    <ItemTemplate>
                                                                        <asp:DropDownList runat="server" ID="MediumDropDownList"
                                                                            CssClass="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" Enabled="false">
                                                                        </asp:DropDownList>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                                <asp:TemplateField HeaderText="Affiliation" ItemStyle-Wrap="true" ItemStyle-Width="20%" HeaderStyle-HorizontalAlign="Center">
                                                                    <ItemTemplate>
                                                                        <asp:DropDownList runat="server" ID="AffiliationDropDownList"
                                                                            CssClass="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" Enabled="false">
                                                                        </asp:DropDownList>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                                <asp:TemplateField HeaderText="Stream" ItemStyle-Wrap="true" ItemStyle-Width="20%" HeaderStyle-HorizontalAlign="Center">
                                                                    <ItemTemplate>
                                                                        <asp:DropDownList runat="server" ID="StreamDropDownList"
                                                                            CssClass="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" Enabled="false">
                                                                        </asp:DropDownList>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                                <asp:TemplateField HeaderText="Video Status" ItemStyle-Width="20%" HeaderStyle-HorizontalAlign="Left" Visible="false"
                                                                    ItemStyle-Wrap="true">
                                                                    <ItemTemplate>
                                                                        <asp:Label ID="VideoStatusLabel" runat="server" Text='Not Available' Width="100%"></asp:Label>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                            </Columns>
                                                            <PagerSettings Visible="False" />
                                                        </asp:GridView>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </asp:Panel>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="spacer">
                        <asp:Image ID="Image4" runat="server" ImageUrl="~/Images/spacer.gif" />
                    </div>
                </div>
            </div>

            <div class="spacer">
                <img src="../../Images/spacer.gif" />
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>
    <script data-main='<%=ResolveUrl("~/JavaScript/rjs/class-content-setup")%>' src='<%=ResolveUrl("~/JavaScript/rjs/require.js")%>'></script>
</asp:Content>
