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

<%@ Register Src="~/UserControls/GridViewPager/GridViewPager.ascx" TagName="GridViewPager"
    TagPrefix="uc1" %>
<%@ Register Src="~/UserControls/Common/ScreenGroup/ScreenGroup.ascx" TagName="ScreenGroupControl"
    TagPrefix="ScreenGroup" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<%@ Register Src="~/UserControls/DatePicker/DatePickerControl.ascx" TagName="DatePickerControl"
    TagPrefix="Date" %>
<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
    <asp:UpdatePanel ID="CountryMasterUpdatePanel" runat="server">
        <ContentTemplate>
            <div id="divContentPage" class="divcontentpagemargin">
                <!-- ContentPlaceHolder Box Starts -->

                <div class="dashBoardLeftCont" valign="top">
                    <%--<div class="himssuHeader3WireBox">
                                    <div class="himsBoxHeader">
                                        <div class="leftdiv">
                                        </div>
                                        <div class="himsBoxTitle">
                                            <div class="headerText">
                                            <asp:Label runat="server" ID="ScreenGroupNameLabel"></asp:Label>    
                                            </div>
                                        </div>
                                    </div>--%>
                    <table width="0px" cellpadding="0" cellspacing="0">
                        <tr>
                            <td>
                                <div class="himsBoxContent">
                                    <div class="leftUlMenu">
                                        <ScreenGroup:ScreenGroupControl EnableViewState="true" ID="ScreenGroupControl" ScreenGroupId="241"
                                            Visible="true" runat="server" />
                                    </div>
                                </div>
                            </td>
                        </tr>
                    </table>
                </div>

                <div class="row whiteboxpaddingleft">
                    <!-- Sub Container2 Box Start -->
                    <div class="himssuHeader5WireBox card card-box" id="SearchDiv" runat="server">
                        <div class="himsBoxHeader card-head">
                            <asp:Panel ID="TopPanel" runat="server" meta:resourcekey="TopPanelResource1">
                                <div class="leftdiv">
                                </div>
                                <div class="himsBoxTitle">
                                    <%--<asp:Image ID="Image2" runat="server" class="fLeft" 
                                meta:resourcekey="Image2Resource1" />--%>
                                    <div class="headerText">
                                        <header>
                                            <i class="fas fa-search"></i>
                                            <asp:Label ID="Label1" runat="server" Text="Search"></asp:Label>
                                        </header>
                                        <%--<cc1:CollapsiblePanelExtender ID="CollapsiblePanelExtender1" runat="server" TargetControlID="DetailPanel"
                                    ExpandControlID="Image2" CollapseControlID="Image2" TextLabelID="Label1" Collapsed="True"
                                    CollapsedText="Search" ExpandedText="Search" ImageControlID="Image2" ExpandedImage="~/images/buttonCollapse.gif"
                                    CollapsedImage="~/images/buttonExpand.gif" Enabled="True" />--%>
                                    </div>
                                    <div class="fRight mt-27">
                                    </div>
                                </div>
                            </asp:Panel>
                        </div>
                        <asp:Panel ID="DetailPanel" runat="server" meta:resourcekey="DetailPanelResource1">
                            <div class="himsBoxContent card-body">
                                <div class="contentHolder">

                                    <asp:HiddenField ID="ResourceMasterHiddenField" runat="server" />

                                    <div id="AvailableCountriesGridViewDiv" runat="server">
                                        <div class="spacer">
                                            <asp:Image ID="Image3" runat="server" ImageUrl="~/Images/spacer.gif" meta:resourcekey="Image3Resource1" />
                                        </div>
                                        <div class="himssuHeader7WireBox col-md-12" id="PatientRelationDiv"
                                            runat="server" style="width: 99%; margin-right: 5px;">
                                            <div class="himsBoxHeader" id="GridHeaderDiv" runat="server">
                                                <div class="leftdiv">
                                                </div>
                                                <div class="himsBoxTitle" style="width: 99%">
                                                    <%-- <div class="headerText">
                                                <div class="fLeft">
                                                    <asp:Label ID="AvailableCountriesGridViewLabel" Text="Country List" 
                                                        runat="server" meta:resourcekey="AvailableCountriesGridViewLabelResource1" />
                                                </div>
                                            </div>--%>
                                                    <div align="right" class="fRight" style="margin-top: 0px;">
                                                        <%--<uc1:GridViewPager ID="AvailableCountriesGridViewPager" runat="server" OnFirstRecordClick="GridViewPager_FirstRecordClick"
                                                    OnLastRecordClick="GridViewPager_LastRecordClick" OnNextRecordClick="GridViewPager_NextRecordClick"
                                                    OnPrevRecordClick="GridViewPager_PrevRecordClick" OnTextBoxValueChange="GridViewPager_TextBoxValueChange"
                                                    ParentGridView="AvailableCountriesGridView" />--%>
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="himsBoxContent">
                                                <%--  <div id="DivHeader" style="vertical-align: top; width: 100%;">
                                            <asp:Table ID="AvailableCountriesGridViewTable" runat="server" CellPadding="0" CellSpacing="0"
                                                BackColor="#E8E8E8" ForeColor="Black" Width="100%" GridLines="Both" 
                                                CssClass="GridViewTableRow" 
                                                meta:resourcekey="AvailableCountriesGridViewTableResource1">
                                            </asp:Table>
                                        </div>--%>
                                                <div class="himsBoxContentMsg" id="GridContentDiv" runat="server" visible="False">
                                                </div>
                                                <%--    <div id="DivData" class="Container" style="vertical-align: top; height: 109px; width: 99.6%;">--%>
                                                <div id="Div3" runat="server" class="table-responsive">
                                                    <asp:GridView ID="AvailableResourceGridView" runat="server" AutoGenerateColumns="False"
                                                        Width="100%" OnRowDataBound="AvailableResourceGridView_RowDataBound" CssClass="table table-striped table-bordered table-hover"
                                                        ShowHeader="True" OnPageIndexChanging="AvailableResourceGridView_OnPageIndexChanging"
                                                        EmptyDataText="No Area Available" meta:resourcekey="AvailableCountriesGridViewResource1">
                                                        <Columns>
                                                            <asp:TemplateField meta:resourcekey="TemplateFieldResource1">
                                                                <ItemTemplate>
                                                                    <asp:LinkButton ID="EditLinkButton" runat="server" OnClick="LinkButton_Click" Text="Select"
                                                                        CausesValidation="False" ForeColor="Blue" CommandName="Select" meta:resourcekey="EditLinkButtonResource1"></asp:LinkButton>
                                                                </ItemTemplate>
                                                                <ItemStyle HorizontalAlign="Center" Width="5%" />
                                                            </asp:TemplateField>
                                                            <asp:TemplateField HeaderText="RequestDate" meta:resourcekey="TemplateFieldResource2" HeaderStyle-HorizontalAlign="Left">
                                                                <ItemTemplate>
                                                                    <asp:Label ID="RequestDate_Label" runat="server" CssClass="boxEllips" ToolTip='<%# Bind("RequestDate","{0:dd/MM/yyyy}") %>'
                                                                        Text='<%# Bind("RequestDate","{0:dd/MM/yyyy}") %>'></asp:Label>
                                                                </ItemTemplate>
                                                                <ItemStyle HorizontalAlign="Left" Width="5%" />
                                                            </asp:TemplateField>
                                                            <asp:TemplateField HeaderText="RequestFromTime" meta:resourcekey="TemplateFieldResource2" HeaderStyle-HorizontalAlign="Left">
                                                                <ItemTemplate>
                                                                    <asp:Label ID="RequestFromTime_Label" runat="server" CssClass="boxEllips" ToolTip='<%# Bind("RequestFromTime","{0:dd/MM/yyyy}") %>'
                                                                        Text='<%# Bind("RequestFromTime","{0:dd/MM/yyyy}") %>'></asp:Label>
                                                                </ItemTemplate>
                                                                <ItemStyle HorizontalAlign="Left" Width="5%" />
                                                            </asp:TemplateField>

                                                            <asp:TemplateField HeaderText="RequestToTime" HeaderStyle-HorizontalAlign="Center" meta:resourcekey="TemplateFieldResource4">

                                                                <ItemTemplate>
                                                                    <asp:Label ID="RequestToTimeLabel" runat="server" Text='<%# Bind("RequestToTime","{0:dd/MM/yyyy}") %>'
                                                                        meta:resourcekey="ObsoleteLabelResource1"></asp:Label>
                                                                </ItemTemplate>
                                                                <ItemStyle HorizontalAlign="Left" Width="5%" />
                                                            </asp:TemplateField>
                                                            <asp:TemplateField HeaderText="RequestedBy" HeaderStyle-HorizontalAlign="Center" meta:resourcekey="TemplateFieldResource4">

                                                                <ItemTemplate>
                                                                    <asp:Label ID="RequestedByLabel" runat="server" Text='<%# Bind("RequestedBy") %>'
                                                                        meta:resourcekey="ObsoleteLabelResource1"></asp:Label>
                                                                </ItemTemplate>
                                                                <ItemStyle HorizontalAlign="Left" Width="5%" />
                                                            </asp:TemplateField>
                                                            <asp:TemplateField HeaderText="Requested Remark" HeaderStyle-HorizontalAlign="Center" meta:resourcekey="TemplateFieldResource4">

                                                                <ItemTemplate>
                                                                    <asp:Label ID="RequestedRemarkLabel" runat="server" Text='<%# Bind("RequestedRemark") %>'
                                                                        meta:resourcekey="ObsoleteLabelResource1"></asp:Label>
                                                                </ItemTemplate>
                                                                <ItemStyle Width="15%" />
                                                            </asp:TemplateField>
                                                            <asp:TemplateField Visible="False" meta:resourcekey="TemplateFieldResource5">
                                                                <EditItemTemplate>
                                                                    <asp:TextBox ID="IdTextBox" runat="server" Text='<%# Bind("Id") %>' meta:resourcekey="CountryIdTextBoxResource1"></asp:TextBox>
                                                                </EditItemTemplate>
                                                                <ItemTemplate>
                                                                    <asp:Label ID="IdLabel" runat="server" Text='<%# Bind("Id") %>' meta:resourcekey="CountryIdLabelResource1"></asp:Label>
                                                                </ItemTemplate>
                                                                <ItemStyle Width="0%" />
                                                            </asp:TemplateField>

                                                            <asp:TemplateField HeaderText="Status" meta:resourcekey="TemplateFieldResource5">

                                                                <ItemTemplate>
                                                                    <asp:Label ID="StatusLabel" runat="server" Text='<%# Bind("Status") %>' meta:resourcekey="CountryIdLabelResource1"></asp:Label>
                                                                </ItemTemplate>
                                                                <ItemStyle Width="5%" />
                                                            </asp:TemplateField>
                                                        </Columns>
                                                        <PagerSettings Visible="False" />
                                                    </asp:GridView>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </asp:Panel>
                    </div>
                    <!-- Sub Container2 Box Ends -->
                    <%--<div class="spacer">
                <asp:Image ID="spacerImage" runat="server" ImageUrl="~/Images/spacer.gif" 
                    meta:resourcekey="spacerImageResource1" />
            </div>--%>
                    <!-- Sub Container1 Box Start -->
                    <div class="himssuHeader1WireBox card card-box" id="DetailDiv" runat="server" visible="false">
                        <div class="himsBoxHeader card-head">
                            <div class="leftdiv">
                            </div>
                            <div class="himsBoxTitle">
                                <div class="headerText">
                                    <header>
                                        <i class="fas fa-cog"></i>
                                        <asp:Label ID="CountryDetailsLabel" runat="server" Text="Maintenance" meta:resourcekey="CountryDetailsLabelResource1"></asp:Label>
                                    </header>
                                </div>
                            </div>

                            <div class="fRight mt-27">
                                <asp:Button ID="BackButton" runat="Server" OnClick="BackButton_Click" SkinID="0"
                                    CssClass="btn btn-back fas" Text="&#xf30a;  back" />
                            </div>
                        </div>
                        <div class="himsBoxContent card-body">
                            <div class="contentHolder">

                                <div class="outerBox pTop5 col-md-3">
                                    <div class="controlLabelWidth">
                                        <asp:Label ID="RequestDateLabel" runat="server" Text="RequestDate" SkinID="MandatoryLabel"
                                            meta:resourcekey="HeaderCountryTitleLabelResource1"></asp:Label>
                                    </div>
                                    <div class="fLeft pRight5">
                                        <Date:DatePickerControl DisplayDatePicker="true" ID="RequestDate_DatePicker" runat="server" />
                                    </div>
                                </div>
                                <div class="outerBox pTop5 col-md-3">
                                    <div class="controlLabelWidth">
                                        <asp:Label ID="RequestFromTimeLabel" runat="server" Text="RequestFromTime" SkinID="MandatoryLabel"
                                            meta:resourcekey="HeaderCountryTitleLabelResource1"></asp:Label>
                                    </div>
                                    <div class="fLeft pRight5">
                                        <Date:DatePickerControl DisplayDatePicker="true" ID="RequestFromTimeDatePickerControl" runat="server" />
                                    </div>
                                </div>

                                <div class="outerBox pTop5 col-md-3">
                                    <div class="controlLabelWidth">
                                        <asp:Label ID="RequestToTimeLabel" runat="server" Text="RequestToTime" SkinID="MandatoryLabel"
                                            meta:resourcekey="HeaderCountryTitleLabelResource1"></asp:Label>
                                    </div>
                                    <div class="fLeft pRight5">
                                        <Date:DatePickerControl DisplayDatePicker="true" ID="RequestToTimeDatePickerControl" runat="server" />
                                    </div>
                                </div>

                                <div class="cBoth">
                                </div>

                                <div class="outerBox pTop5 col-md-3">
                                    <div class="controlLabelWidth">
                                        <asp:Label ID="ResourceIdLabel" runat="server" Text="Resource" SkinID="MandatoryLabel"
                                            meta:resourcekey="HeaderCountryTitleLabelResource1"></asp:Label>
                                    </div>
                                    <div class="fLeft pRight5">
                                        <asp:DropDownList ID="ResourceIdDropDownList" runat="server" CssClass="form-control"></asp:DropDownList>
                                    </div>
                                </div>

                                <div class="outerBox pTop5 col-md-3">
                                    <div class="controlLabelWidth">
                                        <asp:Label ID="RequestedByLabel" runat="server" Text="RequestedBy" SkinID="MandatoryLabel"
                                            meta:resourcekey="HeaderCountryTitleLabelResource1"></asp:Label>
                                    </div>
                                    <div class="fLeft pRight5">
                                        <asp:TextBox ID="RequestedByTextBox" runat="server"></asp:TextBox>
                                    </div>
                                </div>
                                <div class="cBoth">
                                </div>

                                <div class="outerBox pTop5 col-md-6">
                                    <div class="controlLabelWidth">
                                        <asp:Label ID="RequestedRemarkLabel" runat="server" Text="RequestedRemark" SkinID="MandatoryLabel"
                                            meta:resourcekey="HeaderCountryTitleLabelResource1"></asp:Label>
                                    </div>
                                    <div class="fLeft pRight5">
                                        <asp:TextBox ID="RequestedRemarkTextBox" runat="server" TextMode="MultiLine" Height="80px"></asp:TextBox>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="spacer">
                            <img src="../../../Images/spacer.gif" />
                        </div>
                    </div>
                    <!-- Sub Container1 Box Ends -->
                   
                </div>
            </div>
            <div class="spacer">
                <img src="../../../Images/spacer.gif" />
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>
    <%--<script data-main="../../../JavaScript/rjs/encrypt/country-master-encrypt" src="../../../JavaScript/rjs/require.js"></script>--%>
    <script data-main='<%=ResolveUrl("~/JavaScript/rjs/country-master")%>' src='<%=ResolveUrl("~/JavaScript/rjs/require.js")%>'></script>    
</asp:Content>
