<%@ page title="" language="C#" masterpagefile="~/Pages/Common/MasterPages/MainMasterPage_new.master" autoeventwireup="true" inherits="Pages_StudentManagement_CanteenMenu, App_Web_rq25k5je" 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/Common/CommonSearch/CommonSearch.ascx" TagName="CommonSearchUserControl" TagPrefix="Common" %>
<%@ Register Src="~/UserControls/Common/ScreenGroup/ScreenGroup.ascx" TagName="ScreenGroupControl" TagPrefix="ScreenGroup" %>

<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 ID="ScreenGroupControl" ScreenGroupId="114" runat="server" />
                                                    </div>
                                                </div>
                                            </td>
                                        </tr>
                                    </table>
                                </div>
                            </div>
                            <div class="whiteboxpaddingleft row">
                                 <div class="himssuHeader1WireBox card card-box">
                                 <div class="himsBoxHeader card-head" id="Div4" runat="server" visible="True">
                                      
                                        <div class="himsBoxTitle">
                                            <div class="headerText fLeft">
                                                <header>
                                                    <i class="fas fa-utensils"></i>
                                                <asp:Label ID="Label4" Text="Canteen Menu" 
                                                    runat="server" />
                                                </header>
                                            </div>
                                        </div>
                                    </div>
                                <div class="himssuHeader5WireBox" id="SearchDiv" runat="server">
                                    <div class="himsBoxContent card-body">
                                        <asp:Panel ID="SearchPanel" runat="server" meta:resourcekey="SearchPanelResource1">
                                            <div class="contentHolder">
                                                
                                                <div class="outerBox pTop5 col-md-3" id="SelectCanteen" runat="server">
                                                    <div class="controlLabelWidth">
                                                        <asp:Label ID="SelectCanteenlabel" runat="server" Text="Select Canteen" CssClass="mandatory" meta:resourcekey="SelectCanteenlabelResource1"></asp:Label>
                                                    </div>
                                                    <div class="fLeft pRight5">
                                                        <asp:DropDownList runat="server" ID="SelectCanteenDropDownList" SkinID="CustomWidthDropDownList" AutoPostBack="True"
                                                            CssClass="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" OnSelectedIndexChanged="SelectCanteenDropDownList_SelectedIndexChanged" meta:resourcekey="SelectCanteenDropDownListResource1">
                                                        </asp:DropDownList>
                                                    </div>
                                                </div>
                                                <div class="outerBox pTop5 col-md-3" id="OrgnaizationDiv" runat="server">
                                                    <div class="controlLabelWidth">
                                                        <asp:Label ID="OrganizationLabel" runat="server" Text="BreakType" meta:resourcekey="OrganizationLabelResource1"></asp:Label>
                                                    </div>
                                                    <div class="fLeft pRight5">
                                                        <asp:DropDownList runat="server" ID="BreakTypeDropDownList" SkinID="CustomWidthDropDownList" AutoPostBack="true"
                                                            CssClass="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" OnSelectedIndexChanged="BreakTypeDropDownList_SelectedIndexChanged" meta:resourcekey="BreakTypeDropDownListResource1">
                                                        </asp:DropDownList>
                                                    </div>
                                                </div>
                                                <div class="outerBox11 pTop15 col-md-3">
                                                    <div class="fLeft">
                                                        <asp:CheckBox ID="ClasswiseCheckBox" runat="server" Text="Class Wise" AutoPostBack="True" />
                                                    </div>
                                                </div>
                                                <div class="alignCenter pTop5 col-md-12 center">
                                                    <asp:Button ID="SearchButton" Text="&#xf002; Search" runat="server" OnClick="SearchButton_Click" SkinID="0" class="btn-search btn fas" />
                                                    <asp:Button ID="ResetButton" runat="server" Text="&#xf0e2; Reset" OnClick="ResetButton_Click" SkinID="0"  class="btn-reset btn fas"/>
                                                    
                                                </div>
                                              
                                                <div id="Div2" class="himssuHeader7WireBox col-md-12" runat="server">
                                                    <div id="FoodItemMasterListDetailDiv" runat="server" visible="False">
                                                        
                                                        <div class="himsBoxHeader card-head inner" id="FoodItemMasterListDiv" runat="server">
                                                            <div class="leftdiv">
                                                            </div>
                                                            <div class="himsBoxTitle">
                                                                <div align="right" class="fRight" runat="server" style="margin-bottom:8px">
                                                                    <asp:Button ID="PreviousButton" runat="server" Text="&#xf048; Previous" OnClick="PreviousButton_Click" SkinID="0" CssClass="btn btn-prev fas"/> 
                                                                   <asp:Button ID="NextButton" runat="server" Text="&#xf051; Next" OnClick="NextButton_Click" SkinID="0" CssClass="btn btn-next fas"/>
                                                                                                                                      
                                                                </div>
                                                            </div>
                                                            <%--<div class="gridHeaderText">
                                                            <header>
                                                            <asp:Label ID="AssignRouteLabel" runat="server" Text="Canteen Menu"></asp:Label>
                                                            </header>
                                                            </div>--%>
                                                        </div>
                                                     
                                                        <div class="himsBoxContent width-100">
                                                       
                                                            <div id="Div5" runat="server" visible="False" class="table-responsive">

                                                                 <asp:GridView ID="FoodItemMasterGridView" runat="server" AutoGenerateColumns="False"
                                                                    CssClass="table table-striped table-bordered table-hover" EmptyDataText="No Records Found !!"
                                                                    DataKeyNames="MenuDate" meta:resourcekey="FoodItemMasterGridViewResource1">
                                                                    <Columns>
                                                                
                                                                        <asp:TemplateField HeaderText="Menu Date" meta:resourcekey="TemplateFieldResource1">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="MenuDateLabel" runat="server" Text='<%# Bind("MenuDate","{0:dd/MM/yyyy}") %>' meta:resourcekey="MenuDateLabelResource1"></asp:Label>
                                                                            </ItemTemplate>
                                                                            <HeaderStyle HorizontalAlign="Left" />
                                                                            <ItemStyle Width="10%" Wrap="True" />
                                                                        </asp:TemplateField>
                                                                        
                                                                        <asp:TemplateField HeaderText="Days">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="DaysLabel" runat="server" Text='<%# Bind("Days") %>'></asp:Label>
                                                                            </ItemTemplate>
                                                                            <HeaderStyle HorizontalAlign="Left" />
                                                                            <ItemStyle HorizontalAlign="Left" Width="10%" Wrap="True" />
                                                                        </asp:TemplateField>

                                                                        <asp:TemplateField HeaderText="BreakType">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="BreakTypeLabel" runat="server" Text='<%# Bind("BreakType") %>'></asp:Label>
                                                                            </ItemTemplate>
                                                                            <HeaderStyle HorizontalAlign="Left" />
                                                                            <ItemStyle HorizontalAlign="Left" Width="15%" Wrap="True" />
                                                                        </asp:TemplateField>

                                                                        <%--<asp:BoundField DataField="Days" HeaderText="Days" meta:resourcekey="BoundFieldResource1" >
                                                                        <HeaderStyle HorizontalAlign="Left" />
                                                                        <ItemStyle Width="10%" />
                                                                        </asp:BoundField>

                                                                        <asp:BoundField DataField="BreakType" HeaderText="BreakType" >
                                                                        <HeaderStyle HorizontalAlign="Left" />
                                                                        <ItemStyle Width="20%" />
                                                                        </asp:BoundField>--%>

                                                                        <asp:TemplateField HeaderText="Title" meta:resourcekey="TemplateFieldResource2">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="TitleLabel" runat="server" Text='<%# Bind("Title") %>' meta:resourcekey="TitleLabelResource1"></asp:Label>
                                                                            </ItemTemplate>
                                                                            <HeaderStyle HorizontalAlign="Left" />
                                                                            <ItemStyle HorizontalAlign="Left" Width="20%" Wrap="True"  />
                                                                        </asp:TemplateField>

                                                                        <asp:TemplateField HeaderText="Item" meta:resourcekey="TemplateFieldResource3">
                                                                            <ItemTemplate>
                                                                                 <asp:TextBox ID="ItemLabel" runat="server" Enabled="false" TextMode="MultiLine" Text='<%# Bind("MenuItems") %>' meta:resourcekey="ItemLabelResource1" Height="100%" ></asp:TextBox>
                                                                            </ItemTemplate>
                                                                            <HeaderStyle HorizontalAlign="Left" />
                                                                            <ItemStyle HorizontalAlign="Left" Width="45%" Height="100%" Wrap="True" />
                                                                        </asp:TemplateField>



                                                                    </Columns>
                                                                     <PagerSettings Visible="False" />
                                                                </asp:GridView>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </asp:Panel>
                                    </div>
                                </div>
                                 </div>
                            </div>
                        </tr>
                    </table>
                </div>
            </div>
         
        </ContentTemplate>
    </asp:UpdatePanel>
    <%--    <script data-main="../../JavaScript/rjs/builtjs/fooditem-master-built" src="../../JavaScript/rjs/require.js"></script>--%>
    <%--<script data-main="../../JavaScript/rjs/encrypt/fooditem-master-encrypt" src="../../JavaScript/rjs/require.js"></script>--%>
    <script data-main='<%=ResolveUrl("~/JavaScript/rjs/fooditem-master")%>' src='<%=ResolveUrl("~/JavaScript/rjs/require.js")%>'></script>    
</asp:Content>
