<%@ page language="C#" autoeventwireup="true" inherits="Pages_TimeTable_TimeSetup, App_Web_gfuvrgrk" masterpagefile="~/Pages/Common/MasterPages/MainMasterPage_new.master" uiculture="auto" meta:resourcekey="PageResource1" enableEventValidation="false" viewStateEncryptionMode="Never" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxToolkit" %>
<%@ Register Src="~/UserControls/GridViewPager/GridViewPager.ascx" TagName="GridViewPager" TagPrefix="uc1" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<%@ Register Src="~/UserControls/Common/ScreenGroup/ScreenGroup.ascx" TagName="ScreenGroupControl" TagPrefix="ScreenGroup" %>
<%@ Register Src="~/UserControls/TimeTable/TimeTableSchemaDetailBoxControl.ascx" TagName="TimeTableSchemaControl" TagPrefix="TimeTableSchema" %>

<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="222"
                                                            Visible="true" runat="server" />
                                                    </div>
                                                </div>
                                            </td>
                                        </tr>
                                    </table>
                                </div>
                            </div>
                            <div class="whiteboxpaddingleft row">
                                <TimeTableSchema:TimeTableSchemaControl ID="TimeTableSchemaUserControl" runat="server" Visible="true" />
                                <div class="himssuHeader5WireBox card card-box">
                                    <div class="himsBoxHeader  card-head">
                                        
                                        <div class="himsBoxTitle">
                                            <div class="headerText">
                                                <i class="far fa-clock"></i>
                                                <asp:Label ID="Label1" runat="server" Text="Time Setup"></asp:Label>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="himsBoxContent card-body">
                                        <div class="contentHolder">
                                           
                                            <div class="outerBox pTop5 col-md-3">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="OrgLabel" runat="server" Text="Organization"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <asp:DropDownList runat="server" ID="OrgDropDownList" SkinID="CustomWidthDropDownList"
                                                        onmouseleave="showHideTooltip()" CssClass="form-control" onmouseenter="showHideTooltip()" OnSelectedIndexChanged="OrgDropDownList_SelectedIndexChanged"
                                                        AutoPostBack="true">
                                                    </asp:DropDownList>
                                                </div>
                                            </div>
                                            <div class="outerBox pTop5 col-md-3">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="TeacherLabel" runat="server" Text="Class"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <asp:DropDownList runat="server" ID="ClassDropDownList" SkinID="CustomWidthDropDownList"
                                                        onmouseleave="showHideTooltip()" CssClass="form-control" onmouseenter="showHideTooltip()"
                                                        AutoPostBack="true" OnSelectedIndexChanged="ClassDropDownList_SelectedIndexChanged">
                                                    </asp:DropDownList>
                                                </div>
                                            </div>
                                            <div class="outerBox pTop15 col-md-3">
                                                <asp:CheckBox ID="ApplyCheckBox" runat="server" Text="Apply All Classes"/>
                                            </div>
                                           
                                            <br />
                                            <div class="himssuHeader1WireBox">
                                                <div id="TimeTableDetailDiv" runat="server" visible="false">
                                                    <div class="himssuHeader7WireBox col-md-12">
                                                        
                                                        <div class="himsBoxContent table-responsive">
                                                            <asp:GridView ID="TimeSetupGridView" runat="server" AutoGenerateColumns="False"
                                                                DataKeyNames="DayId" EmptyDataText="No Records Found !!" AllowPaging="False" CssClass="table table-striped table-bordered"
                                                                OnRowDataBound="TimeSetupGridView_RowDataBound" ShowHeader="true">
                                                                <Columns>
                                                                    <asp:BoundField DataField="Day" HeaderText="Day" ItemStyle-Width="15%" HeaderStyle-HorizontalAlign="Left"></asp:BoundField>
                                                                    <asp:TemplateField ItemStyle-Width="5%" HeaderText="Period" ItemStyle-HorizontalAlign="center"
                                                                        ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Center">
                                                                        <ItemTemplate>
                                                                            <asp:TextBox ID="NoOfPeriodTextBox" runat="server" onkeypress="return isNumberKey(event)"
                                                                                Text='<%# Bind("NoOfPeriod") %>'></asp:TextBox>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                </Columns>
                                                                <PagerSettings Visible="False" />
                                                            </asp:GridView>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                       
                </div>
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>
     <%--<script data-main="../../JavaScript/rjs/encrypt/time-setup-encrypt" src="../../JavaScript/rjs/require.js"></script>--%>
    <script data-main='<%=ResolveUrl("~/JavaScript/rjs/time-setup")%>' src='<%=ResolveUrl("~/JavaScript/rjs/require.js")%>'></script>
</asp:Content>
