<%@ page title="" language="VB" masterpagefile="~/Template/Master.master" autoeventwireup="false" inherits="PCC_Migration_ImportDomains, MachSol.MachPanel.Web" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="EM" %>

<asp:Content ID="Content5" ContentPlaceHolderID="CPH_Content" runat="Server">
    <div class="col-xs-12">
        <div class="card">
            <div class="header">
                <h3><%= Resources.Content.StrDomainImportWizard%></h3>
            </div>
            <div class="body">

                <div class="row">
                    <div class="col-xs-12">
                        <div class="card">
                            <div class="header">
                                <h3><%= Resources.Content.USM0127%></h3>
                            </div>
                            <div class="body" runat="server" id="div_import_body">
                                <div class="row">
                                    <div class="col-sm-3 col-xs-12 row-label">
                                        <asp:Label ID="Label4" runat="server" Text="<%$ Resources:Content, SMI051 %>" EnableViewState="false"></asp:Label>:
                                    </div>
                                    <div class="col-sm-4 col-xs-12">
                                        <div class="form-group">
                                            <asp:DropDownList ID="DDL_Owner" AutoPostBack="true" runat="server">
                                            </asp:DropDownList>
                                        </div>
                                    </div>
                                </div>
                                <div class="row">
                                    <div class="col-sm-3 col-xs-12 row-label">
                                        <asp:Label ID="Label2" runat="server" Text="<%$ Resources:Content, Customer %>" EnableViewState="false"></asp:Label>:
                                    </div>
                                    <div class="col-sm-4 col-xs-12">
                                        <div class="form-group">
                                            <asp:DropDownList ID="Ddl_Customer" runat="server">
                                            </asp:DropDownList>
                                        </div>
                                    </div>
                                </div>
                                <div class="row">
                                    <div class="col-sm-3 col-xs-12 row-label">
                                        <asp:Label ID="Label5" runat="server" Text="<%$ Resources:Content, DomainRegistrar %>" EnableViewState="false"></asp:Label>:
                                    </div>
                                    <div class="col-sm-4 col-xs-12">
                                        <div class="form-group">
                                            <asp:DropDownList ID="Ddl_DomainRegistrar" runat="server" AutoPostBack="true">
                                            </asp:DropDownList>
                                        </div>
                                    </div>
                                </div>
                                <div class="row" id="div_row_paymentgroups" runat="server">
                                    <div class="col-sm-3 col-xs-12 row-label">
                                        <asp:Label ID="Label1" runat="server" Text="<%$ Resources:Content, GN0000831 %>" EnableViewState="false"></asp:Label>:
                                    </div>
                                    <div class="col-sm-4 col-xs-12">
                                        <div class="form-group">
                                            <asp:DropDownList ID="Ddl_PaymentGroups" runat="server">
                                            </asp:DropDownList>
                                        </div>
                                    </div>
                                </div>
                                <div class="row" id="div_row_invoicefromdate" runat="server">
                                    <div class="col-sm-3 col-xs-12 row-label">
                                        <asp:Label ID="Label6" runat="server" Text="<%$ Resources:Content, InvoiceFromDate %>" EnableViewState="false"></asp:Label>:
                                    </div>
                                    <div class="col-sm-4 col-xs-12">
                                        <div class="form-group">
                                            <asp:DropDownList ID="Ddl_InvoiceFromDate" runat="server">
                                                <asp:ListItem Text="<%$ Resources:Content,GN00001298 %>" Value="Now"></asp:ListItem>
                                                <asp:ListItem Text="<%$ Resources:Content,StrGenerateFromDomain %>" Value="Generate" Selected="true"></asp:ListItem>
                                            </asp:DropDownList>
                                        </div>
                                    </div>
                                </div>

                                <div id="Div_SingleDomain" runat="server" visible="false">
                                    <div class="row">
                                        <div class="col-sm-3 col-xs-12 row-label">
                                            *&nbsp;<asp:Label ID="Label7" runat="server" Text="<%$ Resources:Content, GN000125 %>" EnableViewState="false"></asp:Label>:
                                        </div>
                                        <div class="col-sm-4 col-xs-12">
                                            <div class="form-group">
                                                <asp:TextBox ID="TxBx_DomainName" runat="server"></asp:TextBox>
                                                <asp:RequiredFieldValidator ID="RFV_TxBx_DomainName" runat="server" ControlToValidate="TxBx_DomainName"
                                                    Display="None" SetFocusOnError="True" ValidationGroup="importdomain" Enabled="false"></asp:RequiredFieldValidator>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="row">
                                        <div class="col-sm-3 col-xs-12 row-label">
                                            *&nbsp;<asp:Label ID="Label9" runat="server" Text="<%$ Resources:Content, DGN1110239 %>" EnableViewState="false"></asp:Label>:
                                        </div>
                                        <div class="col-sm-4 col-xs-12">
                                            <div class="form-group">
                                                <asp:TextBox ID="TxBx_OrderNumber" runat="server"></asp:TextBox>
                                                <asp:RequiredFieldValidator ID="RFV_TxBx_OrderNumber" runat="server" ControlToValidate="TxBx_OrderNumber"
                                                    Display="None" SetFocusOnError="True" ValidationGroup="importdomain" Enabled="false"></asp:RequiredFieldValidator>
                                            </div>
                                        </div>
                                    </div>
                                </div>

                                <div class="row" id="Div_DomainCSVs" runat="server" visible="false">
                                    <div class="col-sm-3 col-xs-12 row-label">
                                        *&nbsp;<asp:Label ID="Label8" runat="server" Text="<%$ Resources:Content, EnterCommaDomainNames %>" EnableViewState="false"></asp:Label>:
                                    </div>
                                    <div class="col-sm-4 col-xs-12">
                                        <div class="form-group">
                                            <asp:TextBox ID="TxBx_DomainCSVs" runat="server" TextMode="MultiLine" Columns="40" Rows="6"></asp:TextBox>
                                            <asp:RequiredFieldValidator ID="RFV_TxBx_DomainCSVs" runat="server" ControlToValidate="TxBx_DomainCSVs"
                                                Display="None" SetFocusOnError="True" ValidationGroup="importdomain" Enabled="false"></asp:RequiredFieldValidator>
                                        </div>
                                    </div>
                                </div>

                                <div class="row">
                                    <div class="col-sm-3 col-xs-12 row-label">
                                        <asp:Label ID="Label3" runat="server" Text="<%$ Resources:Content,ImportBatchLimit %>"
                                            EnableViewState="false"></asp:Label>:
                                    </div>
                                    <div class="col-sm-4 col-xs-12">
                                        <div class="form-group">
                                            <div class="form-line">
                                                <asp:TextBox ID="TxBx_ImportBatchLimit" runat="server" Text="100" MaxLength="3">
                                                </asp:TextBox>
                                                <EM:FilteredTextBoxExtender ID="FTE_ImportBatchLimit" runat="server" FilterType="Numbers"
                                                    TargetControlID="TxBx_ImportBatchLimit">
                                                </EM:FilteredTextBoxExtender>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="clearfix"></div>
                                    <div class="col-sm-offset-3 col-sm-4 col-xs-12 row-label">
                                        <asp:Label ID="Lbl_ImportBatchLimitNote" runat="server" Text="<%$ Resources:Content,StrCSPImportTenantLimitNote %>"></asp:Label>
                                    </div>
                                </div>

                                <div class="row">
                                    <div class="col-sm-3 col-xs-12 row-label"></div>
                                    <div class="col-sm-4 col-xs-12">
                                        <asp:Button ID="Btn_ImportDomains" runat="server" Text="<%$ Resources:Content,strImport %>" CssClass="btn btn-primary btnAction"
                                            ValidationGroup="importdomain" />
                                        <asp:ValidationSummary ID="ValidationSum_1" runat="server" HeaderText='<%$ Resources:Content,EM000001 %>'
                                            ShowMessageBox="True" ShowSummary="False" ValidationGroup="importdomain" />

                                        <%--<asp:Button ID="Btn_CancelImport" runat="server" Text="<%$ Resources:Content,Cancel %>" CssClass="btn btn-primary" />--%>
                                    </div>
                                </div>

                            </div>
                            <div class="body" runat="server" id="div_import_result" visible="false">
                                <div id="div_results" runat="server">
                                </div>

                                <asp:Button ID="Btn_GoBack" runat="server" SkinID="cancelButton" CausesValidation="false" Text='<%$ Resources:Content,String1018%>' CssClass="btn btn-primary" />
                            </div>
                        </div>
                    </div>
                </div>

            </div>
        </div>
    </div>
</asp:Content>

