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

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

                <div class="dashBoardLeftCont">
                    <div class="himssuHeader3WireBox">
                        <table>
                            <tr>
                                <td>
                                    <div class="himsBoxContent">
                                        <div class="leftUlMenu">
                                            <ScreenGroup:ScreenGroupControl EnableViewState="true" ID="ScreenGroupControl" ScreenGroupId="167"
                                                Visible="true" runat="server" />
                                        </div>
                                    </div>
                                </td>
                            </tr>
                        </table>
                    </div>
                </div>
                <div class="whiteboxpaddingleft row">
                    <div class="himssuHeader1WireBox card card-box">
                        <div class="contentHolder">
                            <div class="himsBoxHeader card-head">
                                <asp:Panel ID="Panel6" runat="server">

                                    <div class="leftdiv">
                                    </div>
                                    <div class="himsBoxTitle">
                                        <div class="headerText">
                                            <asp:Image ID="Image7" runat="server" />
                                            <header>
                                                <i class="fas fa-search"></i>
                                                <asp:Label ID="Label4" runat="server" Text="Import Transport BusRoute"></asp:Label>
                                            </header>
                                        </div>
                                    </div>
                                </asp:Panel>
                            </div>
                            <div class="himsBoxContent card-body">
                                <asp:Panel ID="Panel7" runat="Server">
                                    <div class="contentHolder">
                                        <asp:Panel ID="Panel8" runat="Server">
                                            <div class="outerBox pTop5 col-md-3">
                                                <div class="controLabelWidth">
                                                    <asp:Label ID="Label1" Text="Transport" runat="server" SkinID="MandatoryLabel"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <asp:DropDownList runat="server" ID="TransportDropDownList" SkinID="CustomWidthDropDownList"
                                                        CssClass="form-control" onmouseleave="showHideTooltip()"
                                                        onmouseenter="showHideTooltip()">
                                                    </asp:DropDownList>
                                                </div>
                                            </div>
                                            <div class="outerBox pTop5 col-md-3">
                                                <div class="controLabelWidth">
                                                    <asp:Label ID="Label5" Text="From Batch" runat="server" SkinID="MandatoryLabel"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <asp:DropDownList runat="server" ID="BatchDropDownList" SkinID="CustomWidthDropDownList"
                                                        CssClass="form-control" onmouseleave="showHideTooltip()"
                                                        onmouseenter="showHideTooltip()">
                                                    </asp:DropDownList>
                                                </div>
                                            </div>

                                            <div class="alignCenter pTop5 col-md-12">
                                                <asp:Button ID="SearchButton" runat="Server" OnClick="SearchButton_Click" SkinID="0" CssClass="btn-search btn fas" Text="&#xf002; Search" />
                                                <asp:Button ID="ImportButton" runat="server" Text="&#xf019; Import BusRoute" SkinID="0" OnClick="ImportButton_Click" CssClass="btn btn-assign fas" />
                                                <asp:Button ID="ImportStudentButton" runat="server" Text="&#xf019; Import Assign route" SkinID="0" OnClick="ImportStudentButton_Click" CssClass="btn btn-assign fas" />
                                                <%-- <asp:Button ID="UpdateAssignRouteButton" runat="server" Text="Update Assign route" OnClick="UpdateAssignRouteButton_Click" />--%>
                                            </div>
                                            <div id="Div5" runat="server" visible="false" class="table-responsive">
                                                <asp:GridView ID="BusRouteMasterGridView" runat="server" AutoGenerateColumns="False"
                                                    AllowPaging="true" PageSize="200" SkinID="" PagerSettings-Visible="false" EmptyDataText="No Records Found !!"
                                                    CssClass="table table-striped table-bordered table-hover" DataKeyNames="BusRouteId">
                                                    <Columns>
                                                        <asp:TemplateField HeaderText="Select" HeaderStyle-HorizontalAlign="Center" ItemStyle-Width="10%"
                                                            ItemStyle-Wrap="true">
                                                            <HeaderTemplate>
                                                                <label class="rt-chkbox rt-chkbox-outline">
                                                                    <asp:CheckBox ID="HeaderSelectCheckBox" runat="server" Enabled="true" AutoPostBack="true"
                                                                        Visible="true" OnCheckedChanged="HeaderSelectCheckBox_CheckedChanged" />
                                                                    <span></span>
                                                                </label>
                                                            </HeaderTemplate>
                                                            <ItemStyle HorizontalAlign="Center" />
                                                            <ItemTemplate>
                                                                <label class="rt-chkbox rt-chkbox-outline">
                                                                    <asp:CheckBox ID="SelectCheckBox" runat="server" />
                                                                    <span></span>
                                                                </label>
                                                            </ItemTemplate>
                                                        </asp:TemplateField>

                                                        <asp:TemplateField ItemStyle-Width="20%" ItemStyle-HorizontalAlign="Center" ItemStyle-Wrap="true"
                                                            HeaderText="Route Code">
                                                            <ItemTemplate>
                                                                <asp:Label ID="RouteCodeLabel" runat="server" Text='<%# DataBinder.Eval(Container.DataItem,"RouteCode").ToString()=="0"?"":DataBinder.Eval(Container.DataItem,"RouteCode") %>'></asp:Label>
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                        <asp:TemplateField ItemStyle-Width="10%" ItemStyle-HorizontalAlign="Center" ItemStyle-Wrap="true"
                                                            HeaderText="Route Number">
                                                            <ItemTemplate>
                                                                <asp:Label ID="RouteNumberLabel" runat="server" Text='<%# DataBinder.Eval(Container.DataItem,"RouteNumber").ToString()=="0"?"":DataBinder.Eval(Container.DataItem,"RouteNumber") %>'></asp:Label>
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                        <asp:TemplateField ItemStyle-Width="20%" ItemStyle-HorizontalAlign="Center" ItemStyle-Wrap="true"
                                                            HeaderText="Route Number">
                                                            <ItemTemplate>
                                                                <asp:Label ID="BusRouteNameLabel" runat="server" Text='<%# DataBinder.Eval(Container.DataItem,"BusRoute").ToString()=="0"?"":DataBinder.Eval(Container.DataItem,"BusRoute") %>'></asp:Label>
                                                            </ItemTemplate>
                                                        </asp:TemplateField>                                                       
                                                        <asp:TemplateField HeaderText="Status" ItemStyle-Width="10%" SortExpression="BusRouteIsObsolete"
                                                            HeaderStyle-HorizontalAlign="Center" ItemStyle-HorizontalAlign="Center" ItemStyle-Wrap="true">
                                                            <ItemTemplate>
                                                                <asp:Label ID="StatusLabel" runat="server" ></asp:Label>
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                    </Columns>
                                                </asp:GridView>
                                            </div>
                                        </asp:Panel>
                                    </div>
                                </asp:Panel>


                                <div class="himssuHeader1WireBox width-100" runat="server">
                                    <div class="himsBoxHeader card-head inner">
                                        <div class="leftdiv">
                                        </div>
                                        <div class="himsBoxTitle">
                                            <div class="gridHeaderText">
                                                <header>
                                                    <asp:Label ID="Label2" runat="server" Text="Clear Bus Route Mapping"></asp:Label>
                                                </header>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="himsBoxContent pTop5">
                                        <div class="contentHolder">
                                            <div class="outerBox pTop5 col-md-3">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="OrganizationLabel" Text="Organization" runat="server" SkinID="MandatoryLabel"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <asp:DropDownList ID="OrganizationDropDownList" 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="TransportLabel" runat="server" Text="Transport" SkinID="MandatoryLabel"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <asp:DropDownList ID="ClTransportDropDownList" runat="server" SkinID="CustomWidthDropDownList"
                                                        CssClass="form-control" AutoPostBack="true" OnSelectedIndexChanged="ClTransportDropDownList_OnSelectedIndexChanged">
                                                    </asp:DropDownList>
                                                </div>
                                            </div>
                                            <div class="outerBox pTop5 col-md-3">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="BusRouteLabel" runat="server" Text="Bus Route" SkinID="MandatoryLabel"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <asp:DropDownList runat="server" ID="BusRouteDropDownList" SkinID="CustomWidthDropDownList"
                                                        CssClass="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()">
                                                    </asp:DropDownList>
                                                </div>
                                            </div>

                                            <div class="alignCenter pTop5 col-md-12 middle">
                                                <asp:Button ID="DeleteRouteButton" runat="server" Text="&#xf2ed; Delete Route" meta:resourcekey="DeleteRouteButtonResource1"
                                                    SkinID="0" CssClass="fas btn btn-delete" OnClick="DeleteRouteButton_Click" />
                                                <asp:Button ID="ClearRoutButton" runat="server" Text="&#xf12d; Clear" meta:resourcekey="ClearButtonResource1"
                                                    SkinID="0" OnClick="ClearRoutButton_Click" CssClass="fas btn btn-clear" />
                                            </div>

                                        </div>
                                    </div>
                                </div>


                            </div>

                        </div>
                    </div>
        </ContentTemplate>
    </asp:UpdatePanel>
    <%--<script data-main="../../../JavaScript/rjs/encrypt/assessment-admin-encrypt" src="../../../JavaScript/rjs/require.js"></script>--%>
    <script data-main='<%=ResolveUrl("~/JavaScript/rjs/assessment-admin")%>' src='<%=ResolveUrl("~/JavaScript/rjs/require.js")%>'></script>
</asp:Content>
