<%@ page language="C#" autoeventwireup="true" masterpagefile="~/Pages/Common/MasterPages/MainMasterPage_new.master" inherits="Pages_TimeTable_ProxySetting, App_Web_2q03k5o2" 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/AutoComplete/AutoCompleteControl.ascx" TagName="AutoCompleteControl" TagPrefix="acc" %>
<%@ Register Src="~/UserControls/DatePicker/DatePickerControl.ascx" TagName="DatePickerControl" TagPrefix="DPC" %>
<%@ 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">
                                                <header>
                                                    <i class="fas fa-list-ul"></i>
                                                <asp:Label ID="Label1" runat="server" Text="Proxy Setting"></asp:Label>
                                                </header>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="himsBoxContent card-body">
                                        <div class="contentHolder">
                                          
                                            <table>
                                                <tr>
                                                    <td style="vertical-align: top" width="100%">
                                                        <div class="outerBox pTop5 col-md-3">
                                                            <div class="controlLabelWidth">
                                                                <asp:Label ID="LeftDateLabel" runat="server" Text="Proxy Date" meta:resourcekey="LeftDateLabelResource1"></asp:Label>
                                                            </div>
                                                            <div class="fLeft pRight5">
                                                                <DPC:DatePickerControl ID="ProxyDatePickerControl" runat="server" DisplayDatePicker="true" />
                                                            </div>
                                                        </div>
                                                        <div class="outerBox pTop5 col-md-3">
                                                            <div class="controlLabelWidth">
                                                                <asp:Label ID="OrganizationLabel" runat="server" Text="Organization"></asp:Label>
                                                            </div>
                                                            <div class="fLeft pRight5">
                                                                <asp:DropDownList runat="server" ID="OrganizationDropDownList" SkinID="CustomWidthDropDownList"
                                                                    onmouseleave="showHideTooltip()" CssClass="form-control" onmouseenter="showHideTooltip()"
                                                                    AutoPostBack="true" OnSelectedIndexChanged="OrganizationDropDownList_OnSelectedIndexChanged">
                                                                </asp:DropDownList>
                                                            </div>
                                                        </div>
                                                        <div class="outerBox pTop5 col-md-3">
                                                            <div class="controlLabelWidth">
                                                                <asp:Label ID="BatchLabel" runat="server" Text="Batch"></asp:Label>
                                                            </div>
                                                            <div class="fLeft pRight5">
                                                                <asp:DropDownList runat="server" ID="BatchDropDownList" SkinID="CustomWidthDropDownList"
                                                                    onmouseleave="showHideTooltip()" CssClass="form-control" onmouseenter="showHideTooltip()" AutoPostBack="true">
                                                                </asp:DropDownList>
                                                            </div>
                                                        </div>
                                                        <div class="outerBox pTop5 col-md-3">
                                                            <div class="controlLabelWidth">
                                                                <asp:Label ID="TeacherLabel" runat="server" Text="Teacher" SkinID="MandatoryLabel"></asp:Label>
                                                            </div>
                                                            <div class="fLeft pRight5">
                                                                <asp:DropDownList runat="server" ID="TeacherDropDownList" SkinID="CustomWidthDropDownList"
                                                                    onmouseleave="showHideTooltip()" CssClass="form-control" onmouseenter="showHideTooltip()"
                                                                    AutoPostBack="true" OnSelectedIndexChanged="TeacherDropDownList_SelectedIndexChanged">
                                                                </asp:DropDownList>
                                                            </div>
                                                        </div>
                                                        
                                                     
                                                        <div class="himssuHeader1WireBox col-md-12">
                                                            <div id="TimeTableDetailDiv" runat="server" visible="True">
                                                                
                                                                <div class="LblheaderText">
                                                                    <asp:Label ID="ProxyLabel2" Text="" runat="server" />
                                                                </div>
                                                                <div class="himsBoxContent table-responsive">
                                                                    <asp:GridView ID="ProxySettingGridView" runat="server" AutoGenerateColumns="False"
                                                                        EmptyDataText="No Records Found !!" AllowPaging="False" OnRowDataBound="ProxySettingGridView_RowDataBound"
                                                                        CssClass="table table-striped table-bordered table-hover" DataKeyNames="TimeTableId,DayId,DivisionId" ShowHeader="true">
                                                                        <Columns>
                                                                            <asp:TemplateField ItemStyle-Width="5%" HeaderText="Lecture No" ItemStyle-HorizontalAlign="Center"
                                                                                HeaderStyle-HorizontalAlign="Center" ItemStyle-Wrap="true">
                                                                                <ItemTemplate>
                                                                                    <asp:Label ID="LblLectureNo" runat="server" Text='<%# Bind("LectureNumber") %>' Font-Bold="true"></asp:Label>
                                                                                </ItemTemplate>
                                                                            </asp:TemplateField>
                                                                            <asp:TemplateField ItemStyle-Width="5%" HeaderText="Subject" ItemStyle-HorizontalAlign="Center"
                                                                                HeaderStyle-HorizontalAlign="Center" ItemStyle-Wrap="true">
                                                                                <ItemTemplate>
                                                                                    <asp:Label ID="DivisionLable" runat="server" Text='<%# Bind("ClassDivisionName") %>'
                                                                                        ForeColor="#F44336" Font-Bold="true"></asp:Label>
                                                                                    <br />
                                                                                    <asp:Label ID="lblSubject" runat="server" Text='<%# Bind("SubjectTitle") %>' ForeColor="#607D8B"
                                                                                        Font-Bold="true"></asp:Label>
                                                                                </ItemTemplate>
                                                                            </asp:TemplateField>
                                                                            <asp:TemplateField ItemStyle-Width="5%" HeaderText="Proxy Employee" ItemStyle-HorizontalAlign="Center"
                                                                                HeaderStyle-HorizontalAlign="Center" ItemStyle-Wrap="true">
                                                                                <ItemTemplate>
                                                                                    <asp:ImageButton ID="AddImageButton" runat="server" ImageUrl="~/Images/icons/expand.png"
                                                                                        OnClick="AddImageButton_OnClick" />
                                                                                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                                                            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                                                            <asp:ImageButton ID="DeleteImageButton" runat="server" ImageUrl="~/Images/Del.png"
                                                                                Visible="false" OnClick="DeleteImageButton_OnClick" />
                                                                                    <br />
                                                                                    <asp:Label ID="ProxyEmployeeLable" runat="server" ForeColor="Brown" Font-Bold="true"></asp:Label>
                                                                                    <br />
                                                                                    <asp:Label ID="ProxySubject" runat="server" ForeColor="DarkGreen" Font-Bold="true"></asp:Label>
                                                                                </ItemTemplate>
                                                                            </asp:TemplateField>
                                                                        </Columns>
                                                                        <PagerSettings Visible="False" />
                                                                    </asp:GridView>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </td>
                                                </tr>
                                            </table>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </tr>
                    </table>
                    <ajaxToolkit:ModalPopupExtender ID="ModalPopupExtender1" runat="server" TargetControlID="HidenButton"
                        PopupControlID="popUpPanel" BackgroundCssClass="modalBackground" CancelControlID="CloseButton"
                        Drag="True" PopupDragHandleControlID="dragPanel" DynamicServicePath="" Enabled="True" />
                    <asp:LinkButton runat="server" ID="HidenButton" meta:resourcekey="HidenButtonResource1" />
                    <asp:Panel ID="popUpPanel" runat="server">
                        <div class="himssuHeader2WireBox card card-box">
                            <div class="himsBoxHeader card-head">
                                <div class="leftdiv">
                                </div>
                                <div class="himsBoxTitle">
                                    <div class="headerText">
                                        <header>
                                        <asp:Label ID="Label2" runat="server" Text="Proxy Employee"></asp:Label>
                                            </header>
                                        <%--MantisId : 0035521 && 0035703--%>
                                        <asp:Label ID="Label4" runat="server" Text="Note: Below, the number of free lectures is displayed based on the time setup."
                                            SkinID="MandatoryLabel"
                                            Style="color: red; font-size: small;"></asp:Label>

                                    </div>
                                </div>
                            </div>
                            <div class="himsBoxContent card-body">
                                <div class="contentHolder">
                                    
                                    <div class="outerBox pTop5 col-md-6">
                                        <div class="controlLabelWidth">
                                            <asp:Label ID="EmployeeLabel" runat="server" Text="Employee" SkinID="MandatoryLabel"></asp:Label>
                                        </div>
                                        <div class="fLeft pRight5">
                                            <asp:DropDownList runat="server" ID="EmployeeDropDownList" SkinID="CustomWidthDropDownList"
                                                onmouseleave="showHideTooltip()" CssClass="form-control" onmouseenter="showHideTooltip()">
                                            </asp:DropDownList>
                                        </div>
                                    </div>
                                    <div class="outerBox pTop5 col-md-6">
                                        <div class="controlLabelWidth">
                                            <asp:Label ID="SubjectLabel" runat="server" Text="Subject" SkinID="MandatoryLabel"></asp:Label>
                                        </div>
                                        <div class="fLeft pRight5">
                                            <asp:DropDownList runat="server" ID="SubjectDropDownList2" SkinID="CustomWidthDropDownList"
                                                onmouseleave="showHideTooltip()" CssClass="form-control" onmouseenter="showHideTooltip()">
                                            </asp:DropDownList>
                                        </div>
                                    </div>
                                                                
                                    <div class="col-md-12 center">
                                        <asp:Button ID="SaveButton" runat="server" Text="&#xf0c7; Save" OnClick="SaveButton_Click" SkinID="0" class="btn btn-save fas" />
                                        <asp:Button ID="CloseButton" runat="server" Text="&#xf00d; Close" OnClick="CloseButton_Click" SkinID="0" class="btn btn-close fas"/>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </asp:Panel>
                </div>
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>
    <%--<script data-main="../../JavaScript/rjs/encrypt/proxy-setting-encrypt" src="../../JavaScript/rjs/require.js"></script>--%>
    <script data-main='<%=ResolveUrl("~/JavaScript/rjs/proxy-setting")%>' src='<%=ResolveUrl("~/JavaScript/rjs/require.js")%>'></script>
</asp:Content>
