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

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxToolkit" %>
<%@ Register Src="~/UserControls/GridViewPager/GridViewPager.ascx" TagName="GridViewPager" TagPrefix="uc1" %>
<%@ Register Src="~/UserControls/Common/ScreenGroup/ScreenGroup.ascx" TagName="ScreenGroupControl" TagPrefix="ScreenGroup" %>

<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
    <asp:UpdatePanel ID="ResonMasterUpdatePanel" 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 EnableViewState="true" ID="ScreenGroupControl" ScreenGroupId="221"
                                                Visible="true" runat="server" />
                                        </div>
                                    </div>
                                </td>
                            </tr>
                        </table>
                    </div>
                </div>
                <div class="whiteboxpaddingleft row">
                    <div class="himssuHeader5WireBox card card-box">
                        <div class="himsBoxHeader card-head">
                            <div class="leftdiv">
                            </div>
                            <div class="himsBoxTitle">
                                <div class="headerText">
                                    <header>
                                        <i class="fal fa-search"></i>
                                        <asp:Label ID="SelectLibraryLabel" runat="server" Text="Select Transport"></asp:Label>
                                    </header>
                                </div>
                            </div>
                        </div>
                        <div class="himsBoxContent card-body">
                            <div class="contentHolder">
                                <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">
                                        <asp:DropDownList ID="TransportDropDownList" runat="server" SkinID="CustomWidthDropDownList"
                                            CssClass="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()">
                                        </asp:DropDownList>
                                    </div>
                                </div>

                                <div class="outerBox pTop5 col-md-12 middle">
                                    <div class="center">
                                        <asp:Button ID="SelectButton" runat="server" Text="&#xf245; Select" OnClick="SelectLibrary_OnClick"
                                            SkinID="0" CssClass="btn btn-select fas" />
                                        <asp:Button ID="ResetButton" runat="server" Text="&#xf0e2; Reset" OnClick="ResetButton_OnClick"
                                            SkinID="0" CssClass="btn-reset btn fas" />
                                        <asp:Button ID="ChangeVTSLoginLinkButton" runat="server" Text="VTS Login" OnClick="ChangeVTSLoginLinkButton_OnClick"
                                            SkinID="0" CssClass="btn" OnClientClick="target ='_blank';" ></asp:Button>

                                    </div>
                                </div>

                            </div>
                        </div>
                    </div>
                </div>
                </tr>
                    </table>                    
            </div>
            </div>
          
        </ContentTemplate>
    </asp:UpdatePanel>
    <%--<script data-main="../../JavaScript/rjs/encrypt/select-transport-encrypt" src="../../JavaScript/rjs/require.js"></script>--%>
    <script data-main='<%=ResolveUrl("~/JavaScript/rjs/select-transport")%>' src='<%=ResolveUrl("~/JavaScript/rjs/require.js")%>'></script>
    <script>

        //Added by dhananajay for mantis Start- 35605
        function RedirectToTransport(TransportURL) {
            var newTab = window.open(TransportURL, '_blank');
            window.location.href = '../../Pages/BaseFramework/MyDashBoard.aspx';
        }
        //Added by dhananajay for mantis End - 35605

    </script>
</asp:Content>
