<%@ page title="Student" language="C#" masterpagefile="~/Pages/Common/MasterPages/DialogMasterPage_new.master" autoeventwireup="true" inherits="Pages_Academic_HomeworkStatus, App_Web_qhwe4s5n" uiculture="auto" maintainscrollpositiononpostback="true" meta:resourcekey="PageResource1" enableEventValidation="false" viewStateEncryptionMode="Never" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxToolkit" %>
<%@ Register Src="~/UserControls/DatePicker/DatePickerControl.ascx" TagName="DatePickerControl"
    TagPrefix="Date" %>
<%@ Register Src="~/UserControls/Common/CommonSearch/CommonSearch.ascx" TagName="CommonSearchUserControl"
    TagPrefix="Common" %>
<%@ Register Src="~/UserControls/Common/ScreenGroup/ScreenGroup.ascx" TagName="ScreenGroupControl"
    TagPrefix="ScreenGroup" %>
<%@ Register Src="~/UserControls/DatePicker/DatePickerControl.ascx" TagName="DatePickerControl"
    TagPrefix="DPC" %>
<%@ Register Src="~/UserControls/AutoComplete/AutoCompleteControl.ascx" TagName="AutoCompleteControl"
    TagPrefix="acc" %>
<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
    <asp:UpdatePanel ID="HREmployeeMasterSearchUpdatePanel" runat="server">
        <ContentTemplate>
            <div class="hls-bg"></div>
            <Common:CommonSearchUserControl ID="CommonSearchControl" runat="server" />
            <div>
                <asp:Panel ID="employeesearchdetailpanel" runat="server" meta:resourcekey="employeesearchdetailpanelresource1">
                    <div id="divContentPage" class="divcontentpagemargin">
                      <%--  <div class="dashBoardLeftCont">
                            <div class="himssuHeader3WireBox">
                                <table>
                                    <tr>
                                        <td>
                                            <div class="leftUlMenu">
                                                <ScreenGroup:ScreenGroupControl EnableViewState="true" ID="ScreenGroupControl" ScreenGroupId="102"
                                                    Visible="true" runat="server" />
                                            </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="Panel1" runat="server">
                                <div class="leftdiv">
                                </div>
                                <div class="himsBoxTitle">
                                    <div class="headerText">
                                        <header>
                                            <i class="fas fa-table"></i>
                                            <asp:Label ID="Label3" runat="server" Text="Update Homework Status"></asp:Label>
                                        </header>
                                    </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="SearchTeacherLabel" runat="server" SkinID="MandatoryLabel" Text="Teacher"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:DropDownList ID="SearchTeacherDropDownList" Enabled="false" runat="server" CssClass="form-control" SkinID="CustomWidthDropDownList"
                                                    AutoPostBack="true" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"/>
                                                    <%--OnSelectedIndexChanged="SearchTeacherDropDownList_SelectedIndexChanged" />--%>
                                            </div>
                                        </div>
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="SearchOrganizationLabel" runat="server" SkinID="MandatoryLabel" Text="Organization"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:DropDownList ID="SearchOrganizationDropDownList" Enabled="false" runat="server" CssClass="form-control" SkinID="CustomWidthDropDownList"
                                                    onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" />
                                            </div>
                                        </div>
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="SearchSubjectLabel" runat="server" SkinID="MandatoryLabel" Text="Subject"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:DropDownList ID="SearchSubjectDropDownList" Enabled="false" runat="server" CssClass="form-control" SkinID="CustomWidthDropDownList"
                                                    AutoPostBack="true" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()">
                                                    <%--OnSelectedIndexChanged="SearchSubjectDropDownList_SelectedIndexChanged">--%>
                                                </asp:DropDownList>
                                            </div>
                                        </div>
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="SearchClassLabel" runat="server" SkinID="MandatoryLabel" Text="Class"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:DropDownList ID="SearchClassDropDownList" Enabled="false" runat="server" CssClass="form-control" SkinID="CustomWidthDropDownList"
                                                    onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" AutoPostBack="true"/>
                                                    <%--OnSelectedIndexChanged="SearchClassDropDownList_OnSelectedIndexChanged" />--%>
                                            </div>
                                        </div>
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="SearchDivisionLabel" runat="server" SkinID="MandatoryLabel" Text="Division"></asp:Label>
                                            </div>
                                            <asp:DropDownList ID="SearchDivisionDropDownList" Enabled="false" runat="server" CssClass="form-control" SkinID="CustomWidthDropDownList"
                                                onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" />
                                        </div>
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="HomeworkDateLabel" runat="server"  SkinID="MandatoryLabel" Text="Homework Date"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <Date:DatePickerControl DisplayDatePicker="true" Enabled="false" ID="HomeworkDatePickerControl" Width="154Px"
                                                    runat="server" Visible="true" />
                                            </div>
                                        </div>
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="fLeft">
                                                <asp:CheckBox ID="StopAutoAlertCheckBox" runat="server" Text="Stop Auto Alert" />
                                            </div>
                                        </div>
                                       <%-- <div class="outerBox pTop15 p-l-10 col-md-3">
                                            <asp:CheckBox ID="SendAlertCheckbox" runat="server" Text="Send Alert" AutoPostBack="true" class="pLeft5" OnCheckedChanged="SendAlertCheckbox_CheckedChanged" />
                                        </div>--%>

                                        <div class="alignCenter pTop5 col-md-12 center" style="display:none">
                                            <asp:Button ID="SearchButton" Text="&#xf002; Search" runat="Server" OnClick="SearchButton_Click"
                                                SkinID="0" class="btn-search btn fas" />
                                          <%--  <asp:Button ID="ResetButton" runat="server" Text="&#xf0e2; Reset" OnClick="ResetButton_Click"
                                                SkinID="0" class="btn-reset btn fas" />--%>
                                            <%--<asp:Button ID="SendAlertButton" Text="&#xf1d8; Send Alert" runat="Server" OnClick="SendAlertButton_Click"
                                                SkinID="0" CssClass="btn-send btn fas" />--%>
                                            <asp:HiddenField ID="MaxRowHiddenField" runat="server" />
                                        </div>

                                        <%-- <div class="outerBox11 pTop5 col-md-12 fLeft" id="SendAlertDiv" runat="server">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="MessageLabel" runat="server" Text="Message"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:TextBox ID="MessageTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                    Height="50px" SkinID="MultilineTextBox" runat="server" MaxLength="1000" OnTextChanged="MessageTextBox_TextChanged"
                                                    TextMode="MultiLine" AutoPostBack="true"></asp:TextBox>
                                                <div id="CharCountDiv" runat="server" class="col-md-12 padd-0">
                                                    <asp:Label ID="ForCharLabel" runat="server" Text="Number Of Character :"></asp:Label>
                                                    <asp:Label ID="NumberOfCharLabel" runat="server" Font-Bold="true" CssClass="ml-1"></asp:Label>
                                                    <asp:Label ID="ForMessageLabel" runat="server" Text="Number Of Message :"></asp:Label>
                                                    <asp:Label ID="NumberOfMessageLabel" runat="server" Font-Bold="true"></asp:Label>
                                                </div>
                                            </div>
                                        </div>

                                        <div class="outerBox col-md-3 pTop5" id="AlertOptionDiv" runat="server">
                                            <div class="fLeft pRight5">
                                                <asp:CheckBoxList ID="SourceTypeCheckBoxList" runat="server" RepeatDirection="Horizontal"
                                                    OnSelectedIndexChanged="SourceTypeCheckBoxList_SelectedIndexChanged" AutoPostBack="true">
                                                    <asp:ListItem Text="SMS" Value="1" Selected="True"></asp:ListItem>
                                                    <asp:ListItem Text="Email" Value="2"></asp:ListItem>
                                                </asp:CheckBoxList>
                                            </div>
                                        </div>--%>

                                    </asp:Panel>
                                    <div id="Div1" class="himssuHeader7WireBox col-md-12" runat="server">
                                        <div id="SearchNewsDetailDiv" runat="server">

                                            <div class="himsBoxHeader" id="SearchNewsDiv" runat="server">
                                            <div class="leftdiv">
                                            </div>

                                               <div class="fRight display-flex">
                                                    <asp:DropDownList ID="HomeworkStatusDropDown" style="border:0.3pt solid gray" runat="server" onmouseleave="showHideTooltip()"
                                                        onmouseenter="showHideTooltip()" SkinID="CustomWidthDropDownList" CssClass="form-control"
                                                        meta:resourcekey="RecordStatusDropDownResource1">
                                                        <asp:ListItem Value="1" Selected="True">Assigned</asp:ListItem>
                                                        <asp:ListItem Value="2">Complete</asp:ListItem>
                                                        <asp:ListItem Value="3">Incomplete</asp:ListItem>
                                                        <asp:ListItem Value="4">Pending</asp:ListItem>
                                                    </asp:DropDownList>
                                                    &nbsp;&nbsp;
                                                    <asp:Button ID="ApplyAllButton" SkinID="0" style="padding-top:3px" Text="&#xf058; Apply All" CssClass="btn btn-apply fas" runat="Server" OnClick="ApplyAllButton_Click" />
                                                </div>
                                            </div>
                                            <div class="himsBoxContent col-md-12 pTop5 table-responsive">
                                                <asp:UpdatePanel ID="MenuPlanDetailUpdatePanel" runat="server" UpdateMode="Always">
                                                    <ContentTemplate>
                                                        <div id="SearchDiv5" runat="server">
                                                            <asp:GridView ID="HomeworkStudentGridView" runat="server" AutoGenerateColumns="False"
                                                            CssClass="table table-striped table-bordered table-hover" OnRowDataBound="HomeworkStudentGridView_RowDataBound"
                                                            EmptyDataText="No Records Found !!" AllowPaging="false" ShowHeader="true" DataKeyNames="StudentId,AcademicId,HomeWorkCheckStatusId">
                                                            <Columns>
                                                            <asp:TemplateField HeaderText="Select" HeaderStyle-HorizontalAlign="Center" ItemStyle-Width="4%"
                                                                ItemStyle-Wrap="true">
                                                                <HeaderTemplate>
                                                            <label class="rt-chkbox rt-chkbox-outline">
                                                                <asp:CheckBox ID="HeaderSelectCheckBox" runat="server" Enabled="true" AutoPostBack="true"
                                                                    Visible="true" OnCheckedChanged="HeaderSelectCheckBox_CheckedChanged" />
                                                                <span></span>
                                                            </label>
                                                            </HeaderTemplate>
                                                            <ItemStyle HorizontalAlign="Center" />
                                                            <ItemTemplate>
                                                                <label class="rt-chkbox rt-chkbox-outline">
                                                                    <asp:CheckBox ID="SelectCheckBox" runat="server" />
                                                                    <span></span>
                                                                </label>
                                                            </ItemTemplate>
                                                            </asp:TemplateField>
                                                            <asp:TemplateField HeaderText="IDNo" ItemStyle-Width="6%" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                                <ItemTemplate>
                                                                    <asp:Label ID="IDNoLabel" runat="server" Text='<%# Bind("Code") %>'></asp:Label>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                            <asp:BoundField DataField="ClassDivision" HeaderText="Class" ItemStyle-Width="7%" HeaderStyle-HorizontalAlign="Left"></asp:BoundField>
                                                            <asp:BoundField DataField="RollNo" HeaderText="RollNo" ItemStyle-Width="7%" HeaderStyle-HorizontalAlign="Left"></asp:BoundField>
                                                            <asp:BoundField DataField="Name" HeaderText="Name" ItemStyle-Width="30%" HeaderStyle-HorizontalAlign="Left"></asp:BoundField>
                                                            <asp:TemplateField HeaderText="Remark" ItemStyle-Width="30%" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                                <ItemTemplate>
                                                                    <asp:TextBox ID="RemarkTextBox" runat="server" Text='<%# Bind("Remark") %>'></asp:TextBox> 
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                            <asp:TemplateField HeaderText="HomeWork Status" ItemStyle-Width="20%" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                                <ItemTemplate>
                                                                    <asp:DropDownList ID="HomeworkStatusGridviewDropDownList" runat="server" onmouseleave="showHideTooltip()"
                                                                        onmouseenter="showHideTooltip()" SkinID="CustomWidthDropDownList" CssClass="form-control">
                                                                         <asp:ListItem Value="1" Selected="True">Assigned</asp:ListItem>
                                                                         <asp:ListItem Value="2">Complete</asp:ListItem>
                                                                         <asp:ListItem Value="3">Incomplete</asp:ListItem>
                                                                         <asp:ListItem Value="4">Pending</asp:ListItem>
                                                                    </asp:DropDownList>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                            </Columns>
                                                            <PagerSettings Visible="False" />
                                                            </asp:GridView>
                                                        </div>
                                                    </ContentTemplate>
                                                </asp:UpdatePanel>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </asp:Panel>
                        </div>
                    </div>
                    <!-- Sub Container2 Box Ends -->
                </div>
                </asp:Panel>
            </div>
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>
    <script type="text/javascript">

        function showmodalpopup() {

            $(".hls-bg").show();
            $(".container").hide();
            $("#Popupdiv").show();
            setTimeout(function () {
                $("#Popupdiv").hide();
                $(".hls-bg").hide();
                $(".container").show();
            }, 4000);

        };


    </script>
    <%--<script data-main="../../JavaScript/rjs/encrypt/student-all-encrypt" src="../../JavaScript/rjs/require.js"></script>--%>
    <script data-main='<%=ResolveUrl("~/JavaScript/rjs/student-all")%>' src='<%=ResolveUrl("~/JavaScript/rjs/require.js")%>'></script>
</asp:Content>
