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

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<%@ Register Src="~/UserControls/GridViewPager/GridViewPager.ascx" TagName="GridViewPager"
    TagPrefix="uc1" %>
<%@ Register Src="~/UserControls/Common/ScreenGroup/SuperAdminScreenGroup.ascx" TagName="SuperAdminScreenGroupControl"
    TagPrefix="SuperAdminScreenGroup" %>
<%@ Register Src="~/UserControls/DatePicker/DatePickerControl.ascx" TagName="DatePickerControl"
    TagPrefix="Date" %>
<%@ Register Src="~/UserControls/Common/EmployeeSearch/EmployeeSearch.ascx" TagName="EmployeeSearchControl"
    TagPrefix="hims" %>
<%@ Register Src="~/UserControls/Common/Alert/AlertDetailBoxControl.ascx" TagName="AlertControl"
    TagPrefix="Alert" %>
<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
    <asp:UpdatePanel ID="IncidentLogUpdatePanel" 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">
                                            <SuperAdminScreenGroup:SuperAdminScreenGroupControl EnableViewState="true" ID="SuperAdminScreenGroupControl" ScreenGroupId="153"
                                                Visible="true" runat="server" />
                                        </div>
                                    </div>
                                </td>
                            </tr>
                        </table>
                    </div>

                    <div class="whiteboxpaddingleft row">
                        <div class="himssuHeader1WireBox card card-box">
                            <div class="topdisplayContainer">
                                <div class="himsBoxContent messageMessage">
                                    <div class="topdisplayContainer p-l-10">
                                        <table class="fLeft">
                                            <tr>
                                                <td>
                                                    <asp:Label ID="OrgCodeLabelL" runat="server" Text="Code :" Font-Bold="true"></asp:Label>
                                                    &nbsp;&nbsp;<asp:Label ID="OrgCodeLabelT" runat="server" Text="" SkinID="CustomWidthLabel" Width="200px"></asp:Label></td>

                                                <td>
                                                    <asp:Label ID="OrgDisplayTitleLabelL" runat="server" Text="Display Title :" Font-Bold="true"></asp:Label>
                                                    &nbsp;&nbsp;<asp:Label ID="OrgDisplayTitleLabelT" runat="server" Text="" SkinID="CustomWidthLabel" Width="500px"></asp:Label></td>
                                            </tr>
                                        </table>
                                    </div>
                                </div>
                            </div>
                            <div id="SearchDiv" runat="server" visible="true">
                                <div class="himsBoxHeader  card-head">
                                    <div class="leftdiv">
                                    </div>
                                    <div class="himsBoxTitle">
                                        <div class="headerText">
                                            <i class="fas fa-search"></i>
                                            <asp:Label ID="Label2" runat="server" Text="Search"></asp:Label>
                                        </div>
                                    </div>
                                    <div class="fRight mt-27">
                                        <asp:Button ID="AddNewButtonID" runat="server" OnClick="AddNewButtonID_Click" SkinID="0"
                                            class="btn btn-add fas" Text="&#xf067; Add" />
                                    </div>
                                </div>
                                <div class="himsBoxContent card-body">
                                    <asp:Panel ID="Panel2" runat="Server">
                                        <div class="contentHolder">
                                            <asp:Panel ID="Panel3" runat="Server">
                                                <div class="outerBox pTop5 col-md-3">
                                                    <div class="controlLabelWidth">
                                                        <asp:Label ID="Label3" Text="Payment Gateway" runat="server"></asp:Label>
                                                    </div>
                                                    <div class="fLeft pRight5">
                                                        <asp:DropDownList ID="SearchPaymentGatewayDropDownList" runat="server" onmouseleave="showHideTooltip()"
                                                            onmouseenter="showHideTooltip()" CssClass="form-control">
                                                        </asp:DropDownList>
                                                    </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 class="himsBoxContent pTop5">
                                                        <div id="Div5" runat="server" visible="true" class="table-responsive">
                                                            <asp:GridView ID="GatewayConfigurationGridView" runat="server" AutoGenerateColumns="False"
                                                                CssClass="table table-striped table-bordered table-hover" ShowHeader="true" SkinID="" PagerSettings-Visible="false"
                                                                EmptyDataText="No Records Found !!" DataKeyNames="PaymentGatewayId">
                                                                <Columns>
                                                                    <asp:TemplateField ItemStyle-Width="8%" ItemStyle-HorizontalAlign="Center" ItemStyle-Wrap="true"
                                                                        HeaderStyle-HorizontalAlign="Left" HeaderText="">
                                                                        <ItemTemplate>
                                                                            <asp:LinkButton ID="SelectLinkButton" runat="server" CommandName="Select" Text="Select"
                                                                                CausesValidation="false" OnClick="SelectLinkButton_Click"></asp:LinkButton>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:BoundField DataField="PaymentGatewayTitle" HeaderText="Payment Gateway" ItemStyle-Width="30%" HeaderStyle-HorizontalAlign="Left" />
                                                                    <asp:BoundField DataField="GatewayURL" HeaderText="GatewayURL" ItemStyle-Width="30%" HeaderStyle-HorizontalAlign="Left" />
                                                                    <asp:BoundField DataField="ProductId" HeaderText="ProductId" ItemStyle-Width="30%" HeaderStyle-HorizontalAlign="Left" />
                                                                    <asp:TemplateField HeaderText="InActive" ItemStyle-Width="5%" ItemStyle-Wrap="true"
                                                                        HeaderStyle-HorizontalAlign="Left">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="ActiveLabel" runat="server" Text='<%#(Boolean.Parse(Eval("IsObsolete").ToString())) ? "Y" : "N"%>'></asp:Label>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                </Columns>
                                                            </asp:GridView>
                                                        </div>
                                                    </div>
                                                </div>
                                            </asp:Panel>
                                        </div>
                                    </asp:Panel>
                                </div>
                            </div>
                            <div id="DetailDiv" runat="server" visible="false">
                                <div class="himsBoxHeader  card-head">
                                    <div class="leftdiv">
                                    </div>
                                    <div class="himsBoxTitle">
                                        <div class="headerText">
                                            <i class="fas fa-cog"></i>
                                            <asp:Label ID="Label1" runat="server" Text="OP Configuration"></asp:Label>
                                        </div>
                                    </div>
                                    <div class="fRight pagination mt-27">
                                        <table>
                                            <tr>
                                                <td class="formLabel">
                                                    <div id="NumberOfRecordDiv" class="display-flex" runat="server" visible="true">
                                                        <asp:LinkButton AlternateText="First page" ToolTip="First page" ID="FirstRecordImageButton"
                                                            runat="server" ImageUrl="~/Images/arrowLlast.gif" CommandName="Page" CommandArgument="First"
                                                            OnClick="FirstRecordImageButton_Click" CssClass="btn btn-default gridviewpagerbuttonpadding">
                                                                <i class="fa fa-fast-backward"></i>
                                                        </asp:LinkButton>
                                                        <asp:LinkButton AlternateText="Previous page" ToolTip="Previous page" ID="PreviousImageButton"
                                                            runat="server" ImageUrl="~/Images/arrowLeft.gif" CommandName="Page" CommandArgument="Prev"
                                                            OnClick="PreviousImageButton_Click" CssClass="btn btn-default gridviewpagerbuttonpadding">
                                                                <i class="fa fa-play fa-rotate-180"></i>
                                                        </asp:LinkButton>
                                                        &nbsp;&nbsp;
                                                            <asp:Label ID="LabelPage" runat="server" Text="Record " AssociatedControlID="ReCordNumber" />
                                                        <asp:Label ID="ReCordNumber" Font-Bold="true" SkinID="Dummy" runat="server"></asp:Label>
                                                        <asp:Label ID="ofLabel" Text="of" runat="server" />
                                                        <asp:Label ID="TotalRecord" runat="server" />
                                                        &nbsp;&nbsp;
                                                            <asp:LinkButton AlternateText="Next page" ToolTip="Next page" ID="NextImageButtom"
                                                                runat="server" ImageUrl="~/Images/arrowRight.gif" CommandName="Page" CommandArgument="Next"
                                                                OnClick="NextImageButtom_Click" CssClass="btn btn-default gridviewpagerbuttonpadding">
                                                                <i class="fa fa-play"></i>
                                                            </asp:LinkButton>
                                                        <asp:LinkButton AlternateText="Last page" ToolTip="Last page" ID="LastRecordImageButton"
                                                            runat="server" ImageUrl="~/Images/arrowRLast.gif" CommandName="Page" CommandArgument="Last"
                                                            OnClick="LastRecordImageButton_Click" CssClass="btn btn-default gridviewpagerbuttonpadding">
                                                                <i class="fa fa-fast-forward"></i>
                                                        </asp:LinkButton>
                                                    </div>
                                                </td>
                                                <td>&nbsp;&nbsp;<asp:Button ID="BackButton" runat="Server" OnClick="BackButton_Click" SkinID="0"
                                                    class="btn btn-back fas" Text="&#xf30a; Back" />
                                                </td>
                                            </tr>
                                        </table>
                                    </div>
                                </div>
                                <div class="himsBoxContent card-body">
                                    <asp:Panel ID="DetailPanel" runat="Server">
                                        <div class="contentHolder">

                                            <asp:Panel ID="Panel1" runat="Server">
                                                <div class="outerBox pTop5 col-md-6">
                                                    <div class="controlLabelWidth">
                                                        <asp:Label ID="PaymentGatewayLabel" Text="Payment Gateway" runat="server" SkinID="MandatoryLabel"></asp:Label>
                                                    </div>
                                                    <div class="fLeft pRight5">
                                                        <asp:DropDownList ID="PaymentGatewayDropDownList" runat="server" onmouseleave="showHideTooltip()"
                                                            onmouseenter="showHideTooltip()" CssClass="form-control">
                                                        </asp:DropDownList>
                                                        <asp:HiddenField ID="IdHiddenField" runat="server" />
                                                    </div>
                                                </div>

                                                <div class="outerBox pTop5 col-md-6">
                                                    <div class="controlLabelWidth">
                                                        <asp:Label ID="GatewayURLLabel" runat="server" Text="Gateway URL"></asp:Label>
                                                    </div>
                                                    <div class="fLeft pRight5">
                                                        <asp:TextBox ID="GatewayURLTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                            SkinID="CustomWidthTextBox" runat="server" MaxLength="1000"> </asp:TextBox>
                                                    </div>
                                                </div>

                                                <div class="outerBox pTop5 col-md-3">
                                                    <div class="controlLabelWidth">
                                                        <asp:Label ID="ServerPortLabel" runat="server" Text="Server Port"></asp:Label>
                                                    </div>
                                                    <div class="fLeft pRight5">
                                                        <asp:TextBox ID="ServerPortTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                            SkinID="CustomWidthTextBox" runat="server" MaxLength="50"> </asp:TextBox>
                                                    </div>
                                                </div>
                                                <div class="outerBox pTop5 col-md-3">
                                                    <div class="controlLabelWidth">
                                                        <asp:Label ID="LoginIdLabel" runat="server" Text="Login Id"></asp:Label>
                                                    </div>
                                                    <div class="fLeft pRight5">
                                                        <asp:TextBox ID="LoginIdTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                            SkinID="CustomWidthTextBox" runat="server" MaxLength="50"> </asp:TextBox>
                                                    </div>
                                                </div>
                                                <div class="outerBox pTop5 col-md-3">
                                                    <div class="controlLabelWidth">
                                                        <asp:Label ID="LoginPasswordLabel" runat="server" Text="Login Password"></asp:Label>
                                                    </div>
                                                    <div class="fLeft pRight5">
                                                        <asp:TextBox ID="LoginPasswordTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                            SkinID="CustomWidthTextBox" runat="server" MaxLength="50" TextMode="Password"> </asp:TextBox>
                                                    </div>
                                                </div>

                                                <div class="outerBox pTop5 col-md-3">
                                                    <div class="controlLabelWidth">
                                                        <asp:Label ID="ProductIdLabel" runat="server" Text="ProductId"></asp:Label>
                                                    </div>
                                                    <div class="fLeft pRight5">
                                                        <asp:TextBox ID="ProductIdTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                            SkinID="CustomWidthTextBox" runat="server" MaxLength="100"> </asp:TextBox>
                                                    </div>
                                                </div>

                                                <div class="outerBox11 pTop5 col-md-6">
                                                    <div class="controlLabelWidth">
                                                        <asp:Label ID="TermsConditionLabel" runat="server" Text="Terms Condition"></asp:Label>
                                                    </div>
                                                    <div class="fLeft pRight5">
                                                        <asp:TextBox ID="TermsConditionTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                            SkinID="MultiLineTextBox" TextMode="MultiLine" runat="server"> </asp:TextBox>
                                                    </div>
                                                </div>

                                                <div class="outerBox11 pTop5 col-md-6">
                                                    <div class="controlLabelWidth">
                                                        <asp:Label ID="PrivacyPolicyLabel" runat="server" Text="Privacy Policy"></asp:Label>
                                                    </div>
                                                    <div class="fLeft pRight5">
                                                        <asp:TextBox ID="PrivacyPolicyTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                            SkinID="MultiLineTextBox" TextMode="MultiLine" runat="server"> </asp:TextBox>
                                                    </div>
                                                </div>

                                                <div class="outerBox11 pTop5 col-md-6">
                                                    <div class="controlLabelWidth">
                                                        <asp:Label ID="PaymentPolicyLabel" runat="server" Text="Payment Policy"></asp:Label>
                                                    </div>
                                                    <div class="fLeft pRight5">
                                                        <asp:TextBox ID="PaymentPolicyTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                            SkinID="MultiLineTextBox" TextMode="MultiLine" runat="server"> </asp:TextBox>
                                                    </div>
                                                </div>

                                                <div class="outerBox11 pTop5 col-md-6">
                                                    <div class="controlLabelWidth">
                                                        <asp:Label ID="DisclaimerLabel" runat="server" Text="Disclaimer"></asp:Label>
                                                    </div>
                                                    <div class="fLeft pRight5">
                                                        <asp:TextBox ID="DisclaimerTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                            SkinID="MultiLineTextBox" TextMode="MultiLine" runat="server"> </asp:TextBox>
                                                    </div>
                                                </div>

                                                <div class="outerBox11 pTop5 col-md-6">
                                                    <div class="controlLabelWidth">
                                                        <asp:Label ID="ContactUsLabel" runat="server" Text="Contact Us"></asp:Label>
                                                    </div>
                                                    <div class="fLeft pRight5">
                                                        <asp:TextBox ID="ContactUsTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                            SkinID="MultiLineTextBox" TextMode="MultiLine" runat="server"> </asp:TextBox>
                                                    </div>
                                                </div>

                                                <div class="outerBox11 pTop5 col-md-6">
                                                    <div class="controlLabelWidth">
                                                        <asp:Label ID="AboutUsLabel" runat="server" Text="About Us"></asp:Label>
                                                    </div>
                                                    <div class="fLeft pRight5">
                                                        <asp:TextBox ID="AboutUsTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                            SkinID="MultiLineTextBox" TextMode="MultiLine" runat="server"> </asp:TextBox>
                                                    </div>
                                                </div>

                                                <div class="outerBox pTop5 col-md-3">
                                                    <div class="fLeft pTop5">
                                                        <asp:CheckBox ID="ObsoleteCheckBox" runat="server" Text=" In Active" />
                                                    </div>
                                                </div>

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