<%@ page title="" language="C#" masterpagefile="~/Pages/Common/MasterPages/MainMasterPage_new.master" autoeventwireup="true" inherits="Pages_Hrm_Employee_ClassTeacherDashboard, App_Web_mpqp0qey" 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="MainUpdatePanel" 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="213"
                                                Visible="true" runat="server" />
                                        </div>
                                    </div>
                                </td>
                            </tr>
                        </table>
                    </div>
                </div>
                <div class="whiteboxpaddingleft row">
                    <div class="himssuHeader2WireBox">
                    </div>
                    <div class="himssuHeader5WireBox card card-box" id="SearchDiv" runat="server">
                        <div class="himsBoxHeader card-head">
                            <asp:Panel ID="TitlePanel" runat="server">
                                <div class="leftdiv">
                                </div>
                                <div class="himsBoxTitle">
                                    <div class="headerText">
                                        <header>
                                            <i class="fas fa-list-ul"></i>
                                            <asp:Label ID="MainLabel" runat="server" Text="Class Teacher Dashboard"></asp:Label>
                                        </header>
                                    </div>
                                </div>
                            </asp:Panel>
                        </div>
                        <div class="himsBoxContent card-body">
                            <asp:Panel ID="DetailPanel" runat="Server">
                                <div class="contentHolder">
                                    <div id="Div3" class="himssuHeader7WireBox col-md-12" runat="server">
                                        <div class="alignCenter col-md-12 pTop15 pb5">
                                            <asp:Button ID="GenderwiseStrengthButton" runat="server" OnClick="GenderwiseStrengthButton_OnClick" Text="Genderwise Strength" CssClass="btn btn-examcommon fas"
                                                SkinID="0" />
                                            <asp:Button ID="CategorywiseStrengthButton" runat="server" OnClick="CategorywiseStrengthButton_OnClick" Text="Categorywise Strength" CssClass="btn btn-examcommon fas"
                                                SkinID="0" />

                                        </div>
                                        <div class="col-md-12 pTop15 pb5">
                                            <div class="outerBox pTop5 col-md-3">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="ForYearLabel" runat="server" Text="For Year" SkinID="MandatoryLabel"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <asp:DropDownList runat="server" ID="ForYearDropDownList" SkinID="CustomWidthDropDownList"
                                                        class="form-control" onmouseenter="ShowToolTip(this)"
                                                        AutoPostBack="true" OnSelectedIndexChanged="ForYearDropDownList_OnSelectedIndexChanged">
                                                    </asp:DropDownList>
                                                </div>
                                            </div>
                                            <div class="outerBox pTop5 col-md-3">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="ForMonthLabel" runat="server" Text="For Month" SkinID="MandatoryLabel"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <asp:DropDownList runat="server" ID="ForMonthDropDownList" SkinID="CustomWidthDropDownList"
                                                        class="form-control" onmouseenter="ShowToolTip(this)"
                                                        onchange="BindRegisterList();">
                                                    </asp:DropDownList>
                                                </div>
                                            </div>
                                            <div runat="server" visible="false">
                                                <div class="outerBox pTop5 col-md-3">
                                                    <div class="controlLabelWidth">
                                                        <asp:Label ID="AttendanceTypeLabel" runat="server" Text="Attendance Type"></asp:Label>
                                                    </div>
                                                    <div class="fLeft pRight5">
                                                        <asp:DropDownList runat="server" ID="AttendanceTypeDropDownList" SkinID="CustomWidthDropDownList"
                                                            CssClass="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()">
                                                        </asp:DropDownList>
                                                    </div>
                                                </div>

                                            </div>
                                            <div class="outerBox pTop5 col-md-3">
                                                <asp:Button ID="DatewiseAttendanceStrengthButton" runat="server" OnClick="DatewiseAttendanceStrengthButton_OnClick" Text="Datewise Attendance Strength" CssClass="btn btn-examcommon fas"
                                                    SkinID="0" />
                                            </div>
                                        </div>
                                        <div id="AllDiv" visible="false" runat="server">
                                            <div class="himsBoxContent">
                                                <asp:UpdatePanel ID="DetailUpdatePanel" runat="server" UpdateMode="Always">
                                                    <ContentTemplate>
                                                        <div id="MainDiv" runat="server" visible="false">
                                                            <asp:GridView ID="MainGridview" runat="server" AutoGenerateColumns="False" class="himssuHeader7WireBox col-md-12 table-responsive"
                                                                EmptyDataText="No Records Found !!" AllowPaging="false" ShowHeader="true" CssClass="table table-striped table-bordered" DataKeyNames="ClassDivision">
                                                                <Columns>
                                                                    <asp:TemplateField ItemStyle-Width="100%" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left" HeaderText="Class - Division">
                                                                        <ItemTemplate>
                                                                            <asp:LinkButton ID="ClassDivisionLabel" CommandName="ClassDivision" CommandArgument="ClassDivision" SkinID="CustomWidthLabel" runat="server"
                                                                                Text='<%# Bind("ClassDivision") %>' OnClick="ClassDivisionLinkButton_Click"></asp:LinkButton>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                </Columns>
                                                                <PagerSettings Visible="False" />
                                                            </asp:GridView>
                                                        </div>

                                                        <div>
                                                            <asp:Label ID="NameLabel" runat="server" Text=""></asp:Label>
                                                            <asp:HiddenField ID="ButtonHiddenField" runat="server" />
                                                        </div>

                                                        <div id="GenderwiseStrengthDiv" runat="server" visible="false">
                                                            <asp:GridView ID="GenderwiseStrengthGridview" runat="server" class="himssuHeader7WireBox col-md-12 table-responsive" AutoGenerateColumns="False"
                                                                EmptyDataText="No Records Found !!" AllowPaging="false" ShowHeader="true" CssClass="table table-striped table-bordered">
                                                                <Columns>
                                                                    <asp:BoundField DataField="ClassDivision" HeaderText="Class - Division" HeaderStyle-HorizontalAlign="Left" />
                                                                    <asp:BoundField DataField="Male" HeaderText="Male" HeaderStyle-HorizontalAlign="Left" />
                                                                    <asp:BoundField DataField="Female" HeaderText="Female" HeaderStyle-HorizontalAlign="Left" />
                                                                    <asp:BoundField DataField="Total" HeaderText="Total" HeaderStyle-HorizontalAlign="Left" />
                                                                </Columns>
                                                                <PagerSettings Visible="False" />
                                                            </asp:GridView>
                                                        </div>

                                                        <div id="CategorywiseStrengthDiv" runat="server" visible="false">
                                                            <asp:GridView ID="CategorywiseStrengtGridview" runat="server" class="himssuHeader7WireBox col-md-12 table-responsive" AutoGenerateColumns="False"
                                                                EmptyDataText="No Records Found !!" AllowPaging="false" ShowHeader="true" CssClass="table table-striped table-bordered">
                                                                <Columns>
                                                                    <asp:BoundField DataField="Category" HeaderText="Category" HeaderStyle-HorizontalAlign="Left" />
                                                                    <asp:BoundField DataField="Male" HeaderText="Male" HeaderStyle-HorizontalAlign="Left" />
                                                                    <asp:BoundField DataField="Female" HeaderText="Female" HeaderStyle-HorizontalAlign="Left" />
                                                                    <asp:BoundField DataField="Total" HeaderText="Total" HeaderStyle-HorizontalAlign="Left" />
                                                                </Columns>
                                                                <PagerSettings Visible="False" />
                                                            </asp:GridView>
                                                        </div>

                                                        <div id="DatewiseAttendanceStrengthDiv" runat="server" visible="false">
                                                            <asp:GridView ID="DatewiseAttendanceStrengthGridview" runat="server" class="himssuHeader7WireBox col-md-12 table-responsive" AutoGenerateColumns="False"
                                                                EmptyDataText="No Records Found !!" AllowPaging="false" ShowHeader="true" CssClass="table table-striped table-bordered">
                                                                <Columns>
                                                                    <asp:BoundField DataField="AttendanceDate" HeaderText="AttendanceDate" HeaderStyle-HorizontalAlign="Left" />
                                                                    <asp:BoundField DataField="Present" HeaderText="Present" HeaderStyle-HorizontalAlign="Left" />
                                                                    <asp:BoundField DataField="Absent" HeaderText="Absent" HeaderStyle-HorizontalAlign="Left" />
                                                                    <asp:BoundField DataField="Total" HeaderText="Total" HeaderStyle-HorizontalAlign="Left" />
                                                                </Columns>
                                                                <PagerSettings Visible="False" />
                                                            </asp:GridView>
                                                        </div>

                                                    </ContentTemplate>
                                                </asp:UpdatePanel>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </asp:Panel>
                        </div>
                    </div>
                </div>
            </div>
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>

    <script data-main='<%=ResolveUrl("~/JavaScript/rjs/class-teacher-dashboard")%>' src='<%=ResolveUrl("~/JavaScript/rjs/require.js")%>'></script>

</asp:Content>
