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

<%@ 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">
    <div id="CPDiv">
        <asp:UpdatePanel ID="updPnlSearchGridView" runat="server">
            <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="166"
                                                    Visible="true" runat="server" />
                                            </div>
                                        </div>
                                    </td>
                                </tr>
                            </table>
                        </div>
                    </div>
                    <div class="row whiteboxpaddingleft">
                        <!-- Sub Container2 Box Start -->
                        <div class="himssuHeader5WireBox card card-box" runat="server" id="SearchDiv">
                            <div class="himsBoxHeader card-head">
                                <asp:Panel ID="TopPanel" runat="server" meta:resourcekey="TopPanelResource1">
                                    <div class="leftdiv">
                                    </div>
                                    <div class="himsBoxTitle">
                                        <div class="headerText">
                                            <header>
                                                <i class="fas fa-search"></i>
                                                <asp:Label ID="Label1" runat="server" Text="Search" meta:resourcekey="Label1Resource1"></asp:Label>
                                            </header>
                                        </div>
                                    </div>
                                </asp:Panel>
                            </div>
                            <asp:Panel ID="DetailPanel" runat="server" meta:resourcekey="DetailPanelResource1">
                                <div class="himsBoxContent card-body">
                                    <div class="contentHolder">
                                        <asp:Panel ID="SearchCriteriaPanel" runat="server" meta:resourcekey="SearchCriteriaPanelResource1">
                                            <div class="outerBox pTop5 col-md-3">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="OrganizationLabel" Text="Organization" runat="server"></asp:Label>
                                                    <asp:Label ID="OrganizationLabelM" Text="Organization" runat="server" Visible="false" SkinID="MandatoryLabel"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <asp:DropDownList ID="OrganizationDropDownList" runat="server" onmouseleave="showHideTooltip()"
                                                        onmouseenter="showHideTooltip()" SkinID="CustomWidthDropDownList" CssClass="form-control"
                                                        OnSelectedIndexChanged="OrganizationDropDownList_SelectedIndexChanged" AutoPostBack="true">
                                                    </asp:DropDownList>
                                                </div>
                                            </div>

                                            <div class="outerBox pTop5 col-md-3">
                                                <div class="fLeft pRight5" runat="server" id="SourceTypeDiv" visible="true">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="FromDateLabel" runat="server" Text="Source Type" Visible="true"></asp:Label>
                                                </div>
                                               
                                                     <asp:DropDownList ID="SourceTypeDropDownList" runat="server" onmouseleave="showHideTooltip()"
                                                        onmouseenter="showHideTooltip()" SkinID="CustomWidthDropDownList" CssClass="form-control">
                                                         <asp:ListItem Value="0">- ALL -</asp:ListItem>
                                                         <asp:ListItem Value="3" Selected="True">Employee</asp:ListItem>
                                                         <asp:ListItem Value="2001">Student</asp:ListItem>   
                                                        <%-- Actual SourceTypeId in NetVidyalaya : 95-Employee, 2003-Student 
                                                         For Biometric : 3-Employee, 2001-Student--%> 
                                                    </asp:DropDownList>
                                                </div>
                                                <div class="fLeft pRight5" runat="server" id="CloudSourceTypeDiv" visible="true">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="SourceTypeLabelm" Text="Source Type" runat="server" SkinID="MandatoryLabel"></asp:Label>
                                                </div>
                                                
                                                     <asp:DropDownList ID="CloudSourceTypeDropDownList" runat="server" onmouseleave="showHideTooltip()"
                                                        onmouseenter="showHideTooltip()" SkinID="CustomWidthDropDownList" CssClass="form-control" 
                                                         OnSelectedIndexChanged="CloudSourceTypeDropDownList_SelectedIndexChanged" AutoPostBack="true">
                                                         <asp:ListItem Value="0">- Select -</asp:ListItem>
                                                         <asp:ListItem Value="3" Selected="True">Employee</asp:ListItem>
                                                         <asp:ListItem Value="2001">Student</asp:ListItem>   
                                                        <%-- Actual SourceTypeId in NetVidyalaya : 95-Employee, 2003-Student 
                                                         For Biometric : 3-Employee, 2001-Student--%> 
                                                    </asp:DropDownList>
                                                </div>
                                            </div>
                                             <div runat="server" id="CloudBiometricFiltersDiv" visible="true">
                                                <div runat="server" id="StudentClassDetailsDiv" visible="false">
                                                    <div class="outerBox pTop5 col-md-3">
                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="ClassLabel" runat="server" Text="Class" SkinID="MandatoryLabel"></asp:Label>
                                                        </div>
                                                        <div class="fLeft pRight5">
                                                            <asp:DropDownList ID="SearchClassDropDownList" 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="DivisionLabel" runat="server" Text="Division" ></asp:Label>
                                                        </div>
                                                        <div class="fLeft pRight5">
                                                            <asp:DropDownList ID="SearchDivisionDropDownList" runat="server" CssClass="form-control" SkinID="CustomWidthDropDownList"
                                                                onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" />
                                                        </div>
                                                    </div>

                                                </div>

                                                 <div class="outerBox pTop15 col-md-3" runat="server" id="Div1">
                                                    <div class="controlLabelWidth">
                                                        <asp:CheckBox ID="MissingPunchCheckBox" Checked="false" AutoPostBack="true" OnCheckedChanged="MissingPunchCheckBox_CheckedChanged" runat="server" Text="Missing Punch" />
                                                    </div>
                                                 </div>
                                            </div>

                                             <div class="outerBox pTop15 col-md-3" runat="server" id="CheckDuplicateDiv">
                                                <div class="controlLabelWidth">
                                                    <asp:CheckBox ID="CheckDuplicateCheckBox" Checked="false" AutoPostBack="true" OnCheckedChanged="CheckDuplicateCheckBox_CheckedChanged" runat="server" Text="Check Duplicate" />
                                                </div>
                                             </div>

                                            <div id="CheckDuplicateFilterStatusDiv" class="outerBox11 pTop15 col-md-3" runat="server" visible="false">
                                                <div id="StatusDiv" runat="server" visible="False" class="fLeft pRight5 chck-dropdown-onclick bg-lghtgrey outerBox11 col-md-12 overflow-x-hidden padd-0">
                                                    <asp:CheckBoxList ID="StatusCheckBoxList" runat="server">
                                                    </asp:CheckBoxList>
                                                </div>
                                            </div>
                                           
                                         
                                            <div class ="cBoth"></div>
                                            <div class="alignCenter pTop15">
                                                <asp:Button ID="SearchButton" runat="server" OnClick="SearchButton_Click"
                                                    CausesValidation="False" TabIndex="3" SkinID="0" CssClass="btn-search btn fas" Text="&#xf002; Search" />
                                                <asp:Button ID="SearchCloudButton" runat="server" OnClick="SearchCloudButton_Click"
                                                    CausesValidation="False" TabIndex="3" SkinID="0" CssClass="btn-search btn fas" Text="&#xf002; Search" />
                                                <asp:Button ID="ExportButton" runat="server" Text="&#xf093; Export" SkinID="0" CssClass="btn-examcommon btn fas" OnClick="ExportButton_Click" />
                                                <asp:Button ID="ViewReportButton" runat="server" Visible="false" Text="&#xf093; View report" SkinID="0" CssClass="btn-examcommon btn fas" OnClick="ViewReportButton_Click" />
                                                <asp:Button ID="ClearSearchButton" runat="server" OnClick="ClearSearchButton_Click"
                                                    Text="&#xf0e2; Reset" CssClass="btn-reset btn fas" SkinID="0" CausesValidation="False" TabIndex="4" meta:resourcekey="ClearSearchButtonResource1" />
                                            </div>
                                            <br />
                                        </asp:Panel>

                                        <div id="BiometricLogGridViewDiv" runat="server" visible="false">
                                            <div class="himssuHeader7WireBox col-md-12" id="BioDiv" runat="server">
                                                <%--<div class="himsBoxHeader card-head inner" id="UserSearchDiv" style="display:none">
                                                </div>--%>
                                                <div class="himsBoxContent">
                                                    <asp:UpdatePanel ID="MenuPlanDetailUpdatePanel" runat="server" UpdateMode="Always">
                                                        <ContentTemplate>
                                                            <div id="Div5" runat="server">
                                                                <div id="Div4" runat="server" class="table-responsive">
                                                                    <asp:GridView ID="BiometricIdMappingGridView" runat="server" AllowSorting="True" AutoGenerateColumns="False" EmptyDataText="No records found"
                                                                        SkinID="" ShowHeader="True" PagerSettings-Visible="false" OnSorting="BiometricIdMappingGridView_Sorting" CssClass="table table-striped table-bordered table-hover">
                                                                        <Columns>
                                                                             <asp:BoundField HeaderText="OrgId" SortExpression="OrgId" DataField="OrgId" HeaderStyle-HorizontalAlign="Left">
                                                                                <ItemStyle Width="7%" />
                                                                            </asp:BoundField>

                                                                            <asp:BoundField HeaderText="Organization" SortExpression ="Organization" DataField="Organization" HeaderStyle-HorizontalAlign="Left">
                                                                                <ItemStyle Width="15%" />
                                                                            </asp:BoundField>

                                                                            <asp:BoundField HeaderText="Emp Code" SortExpression ="EmpID" DataField="EmpID" HeaderStyle-HorizontalAlign="Left">
                                                                                <ItemStyle Width="15%" />
                                                                            </asp:BoundField>

                                                                            <asp:BoundField HeaderText="Employee Name" SortExpression ="EmpName" DataField="EmpName" HeaderStyle-HorizontalAlign="Left">
                                                                                <ItemStyle Width="24%" />
                                                                            </asp:BoundField>

                                                                            <asp:BoundField HeaderText="PunchId" SortExpression="EmpPunchID" DataField="EmpPunchID" HeaderStyle-HorizontalAlign="Left">
                                                                                <ItemStyle Width="12%" />
                                                                            </asp:BoundField>

                                                                             <asp:BoundField HeaderText="Bio Emp Code" SortExpression="BiometricId" DataField="BiometricId" HeaderStyle-HorizontalAlign="Left">
                                                                                <ItemStyle Width="12%" />
                                                                            </asp:BoundField>

                                                                             <asp:BoundField HeaderText="Source Id(CommonID)" SortExpression="SourceId" DataField="SourceId" HeaderStyle-HorizontalAlign="Left">
                                                                                <ItemStyle Width="15%" />
                                                                            </asp:BoundField>

                                                                         <%--   <FooterStyle BackColor="#CCCCCC" />  
                                                                            <HeaderStyle BackColor="Black" Font-Bold="True" ForeColor="White" />  
                                                                            <PagerStyle BackColor="#999999" ForeColor="Black" HorizontalAlign="Center" />  
                                                                            <SelectedRowStyle BackColor="#000099" Font-Bold="True" ForeColor="White" />  
                                                                            <SortedAscendingCellStyle BackColor="#F1F1F1" />  
                                                                            <SortedAscendingHeaderStyle BackColor="#808080" />  
                                                                            <SortedDescendingCellStyle BackColor="#CAC9C9" />  
                                                                            <SortedDescendingHeaderStyle BackColor="#383838" />  --%>
                                                                          
                                                                        </Columns>
                                                                        <PagerSettings Visible="False" />
                                                                    </asp:GridView>
                                                                </div>
                                                            </div>
                                                        </ContentTemplate>
                                                    </asp:UpdatePanel>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </asp:Panel>
                        </div>
                    </div>
                </div>
            </ContentTemplate>
        </asp:UpdatePanel>
    </div>
   <%-- <script data-main="../../JavaScript/rjs/encrypt/audit-log-encrypt" src="../../JavaScript/rjs/require.js"></script>--%>
      <script data-main='<%=ResolveUrl("~/JavaScript/rjs/audit-log")%>' src='<%=ResolveUrl("~/JavaScript/rjs/require.js")%>'></script>
</asp:Content>
