<%@ control language="VB" autoeventwireup="false" inherits="PCC_System_CC_DistributorDetail, MachSol.MachPanel.Web" %>
<%@ Register Src="~/Template/GVPager.ascx" TagName="Pager" TagPrefix="EM" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="EM" %>
<%@ Register Assembly="System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
    Namespace="System.Web.UI" TagPrefix="cc1" %>
<%@ Register Src="~/Template/CC/Selectable_Selected_LBX.ascx" TagName="AddSelectableSelected" TagPrefix="EM" %>

<div class="col-xs-12">
    <div class="card">
        <div class="header">
            <h2>
                <asp:Literal ID="Lbl_AddEdit" runat="server" Text='<%$ Resources:Content, DistributorDetail %>' /></h2>
        </div>
        <div class="body">
            <div class="row">
                <div class="col-sm-3 col-xs-12 row-label">
                    *<asp:Literal ID="Literal9" runat="server" EnableViewState="false" Text="<%$ Resources:Content,DistributionProvider%>" />:
                </div>
                <div class="col-sm-4 col-xs-12">
                    <div class="form-group">
                        <asp:DropDownList ID="DDL_DistributionProviderId" AutoPostBack="true" runat="server"></asp:DropDownList>
                    </div>
                </div>
            </div>
            <div class="row">
                <div class="col-sm-3 col-xs-12 row-label">
                    *<asp:Literal ID="Literal3" runat="server" EnableViewState="false" Text="<%$ Resources:Content,strName%>" />:
                </div>
                <div class="col-sm-4 col-xs-12">
                    <div class="form-group">
                        <div class="form-line">
                            <asp:TextBox ID="TxBx_Name" runat="server" MaxLength="150"></asp:TextBox>
                        </div>
                    </div>
                    <asp:RequiredFieldValidator ID="RFV_Name" ControlToValidate="TxBx_Name" ValidationGroup="CSPProfileValidation"
                        runat="server" SetFocusOnError="true" Display="None"></asp:RequiredFieldValidator>
                </div>
            </div>
            <div class="row">
                <div class="col-sm-3 col-xs-12 row-label">
                    <asp:Literal ID="Literal8" runat="server" EnableViewState="false" Text="<%$ Resources:Content,Description%>" />:
                </div>
                <div class="col-sm-9 col-xs-12">
                    <div class="form-group">
                        <asp:TextBox ID="TxBx_Description" runat="server" TextMode="MultiLine" Rows="3"></asp:TextBox>
                    </div>
                </div>
            </div>            
            <div class="row" id="Div_AuthEndPoint" runat="server">
                <div class="col-sm-3 col-xs-12 row-label">
                    *<asp:Literal ID="Literal1" runat="server" EnableViewState="false" Text="<%$ Resources:Content,AuthenticationEndPoint%>" />:
                </div>
                <div class="col-sm-4 col-xs-12">
                    <div class="form-group">
                        <div class="form-line">
                            <asp:TextBox ID="TxBx_AuthenticationEndPoint" runat="server" MaxLength="150"></asp:TextBox>
                        </div>
                    </div>
                    <asp:RequiredFieldValidator ID="RFV_AuthEndPoint" ControlToValidate="TxBx_AuthenticationEndPoint" ValidationGroup="CSPProfileValidation"
                        runat="server" SetFocusOnError="true" Display="None"></asp:RequiredFieldValidator>
                </div>
            </div>
            <div class="row">
                <div class="col-sm-3 col-xs-12 row-label">
                    *<asp:Literal ID="Literal2" runat="server" EnableViewState="false" Text="<%$ Resources:Content,APIEndPoint%>" />:
                </div>
                <div class="col-sm-4 col-xs-12">
                    <div class="form-group">
                        <div class="form-line">
                            <asp:TextBox ID="TxBx_APIEndPoint" runat="server" MaxLength="150"></asp:TextBox>
                        </div>
                    </div>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" ControlToValidate="TxBx_APIEndPoint" ValidationGroup="CSPProfileValidation"
                        runat="server" SetFocusOnError="true" Display="None"></asp:RequiredFieldValidator>
                </div>
            </div>
            <div class="row">
                <div class="col-sm-3 col-xs-12 row-label">
                    *<asp:Label ID="Literal7" runat="server" Text="<%$ Resources:Content,ClientId%>" />:
                </div>
                <div class="col-sm-4 col-xs-12">
                    <div class="form-group">
                        <div class="form-line">
                            <asp:TextBox ID="TxBx_ClientId" runat="server" MaxLength="150"></asp:TextBox>
                        </div>
                    </div>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator5" ControlToValidate="TxBx_ClientId" ValidationGroup="CSPProfileValidation"
                        runat="server" SetFocusOnError="true" Display="None"></asp:RequiredFieldValidator>
                </div>
            </div>
            <div class="row">
                <div class="col-sm-3 col-xs-12 row-label">
                    *<asp:Literal ID="Literal5" runat="server" Text="<%$ Resources:Content,ClientSecret%>" />:
                </div>
                <div class="col-sm-4 col-xs-12">
                    <div class="form-group">
                        <div class="form-line">
                            <asp:TextBox ID="TxBx_ClientSecret" runat="server" MaxLength="150"></asp:TextBox>
                        </div>
                    </div>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator3" ControlToValidate="TxBx_ClientSecret" ValidationGroup="CSPProfileValidation"
                        runat="server" SetFocusOnError="true" Display="None"></asp:RequiredFieldValidator>
                </div>
            </div>
            <div class="row">
                <div class="col-sm-3 col-xs-12 row-label">
                    *<asp:Literal ID="Literal6" runat="server" Text="<%$ Resources:Content,ResellerSignatureKey%>" />:
                </div>
                <div class="col-sm-4 col-xs-12">
                    <div class="form-group">
                        <div class="form-line">
                            <asp:TextBox ID="TxBx_ResellerSignatureKey" runat="server" MaxLength="150"></asp:TextBox>
                        </div>
                    </div>
                    <asp:RequiredFieldValidator ID="RFV_ResellerSignatureKey" ControlToValidate="TxBx_ResellerSignatureKey" ValidationGroup="CSPProfileValidation"
                        runat="server" Display="None" SetFocusOnError="true"></asp:RequiredFieldValidator>
                </div>
            </div>
            <div class="row">
                <div class="col-sm-3 col-xs-12 row-label">
                    *<asp:Literal ID="Literal10" runat="server" Text="<%$ Resources:Content,String244%>" />:
                </div>
                <div class="col-sm-4 col-xs-12">
                    <div class="form-group">
                        <div class="form-line">
                            <asp:TextBox ID="TxBx_ResellerId" runat="server" MaxLength="150"></asp:TextBox>
                        </div>
                    </div>
                    <asp:RequiredFieldValidator ID="RFV_ResellerId" ControlToValidate="TxBx_ResellerId" ValidationGroup="CSPProfileValidation"
                        runat="server" Display="None" SetFocusOnError="true"></asp:RequiredFieldValidator>
                </div>
            </div>

            <div class="row">
                <div class="col-sm-3 col-xs-12 row-label">
                    *<asp:Literal ID="Literal4" runat="server" EnableViewState="false" Text="<%$ Resources:Content,Status%>" />:
                </div>
                <div class="col-sm-4 col-xs-12">
                    <div class="form-group">
                        <asp:DropDownList ID="DDl_Status" runat="server">
                            <asp:ListItem Text="<%$ Resources:Content,GN000195%>" Value="1"></asp:ListItem>
                            <asp:ListItem Text="<%$ Resources:Content,Disabled%>" Value="0"></asp:ListItem>
                        </asp:DropDownList>
                    </div>
                </div>
            </div>

            <div class="row" id="Div_TechDataAuthorizationLink" runat="server">
                <div class="col-sm-3 col-xs-12 row-label">
                    <label>*<asp:Literal ID="Literal38" runat="server" Text="<%$ Resources:Content,strTechDataAuthLinkl%>" />:</label>
                </div>
                <div class="col-sm-4 col-xs-12">
                    <div class="form-group">
                        <div class="form-line">
                            <asp:TextBox ID="TxBx_TechDataAuthorizationLink" runat="server"></asp:TextBox>
                            <asp:RequiredFieldValidator ID="RFV_TechDataAuthLink" runat="server" ControlToValidate="TxBx_TechDataAuthorizationLink"
                                Display="None" SetFocusOnError="True" ValidationGroup="CSPProfileValidation"></asp:RequiredFieldValidator>
                        </div>
                    </div>
                </div>
            </div>

            <div class="row" id="Div_MicrsoftPortalLink" runat="server">
                <div class="col-sm-3 col-xs-12 row-label">
                    <label>
                        <asp:Literal ID="ltrMicrsoftPortalLink" runat="server" Text="<%$ Resources:Content,strMicrsoftPortalLink%>" />:</label>
                </div>
                <div class="col-sm-4 col-xs-12">
                    <div class="form-group">
                        <div class="form-line">
                            <asp:TextBox ID="TxBx_MicrosoftPortalAuthorizationLink" runat="server"></asp:TextBox>
                        </div>
                    </div>
                </div>
            </div>

            <div class="row" id="div_IngramApprovalNotice" runat="server" visible="false">
                <div class="col-sm-3 col-xs-12 row-label">
                    *<asp:Literal ID="Literal11" runat="server" EnableViewState="false" Text="<%$ Resources:Content,SendNoticesTo%>" />:
                </div>
                <div class="col-sm-9 col-xs-12">
                    <div class="form-group">
                        <asp:TextBox ID="TxBx_SendTo" runat="server" MaxLength="2000" TextMode="MultiLine" Rows="2"></asp:TextBox>
                    </div>                    
                          <asp:RequiredFieldValidator ID="RFV_SendTo" runat="server" ControlToValidate="TxBx_SendTo"
                                Display="None" SetFocusOnError="True" ValidationGroup="CSPProfileValidation"></asp:RequiredFieldValidator>
                      
                    <small class="row-label"><%= Resources.Content.SpecifyCommaSeparatedEmails %></small>
                </div>
            </div>

            <div class="row">
                <div class="col-xs-12">

                    <asp:ValidationSummary HeaderText='<%$ Resources:Content, EM000001 %>' ID="ValidationSummary1"
                        runat="server" ShowMessageBox="True" ShowSummary="False" ValidationGroup="CSPProfileValidation" />

                    <asp:Button ID="Btn_Save" class="btn btn-primary waves-effect btnAction" ValidationGroup="CSPProfileValidation" CausesValidation="true" runat="server" Text='<%$ Resources:Content,GN0000281 %>' />
                    <asp:Button ID="Btn_Cancel" CausesValidation="false" runat="server" Text='<%$ Resources:Content,GN0000572 %>' class="btn btn-primary waves-effect" />
                </div>
            </div>
        </div>
    </div>
</div>
