<%@ page title="" language="C#" masterpagefile="~/Pages/Common/MasterPages/MainMasterPage_new.master" autoeventwireup="true" inherits="Pages_BaseFramework_Utilities_ImportLessonPlan, App_Web_eg4cnlci" enableEventValidation="false" viewStateEncryptionMode="Never" %>

<%@ Register Src="~/UserControls/Common/ScreenGroup/ScreenGroup.ascx" TagName="ScreenGroupControl"
    TagPrefix="ScreenGroup" %>
<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
    <%--<link href="../../../App_Themes/responsiv-popup.css" rel="stylesheet" />
    <div id="dvTestLoadingmsg" class="hls-wrap">
        <div class="hls-container">
            <div class="hls-content">
                <div class="dsh-syndicate white-popup" style="display: inline-block; width: 119%; height: 150px">
                    <div class="shippingcard" style="text-align: center; vertical-align: middle; width: 100%;">
                        <span id="spn1msg">Loading Details</span><br>
                        <span style="line-height: 2;" id="spn2msg"><b>Please Wait ...</b></span><br>
                        <span id="spnloadingimgOPD">
                            <img src="../../../Images/Loading1.gif" /></span>
                    </div>
                </div>
            </div>
        </div>
    </div>--%>
    <asp:UpdatePanel ID="HREmployeeMasterSearchUpdatePanel" runat="server" UpdateMode="Conditional">
        <ContentTemplate>
            <input type="hidden" id="hdnSessionid" runat="server" />
            <div id="divContentPage" class="divcontentpagemargin">

                <div class="dashBoardLeftCont" valign="top">
                    <div class="himssuHeader3WireBox">
                        <table cellpadding="0" cellspacing="0">
                            <tr>
                                <td>
                                    <div class="himsBoxContent">
                                        <div class="leftUlMenu">
                                            <ScreenGroup:ScreenGroupControl EnableViewState="true" ID="ScreenGroupControl" ScreenGroupId="127"
                                                Visible="true" runat="server" />
                                        </div>
                                    </div>
                                </td>
                            </tr>
                        </table>
                    </div>
                </div>
                <div class="row whiteboxpaddingleft">
                    <div class="himssuHeader1WireBox card card-box card-body" style="padding-bottom: 15px;">
                        <div class="himsBoxHeader card-head" id="Div4" runat="server" visible="True">
                            <div class="leftdiv">
                            </div>
                            <div class="himsBoxTitle">
                                <div class="headerText fLeft">
                                    <header>
                                        <i class="fas fa-download"></i>
                                        <asp:Label ID="Label4" Text="Import Lesson Plan" runat="server" />
                                    </header>
                                </div>
                            </div>
                        </div>
                        <div class="help-tableformat">
                            <div class="helppadding col-md-12 pTop5">
                                <div class="alert alert-info">
                                     <i class="material-icons pos-rel">info</i> |&nbsp;
                                    <asp:Label ID="lblMssg" Text="Notes : Text data to be Separated" runat="server" />
                                </div>
                            </div>
                        </div>
                        <div class="outerBox pTop5 col-md-3">
                            <div class="controlLabelWidth">
                                <asp:HyperLink ID="HyperLink1" runat="server" Text="&#xf101; Download Template" NavigateUrl="~/ContentTemplates/Import/LessonPlan_Import_Template.xls" CssClass="pointer fas"></asp:HyperLink>
                            </div>
                        </div>
                        <div class="cBoth">
                        </div>
                        <div class="outerBox pTop5 col-md-3">
                            <div class="controlLabelWidth">
                                <a href="javascript:;" onclick="OpenFileUpload();" class="btn btn-browser">
                                    <i class="fa fa-arrow-down"></i>Browse</a>
                                <asp:FileUpload ID="flUpload" runat="server" onChange="readURL(this);" ClientIDMode="Static" Style="display: none;" />
                            </div>
                            <asp:Label ID="Label2" runat="server" Text="" Style="padding-left: 10px; font-size: medium;"></asp:Label>
                        </div>
                        <div class="outerBox pTop5 col-md-3">
                            <div class="controlLabelWidth">
                                <asp:Button ID="ImportLessonPlan" runat="server" OnClick="ImportLessonPlan_Click" Text="&#xf019; Import Lesson Plan" CssClass="btn btn-examcommon fas"
                                    SkinID="0" />
                            </div>
                        </div>
                        <div class="cBoth">
                        </div>
                        <div class="himssuHeader1WireBox col-md-12">
                            <div class="himsBoxHeader" id="ImportLessonPlanGridViewPagerDiv" runat="server" visible="true">
                                <div class="leftdiv">
                                </div>
                                <div class="himsBoxTitle">
                                    <div class="gridHeaderText fLeft">
                                        <asp:Label ID="GridViewLabel" Text="" runat="server" Font-Bold="True" meta:resourcekey="GridViewLabelResource1" />
                                    </div>
                                </div>
                            </div>
                            <div class="himsBoxContent">
                                <div id="Div5" runat="server" class="table-responsive">
                                    <asp:GridView runat="server" ID="LessonPlanGridView" AutoGenerateColumns="False"
                                        EmptyDataText="No records available for the seacrh criteria!" DataKeyNames="Class,Division,Subject,Topic,Start Date,End Date"
                                        AllowPaging="false" ShowHeader="true" CssClass="table table-striped table-bordered table-hover">
                                        <Columns>
                                            <asp:TemplateField HeaderStyle-HorizontalAlign="Left" HeaderText="Class">
                                                <ItemTemplate>
                                                    <asp:Label ID="ClassLabel" runat="server" Text='<%# Eval("Class") %>' CssClass="boxEllips"
                                                        Width="100px"></asp:Label>
                                                </ItemTemplate>
                                                <HeaderStyle HorizontalAlign="Left" />
                                                <ItemStyle HorizontalAlign="Left" Width="14%" />
                                            </asp:TemplateField>
                                            <asp:TemplateField HeaderStyle-HorizontalAlign="Left" HeaderText="Division">
                                                <ItemTemplate>
                                                    <asp:Label ID="DivisionLabel" runat="server" Text='<%# Eval("Division") %>'
                                                        CssClass="boxEllips" Width="100px"></asp:Label>
                                                </ItemTemplate>
                                                <HeaderStyle HorizontalAlign="Left" />
                                                <ItemStyle HorizontalAlign="Left" Width="14%" />
                                            </asp:TemplateField>
                                            <asp:TemplateField HeaderStyle-HorizontalAlign="Left" HeaderText="Subject">
                                                <ItemTemplate>
                                                    <asp:Label ID="SubjectLabel" runat="server" Text='<%# Eval("Subject") %>' CssClass="boxEllips"
                                                        Width="100px"></asp:Label>
                                                </ItemTemplate>
                                                <HeaderStyle HorizontalAlign="Left" />
                                                <ItemStyle HorizontalAlign="Left" Width="15%" />
                                            </asp:TemplateField>
                                            <asp:TemplateField HeaderStyle-HorizontalAlign="Left" HeaderText="Topic">
                                                <ItemTemplate>
                                                    <asp:Label ID="TopicLabel" runat="server" Text='<%# Eval("Topic") %>' CssClass="boxEllips"
                                                        Width="100px"></asp:Label>
                                                </ItemTemplate>
                                                <HeaderStyle HorizontalAlign="Left" />
                                                <ItemStyle HorizontalAlign="Left" Width="15%" />
                                            </asp:TemplateField>
                                            <asp:TemplateField HeaderStyle-HorizontalAlign="Left" HeaderText="StartDate">
                                                <ItemTemplate>
                                                    <asp:Label ID="StartDateLabel" runat="server" Text='<%# Eval("Start Date") %>' CssClass="boxEllips"
                                                        Width="100px"></asp:Label>
                                                </ItemTemplate>
                                                <HeaderStyle HorizontalAlign="Left" />
                                                <ItemStyle HorizontalAlign="Left" Width="14%" />
                                            </asp:TemplateField>
                                            <asp:TemplateField HeaderStyle-HorizontalAlign="Left" HeaderText="EndDate">
                                                <ItemTemplate>
                                                    <asp:Label ID="EndDateLabel" runat="server" Text='<%# Eval("End Date") %>' CssClass="boxEllips"
                                                        Width="100px"></asp:Label>
                                                </ItemTemplate>
                                                <HeaderStyle HorizontalAlign="Left" />
                                                <ItemStyle HorizontalAlign="Left" Width="14%" />
                                            </asp:TemplateField>
                                            <asp:TemplateField HeaderStyle-HorizontalAlign="Left" HeaderText="Completed">
                                                <ItemTemplate>
                                                    <asp:Label ID="CompletedLabel" runat="server" Text='<%# Eval("Completed") %>' CssClass="boxEllips"
                                                        Width="100px"></asp:Label>
                                                </ItemTemplate>
                                                <HeaderStyle HorizontalAlign="Left" />
                                                <ItemStyle HorizontalAlign="Left" Width="14%" />
                                            </asp:TemplateField>
                                        </Columns>
                                        <PagerSettings Visible="true" />
                                    </asp:GridView>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
               
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>
 <%--   <script data-main="../../../JavaScript/rjs/import-employee" src="../../../JavaScript/rjs/require.js"></script>--%>
      <script data-main='<%=ResolveUrl("~/JavaScript/rjs/import-employee")%>' src='<%=ResolveUrl("~/JavaScript/rjs/require.js")%>'></script>
</asp:Content>
