<%@ page title="" language="C#" masterpagefile="~/Pages/Common/MasterPages/MainMasterPage_new.master" autoeventwireup="true" inherits="Pages_Library_BookMaintainance, App_Web_bldt5t0t" 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/Common/ScreenGroup/ScreenGroup.ascx" TagName="ScreenGroupControl" TagPrefix="ScreenGroup" %>
<%@ Register Src="~/UserControls/DatePicker/DatePickerControl.ascx" TagName="DatePickerControl" TagPrefix="Date" %>
<%@ Register Src="~/UserControls/Common/EmployeeSearch/EmployeeSearch.ascx" TagName="EmployeeSearchControl"  TagPrefix="hims" %>
<%@ Register Src="~/UserControls/Common/StudentSearch/StudentSearch.ascx" TagName="StudentSearch" TagPrefix="Std" %>
<%@ Register Src="~/UserControls/Common/CommonSearch/CommonSearch.ascx" TagName="CommonSearchUserControl"  TagPrefix="uc1" %>
<%@ Register Src="~/UserControls/Common/Library/LibraryDetailBoxControl.ascx" TagName="LibraryControl" TagPrefix="Library" %>

<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
    <asp:UpdatePanel ID="OTQueueListingUpdatePanel" runat="server">
        <ContentTemplate>
            <uc1:CommonSearchUserControl ID="CommonSearchControl" Visible="false" runat="server" />
            <Std:StudentSearch ID="StudentSearch" Visible="false" runat="server" />
            <hims:EmployeeSearchControl ID="EmployeeSearch" Visible="false" runat="server" />
            <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="174"
                                                            Visible="true" runat="server" />
                                                    </div>
                                                </div>
                                            </td>
                                        </tr>
                                    </table>
                                </div>
                            </div>
                            <div class="whiteboxpaddingleft row">
                                <Library:LibraryControl ID="LibraryUserControl" runat="server" Visible="true" />
                                <div class="contentHolder" style="padding-left: 0px; padding-right: 0px; padding-top: 0px">
                                    <div class="himssuHeader1WireBox card card-box">
                                        <div class="himsBoxHeader card-head">
                                            <div class="leftdiv">
                                            </div>
                                            <div class="himsBoxTitle">
                                                <div class="headerText">
                                                    <header>
                                                        <i class="fas fa-cog"></i>
                                                    <%--Changed for mantis : 38241--%>
                                                    <asp:Label ID="Label1" runat="server" Text="Book Maintenance"></asp:Label>
                                                    </header>
                                                </div>
                                            </div>
                                            <div class="fRight mt-27">
                                                <asp:Button ID="BackButton" runat="Server" OnClick="BackButton_Click" SkinID="0"
                                                    class="btn btn-back fas" Text="&#xf30a;  Back" />
                                            </div>
                                        </div>
                                        <div class="himsBoxContent card-body">
                                            <asp:Panel ID="DetailPanel" runat="Server">
                                                <div class="contentHolder">
                                                    <div class="outerBox pTop5 col-md-3">
                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="BookCodeLabel" runat="server" Text="Book Code" SkinID="MandatoryLabel"></asp:Label>
                                                        </div>
                                                        <div class="fLeft pRight5 display-flex">
                                                            <asp:TextBox ID="BookCodeTextBox" SkinID="CustomWidthTextBox" Width="150px" runat="server"
                                                                MaxLength="25" AutoPostBack="true" OnTextChanged="BookCodeTextBox_TextChanged"> 
                                                            </asp:TextBox>
                                                            <asp:ImageButton ID="BookCodeSearchButton" runat="server" SkinID="FindImage" ToolTip="Book Code Search"
                                                                TabIndex="2" OnClick="BookCodeSearchButton_OnClick" meta:resourcekey="BookCodeSearchButtonResource1" />
                                                            <asp:HiddenField ID="ResourceSourceIdHiddenField" runat="server" />
                                                        </div>
                                                    </div>
                                                    <div class="outerBox pTop5 col-md-3">
                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="BookNameLabel" Text="Book Name" runat="server"></asp:Label></div>
                                                        <div class="fLeft pRight5">
                                                            <asp:TextBox ID="BookNameTextBox" runat="server" onmouseleave="showHideTooltip()"
                                                                onmouseenter="showHideTooltip()" MaxLength="200" SkinID="CustomWidthTextBox"
                                                                ></asp:TextBox>
                                                        </div>
                                                    </div>
                                                   
                                                    <div class="outerBox pTop5 col-md-3">
                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="CurrentBookStatusLabel" Text="Current Book Status" runat="server"></asp:Label></div>
                                                        <div class="fLeft pRight5">
                                                            <asp:TextBox ID="CurrentBookStatusTextBox" runat="server" onmouseleave="showHideTooltip()"
                                                                onmouseenter="showHideTooltip()" SkinID="CustomWidthTextBox"></asp:TextBox>
                                                            <asp:HiddenField ID="CurrentBookStatusHiddenField" runat="server" />
                                                        </div>
                                                    </div>
                                                    <div class="outerBox pTop5 col-md-3">
                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="BookStatusLabel" Text="Book Status" runat="server" SkinID="MandatoryLabel"></asp:Label></div>
                                                        <div class="fLeft pRight5">
                                                            <asp:DropDownList ID="BookStatusDropDownList" 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="LogDateLabel" runat="server" Text="Log Date" SkinID="MandatoryLabel"></asp:Label>
                                                        </div>
                                                        <div class="fLeft pRight5">
                                                            <Date:DatePickerControl DisplayDatePicker="true" ID="LogDatePickerControl" runat="server" />
                                                            <asp:HiddenField ID="BookLogIdHiddenField" runat="server" />
                                                        </div>
                                                    </div>
                                                    <div class="outerBox pTop5 col-md-3">
                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="DueDateLabel" runat="server" Text="Due Date"></asp:Label>
                                                        </div>
                                                        <div class="fLeft pRight5">
                                                            <Date:DatePickerControl DisplayDatePicker="true" ID="DueDatePickerControl" runat="server" />
                                                        </div>
                                                    </div>
                                                   
                                                    <div class="outerBox11 pTop5 col-md-3">
                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="RemarkLabel" Text="Remark" runat="server"></asp:Label></div>
                                                        <div class="fLeft pRight5">
                                                            <asp:TextBox ID="RemarkTextBox" runat="server" onmouseleave="showHideTooltip()" SkinID="MultiLineTextBox"
                                                                onmouseenter="showHideTooltip()" MaxLength="150" TextMode="MultiLine">
                                                                </asp:TextBox>
                                                        </div>
                                                    </div>
                                                  
                                                </div>
                                            </asp:Panel>
                                        </div>
                                    </div>
                                </div>                               
                            </div>                                       
                </div>
            </div>
            
        </ContentTemplate>
    </asp:UpdatePanel>   
      <%--<script data-main="../../JavaScript/rjs/encrypt/book-maintainance-encrypt" src="../../JavaScript/rjs/require.js"></script>--%>
    <script data-main='<%=ResolveUrl("~/JavaScript/rjs/book-maintainance")%>' src='<%=ResolveUrl("~/JavaScript/rjs/require.js")%>'></script>    
</asp:Content>