<%@ page language="C#" masterpagefile="~/Pages/Common/MasterPages/MainMasterPage_new.master" autoeventwireup="true" inherits="Pages_Academic_AcademicAdmin, App_Web_grtmhu1y" enableEventValidation="false" viewStateEncryptionMode="Never" %>


<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<%@ Register Src="~/UserControls/GridViewPager/GridViewPager.ascx" TagName="GridViewPager"
    TagPrefix="uc1" %>
<%@ Register Src="~/UserControls/Common/ScreenGroup/ScreenGroup.ascx" TagName="ScreenGroupControl"
    TagPrefix="ScreenGroup" %>
<%@ Register Src="~/UserControls/DatePicker/DatePickerControl.ascx" TagName="DatePickerControl"
    TagPrefix="Date" %>
<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
    <asp:UpdatePanel ID="ResonMasterUpdatePanel" runat="server" UpdateMode="Always">
        <ContentTemplate>
            <div id="divContentPage" class="divcontentpagemargin">
                <!-- ContentPlaceHolder Box Starts -->

                <div class="dashBoardLeftCont" valign="top">
                    <div class="himssuHeader3WireBox">

                        <table width="0px" cellpadding="0" cellspacing="0">
                            <tr>
                                <td>
                                    <div class="himsBoxContent">
                                        <div class="leftUlMenu">
                                            <ScreenGroup:ScreenGroupControl EnableViewState="true" ID="ScreenGroupControl" ScreenGroupId="167"
                                                Visible="true" runat="server" />
                                        </div>
                                    </div>
                                </td>
                            </tr>
                        </table>
                    </div>
                </div>
                <div class="whiteboxpaddingleft row">
                    <!-- Sub Container2 Box Start -->
                    <div class="himssuHeader5WireBox card card-box" id="SearchDiv" runat="server">
                        <div class="himsBoxHeader card-head">
                            <asp:Panel ID="Panel6" runat="server">
                                <div class="himsBoxHeader card-head">
                                    <div class="leftdiv">
                                    </div>
                                    <div class="himsBoxTitle">
                                        <div class="headerText">
                                            <i class="far fa-trash-alt"></i>
                                            <asp:Label ID="Label4" runat="server" Text="Lesson Plan Delete"></asp:Label>
                                        </div>
                                    </div>
                                </div>
                            </asp:Panel>
                        </div>
                        <div class="himsBoxContent card-body">
                            <asp:Panel ID="DetailPanel" runat="Server">
                                <div class="contentHolder">
                                    <asp:Panel ID="SearchCriteriaPanel" runat="Server">
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="DepartmentLabel" runat="server" Text="Department"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:DropDownList runat="server" ID="DepartmentDropDownList" SkinID="CustomWidthDropDownList"
                                                    AutoPostBack="true" onmouseleave="showHideTooltip()" CssClass="form-control" onmouseenter="showHideTooltip()"
                                                    OnSelectedIndexChanged="DepartmentDropDownList_SelectedIndexChanged">
                                                </asp:DropDownList>
                                            </div>
                                        </div>

                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="SearchClassLabel" Text="Class" runat="server"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:DropDownList ID="SearchClassDropDownList" runat="server" onmouseleave="showHideTooltip()"
                                                    onmouseenter="showHideTooltip()" SkinID="CustomWidthDropDownList" CssClass="form-control" AutoPostBack="true"
                                                    OnSelectedIndexChanged="SearchClassDropDownList_SelectedIndexChanged">
                                                </asp:DropDownList>
                                                <asp:HiddenField runat="server" ID="ButtonIdHiddenField" />
                                            </div>
                                        </div>

                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="SearchDivisionLabel" Text="Division" runat="server"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:DropDownList ID="SearchDivisionDropDownList" runat="server" onmouseleave="showHideTooltip()"
                                                    onmouseenter="showHideTooltip()" SkinID="CustomWidthDropDownList" CssClass="form-control" AutoPostBack="true">
                                                </asp:DropDownList>
                                            </div>
                                        </div>

                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="SearchSubjectLabel" Text="Subject" runat="server"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:DropDownList ID="SearchSubjectDropDownList" runat="server" onmouseleave="showHideTooltip()"
                                                    onmouseenter="showHideTooltip()" SkinID="CustomWidthDropDownList" CssClass="form-control">
                                                </asp:DropDownList>
                                            </div>
                                        </div>

                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:HiddenField ID="EmployeeHiddenField" runat="server" />
                                                <asp:Label ID="EMPLOYEELabel" runat="server" Text="Employee Name"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:DropDownList ID="EmpDropDownList" runat="server" onmouseleave="showHideTooltip()"
                                                    onmouseenter="showHideTooltip()" SkinID="CustomWidthDropDownList" CssClass="form-control">
                                                </asp:DropDownList>
                                            </div>
                                        </div>
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="FromDateLabel" runat="server" Text="From Date"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <Date:DatePickerControl DisplayDatePicker="true" ID="FromDatePickerControl"
                                                    runat="server" Visible="true" />
                                            </div>
                                        </div>
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="ToDateLabel" runat="server" Text="To Date"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <Date:DatePickerControl DisplayDatePicker="true" ID="ToDatePickerControl"
                                                    runat="server" Visible="true" />
                                            </div>
                                        </div>
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="StatusLabel" Text="Status" runat="server"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:DropDownList ID="StatusDropDownList" runat="server" onmouseleave="showHideTooltip()"
                                                    onmouseenter="showHideTooltip()" SkinID="CustomWidthDropDownList" CssClass="form-control">
                                                    <asp:ListItem Text="- ALL -" Value="-1"></asp:ListItem>
                                                    <asp:ListItem Text="Completed" Value="True"></asp:ListItem>
                                                    <asp:ListItem Text="Not Completed" Value="False"></asp:ListItem>
                                                </asp:DropDownList>
                                            </div>
                                        </div>
                                        <%-- <div class="outerBox pTop15 col-md-3">
                                            <div class="fLeft pRight5">
                                                <asp:CheckBox ID="AllCheckBox" runat="server" Text="All" class="pLeft5" />
                                            </div>
                                        </div>--%>

                                        <div class="alignCenter pTop10 col-md-12">
                                            <asp:Button ID="SearchButton" Text="&#xf002; Search" runat="Server" OnClick="SearchButton_Click" SkinID="0" class="btn-search btn fas" />
                                            <asp:Button ID="DeleteButton" Text="&#xf2ed; Delete" runat="Server" OnClick="DeletelistButton_Click" SkinID="0" class="btn-delete btn fas" />
                                              <asp:HiddenField ID="LessonDeleteHiddenField" runat="server" />
                                             <asp:Button ID="ResetButton" runat="server" Text="&#xf0e2; Reset" OnClick="ResetButton_Click" SkinID="0" class="btn-reset btn fas" />
                                        </div>

                                    </asp:Panel>

                                    <div id="Div1" class="himssuHeader7WireBox col-md-12" runat="server" style="width: 99%; margin-right: 5px;">
                                        <div id="NewsDetailDiv" visible="false" runat="server">

                                            <div class="himsBoxHeader card-head inner" id="NewsDiv" visible="false" runat="server">
                                                <div class="leftdiv">
                                                </div>
                                                <div class="himsBoxTitle" style="width: 99%">
                                                    <div align="right" class="fRight" style="margin-top: -6px;">
                                                        <%-- <asp:Button ID="UpdateIsCompletedButton" runat="server" class="btn btn-save fas" Text="&#xf0c7; Save" SkinID="0" OnClick="UpdateIsCompletedButton_Click" />--%>
                                                    </div>
                                                </div>

                                            </div>
                                            <div class="himsBoxContent  table-responsive">
                                                <asp:UpdatePanel ID="MenuPlanDetailUpdatePanel" runat="server" UpdateMode="Always">
                                                    <ContentTemplate>
                                                        <div id="Div5" runat="server" visible="false">
                                                            <asp:GridView ID="LessonPlanGridView" runat="server" CssClass="table table-striped table-bordered table-hover" AutoGenerateColumns="False"
                                                                OnPageIndexChanging="LessonPlanGridView_PageIndexChanging" EmptyDataText="No records available for the seacrh criteria!"
                                                                SkinID="" ShowHeader="true" PagerSettings-Visible="false" DataKeyNames="Id,EmployeeId,ClassId">
                                                                <Columns>
                                                                    <asp:TemplateField ItemStyle-Width="5%" ItemStyle-HorizontalAlign="Left"
                                                                        ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                                        <HeaderTemplate>
                                                                            <label class="rt-chkbox rt-chkbox-outline">
                                                                                <asp:CheckBox ID="HeaderSelectCheckBox" runat="server" onclick="CheckAll(this);" />
                                                                                <span></span>
                                                                            </label>
                                                                        </HeaderTemplate>
                                                                        <ItemTemplate>
                                                                            <label class="rt-chkbox rt-chkbox-outline">
                                                                                <asp:CheckBox ID="SelectCheckBox" runat="server"></asp:CheckBox>
                                                                                <span></span>
                                                                            </label>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:BoundField DataField="EmployeeName" HeaderText="Employee Name" ItemStyle-Width="15%" HeaderStyle-HorizontalAlign="Left" />
                                                                    <asp:BoundField DataField="ClassDivisionName" HeaderText="Class" ItemStyle-Width="10%" HeaderStyle-HorizontalAlign="Left" />
                                                                    <asp:BoundField DataField="SubjectName" HeaderText="Subject" ItemStyle-Width="20%" HeaderStyle-HorizontalAlign="Left" />
                                                                    <asp:BoundField DataField="TopicName" HeaderText="Topic" ItemStyle-Width="20%" HeaderStyle-HorizontalAlign="Left" />
                                                                    <asp:TemplateField HeaderText="Start Date" ItemStyle-Width="10%" HeaderStyle-HorizontalAlign="Left" ItemStyle-Wrap="true">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="StartDate" runat="server" Text='<%# Bind("StartDate", "{0:dd/MM/yyyy}") %>'></asp:Label>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="End Date" ItemStyle-Width="10%" HeaderStyle-HorizontalAlign="Left" ItemStyle-Wrap="true">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="EndDate" runat="server" Text='<%# Bind("EndDate", "{0:dd/MM/yyyy}") %>'></asp:Label>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="Completed" ItemStyle-Width="10%" HeaderStyle-HorizontalAlign="Left" ItemStyle-Wrap="true">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="IsCompleted" runat="server" Text='<%# DataBinder.Eval(Container.DataItem,"IsCompleted").ToString().ToUpper()=="TRUE"?"Completed":"Not Completed" %>'></asp:Label>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                </Columns>
                                                            </asp:GridView>
                                                        </div>
                                                    </ContentTemplate>
                                                </asp:UpdatePanel>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </asp:Panel>
                              <div class="himssuHeader5WireBox" id="Div2" runat="server">
                        <div class="himsBoxHeader card-head">
                            <asp:Panel ID="TopicDetailPanel" runat="server">
                                <div class="himsBoxHeader card-head">
                                    <div class="leftdiv">
                                    </div>
                                    <div class="himsBoxTitle">
                                        <div class="headerText">
                                            <i class="far fa-trash-alt"></i>
                                            <asp:Label ID="Label1" runat="server" Text="Topic Delete"></asp:Label>
                                        </div>
                                    </div>
                                </div>
                            </asp:Panel>
                        </div>
                        <div class="himsBoxContent">
                            <asp:Panel ID="TopicPanel" runat="Server">
                                <div class="contentHolder">
                                    <asp:Panel ID="TopicDeletePanel" runat="Server">

                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="TopicClassLabel" Text="Class" runat="server"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:DropDownList ID="TopicClassDropDownList" runat="server" onmouseleave="showHideTooltip()"
                                                    onmouseenter="showHideTooltip()" SkinID="CustomWidthDropDownList" CssClass="form-control" AutoPostBack="true"
                                                    OnSelectedIndexChanged="TopicSearchClassDropDownList_SelectedIndexChanged">
                                                </asp:DropDownList>
                                                <asp:HiddenField runat="server" ID="HiddenField1" />
                                            </div>
                                        </div>



                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="TopicSubjectLabel" Text="Subject" runat="server"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:DropDownList ID="TopicSubjectDropDownList" runat="server" onmouseleave="showHideTooltip()"
                                                    onmouseenter="showHideTooltip()" SkinID="CustomWidthDropDownList" CssClass="form-control">
                                                </asp:DropDownList>
                                            </div>
                                        </div>



                                        <%-- <div class="outerBox pTop15 col-md-3">
                                            <div class="fLeft pRight5">
                                                <asp:CheckBox ID="AllCheckBox" runat="server" Text="All" class="pLeft5" />
                                            </div>
                                        </div>--%>

                                        <div class="alignCenter pTop10 col-md-12">
                                            <asp:Button ID="TopicSearchButton" Text="&#xf002; Search" runat="Server" OnClick="TopicSearchButton_Click" SkinID="0" class="btn-search btn fas" />
                                            <asp:Button ID="TopicDeleteButton" Text="&#xf2ed; Delete" runat="Server" OnClick="TopicDeletelistButton_Click" SkinID="0" class="btn-delete btn fas" />
                                             <asp:HiddenField ID="TopicDeleteHiddenField" runat="server" />
                                            <asp:Button ID="TopicResetButton" runat="server" Text="&#xf0e2; Reset" OnClick="TopicResetButton_Click" SkinID="0" class="btn-reset btn fas" />
                                        </div>

                                    </asp:Panel>

                                    <div id="Div3" class="himssuHeader7WireBox col-md-12" runat="server" style="width: 99%; margin-right: 5px;">
                                        <div id="Div4" visible="false" runat="server">

                                            <div class="himsBoxHeader card-head inner" id="Div6" visible="false" runat="server">
                                                <div class="leftdiv">
                                                </div>
                                                <div class="himsBoxTitle" style="width: 99%">
                                                    <div align="right" class="fRight" style="margin-top: -6px;">
                                                        <%-- <asp:Button ID="UpdateIsCompletedButton" runat="server" class="btn btn-save fas" Text="&#xf0c7; Save" SkinID="0" OnClick="UpdateIsCompletedButton_Click" />--%>
                                                    </div>
                                                </div>
                                                <%-- <div class="gridHeaderText">
                                                    <header>
                                                        <asp:Label ID="AssignRouteLabel" runat="server" Text="Lesson Plan"></asp:Label>
                                                    </header>
                                                </div>--%>
                                            </div>
                                            <div class="himsBoxContent  table-responsive">
                                                <asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Always">
                                                    <ContentTemplate>
                                                        <div id="Div7" runat="server" visible="false">
                                                            <asp:GridView ID="TopicGridView" runat="server" CssClass="table table-striped table-bordered table-hover" AutoGenerateColumns="False"
                                                                OnPageIndexChanging="TopicGridView_PageIndexChanging" EmptyDataText="No records available for the seacrh criteria!"
                                                                SkinID="" ShowHeader="true" PagerSettings-Visible="false" DataKeyNames="Id,ClassId">
                                                                <Columns>
                                                                    <asp:TemplateField ItemStyle-Width="5%" ItemStyle-HorizontalAlign="Left"
                                                                        ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                                        <HeaderTemplate>
                                                                            <label class="rt-chkbox rt-chkbox-outline">
                                                                                <asp:CheckBox ID="HeaderSelectCheckBox" runat="server" onclick="CheckAll(this);" />
                                                                                <span></span>
                                                                            </label>
                                                                        </HeaderTemplate>
                                                                        <ItemTemplate>
                                                                            <label class="rt-chkbox rt-chkbox-outline">
                                                                                <asp:CheckBox ID="SelectCheckBox" runat="server"></asp:CheckBox>
                                                                                <span></span>
                                                                            </label>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:BoundField DataField="ClassName" HeaderText="Class Name" ItemStyle-Width="15%" HeaderStyle-HorizontalAlign="Left" />
                                                                    <asp:BoundField DataField="SubjectName" HeaderText="Subject Name" ItemStyle-Width="20%" HeaderStyle-HorizontalAlign="Left" />
                                                                    <asp:BoundField DataField="Number" HeaderText="Number" ItemStyle-Width="10%" HeaderStyle-HorizontalAlign="Left" />
                                                                    <asp:BoundField DataField="Title" HeaderText="Title" ItemStyle-Width="15%" HeaderStyle-HorizontalAlign="Left" />
                                                                    <asp:TemplateField HeaderText="InActive" ItemStyle-Width="10%" SortExpression="IsObsolete"
                                                                        HeaderStyle-HorizontalAlign="Center" ItemStyle-HorizontalAlign="Center" ItemStyle-Wrap="true">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="ObsoleteLabel" runat="server" Text='<%# DataBinder.Eval(Container.DataItem,"IsObsolete").ToString().ToUpper()=="TRUE"?"Y":"N" %>'></asp:Label>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                   <%--  <asp:BoundField ID="StatusMessage" HeaderText="Status Message" ItemStyle-Width="30%" HeaderStyle-HorizontalAlign="Left" />--%>

                                                                     <asp:TemplateField HeaderText="Status Message" ItemStyle-Width="30%" ItemStyle-Wrap="true"
                                                                        HeaderStyle-HorizontalAlign="Left">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="StatusMessage" runat="server"></asp:Label>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                </Columns>
                                                            </asp:GridView>
                                                        </div>
                                                    </ContentTemplate>
                                                </asp:UpdatePanel>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </asp:Panel>
                        </div>
                    </div>
                        </div>
                    </div>
                    <!-- Sub Container2 Box Ends -->

                    <!-- Sub Container1 Box Start -->

                    <!-- Sub Container1 Box Ends -->

                  

                </div>
            </div>
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>
    <%--   <script data-main="../../JavaScript/rjs/encrypt/lesson-plan-encrypt" src="../../JavaScript/rjs/require.js"></script>--%>
    <script data-main='<%=ResolveUrl("~/JavaScript/rjs/lesson-plan")%>' src='<%=ResolveUrl("~/JavaScript/rjs/require.js")%>'></script>
</asp:Content>
