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

<asp:Content ID="Content5" ContentPlaceHolderID="CPH_Content" runat="Server">
    <div class="col-xs-12">
        <div class="card">
            <div class="header">
                <h3><%= Resources.Content.ThirdPartyImport %></h3>
            </div>
            <div class="body">
                <div class="row">
                    <div class="col-xs-12">
                        <div class="card">
                            <div class="header">
                                <h3><%= Resources.Content.ThirdPartyCPImportWizard %></h3>
                            </div>
                            <div class="body">
                                <asp:Panel ID="Pnl_PreReq" runat="server" CssClass="helpBox">
                                    <div class="row">
                                        <div class="col-xs-12">
                                            <asp:Label ID="Label11" runat="server" Text="<%$ Resources:Content, ImportWizardMakesEasy %>" />
                                        </div>
                                        <div class="col-xs-12">
                                            <asp:Label ID="Label8" runat="server" Text="<%$ Resources:Content, AlsoUsingBulkOperations %>" />
                                        </div>
                                        <div class="col-xs-12">
                                            <strong>
                                                <asp:Label ID="Label9" runat="server" Text="<%$ Resources:Content, PreRequisites %>" />:</strong>
                                        </div>
                                        <div class="col-xs-12">
                                            <ol>
                                                <li style="list-style: decimal;">
                                                    <asp:Label ID="Label10" runat="server" Text="<%$ Resources:Content, AtLeastOneReseller %>" /></li>
                                                <li style="list-style: decimal;">
                                                    <asp:Label ID="Label12" runat="server" Text="<%$ Resources:Content, AtLeastOneCustomerExchange %>" /></li>
                                                <li style="list-style: decimal;">
                                                    <asp:Label ID="Label13" runat="server" Text="<%$ Resources:Content, AtLeastOneResellerSFB %>" /></li>
                                                <li style="list-style: decimal;">
                                                    <asp:Label ID="Label14" runat="server" Text="<%$ Resources:Content, AtLeastOneCustomerSFB %>" /></li>
                                                <li style="list-style: decimal;">
                                                    <asp:Label ID="Label15" runat="server" Text="<%$ Resources:Content, AtLeastOneSFBAddOn %>" /></li>
                                                <li style="list-style: decimal;">
                                                    <asp:Label ID="Label16" runat="server" Text="<%$ Resources:Content, AtLeastOneResellerSharePoint %>" /></li>
                                                <li style="list-style: decimal;">
                                                    <asp:Label ID="Label17" runat="server" Text="<%$ Resources:Content, AtLeastOneCustomerSharePoint %>" /></li>
                                            </ol>
                                        </div>
                                        <div class="col-xs-12">
                                            <strong>
                                                <asp:Label ID="Label18" runat="server" Text="<%$ Resources:Content, PostIimportTasks %>" />:</strong>
                                        </div>
                                        <div class="col-xs-12">
                                            <ol>
                                                <li style="list-style: decimal;">
                                                    <asp:Label ID="Label19" runat="server" Text="<%$ Resources:Content, VerifyAndFixResources %>" /></li>
                                            </ol>
                                        </div>
                                    </div>
                                </asp:Panel>
                            </div>
                        </div>
                    </div>
                </div>

                <div class="row">
                    <div class="col-xs-12">
                        <div class="card">
                            <div class="header">
                                <h3><%= Resources.Content.USM0127 %></h3>
                            </div>
                            <div class="body">
                                <div class="row">
                                    <div class="col-sm-4 col-xs-12 row-label">
                                        <asp:Label ID="Lbl_SelectControlPanel" runat="server" Text="<%$ Resources:Content,Select3rdPartyCP %>"></asp:Label>:
                                    </div>
                                    <div class="col-sm-4 col-xs-12">
                                        <div class="form-group">
                                            <asp:RadioButtonList ID="RBL_CP" AutoPostBack="true" runat="server">
                                                <asp:ListItem Text="<%$ Resources:Content,HostingController%>" Value="HC" Selected="true"></asp:ListItem>
                                                <asp:ListItem Text="<%$ Resources:Content,WebsitePanel %>" Value="WSP"></asp:ListItem>
                                                <asp:ListItem Text="<%$ Resources:Content,Parallels %>" Value="Parallels"></asp:ListItem>
                                                <asp:ListItem Text="<%$ Resources:Content,CloudBlue %>" Value="CloudBlue"></asp:ListItem>
                                                <asp:ListItem Text="Citrix" Value="Citrix"></asp:ListItem>
                                            </asp:RadioButtonList>
                                        </div>
                                    </div>
                                </div>
                                <div class="row">
                                    <div class="col-sm-4 col-xs-12 row-label">
                                        <asp:Label ID="Lbl_ImportAs" runat="server" Text="<%$ Resources:Content,ImportAs %>"></asp:Label>:
                                    </div>
                                    <div class="col-sm-4 col-xs-12">
                                        <div class="form-group">
                                            <asp:RadioButton ID="Rbtn_SubscriptionReseller" runat="server" Text="<%$ Resources:Content,USM0093 %>"
                                                GroupName="ImportAs" AutoPostBack="true" Checked="true" />
                                            &nbsp;
                <asp:RadioButton ID="Rbtn_CommissionReseller" runat="server" Text="<%$ Resources:Content,USM0092 %>"
                    GroupName="ImportAs" AutoPostBack="true" />

                                        </div>
                                    </div>
                                </div>
                                <div class="row">
                                    <div class="col-sm-4 col-xs-12 row-label">
                                        *
                <asp:Label ID="Label4" runat="server" Text="<%$ Resources:Content, CPDBConnection %>"
                    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_CPDBConnection" runat="server" ValidationGroup="ImportData"></asp:TextBox>
                                                <asp:RequiredFieldValidator ID="RFV_CPDBConnection" runat="server" ControlToValidate="TxBx_CPDBConnection"
                                                    Display="None" ErrorMessage='<%$ Resources:Content,EM000001 %>' SetFocusOnError="true"
                                                    ValidationGroup="ImportData">
                                                </asp:RequiredFieldValidator>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div class="row">
                                    <div class="col-sm-4 col-xs-12 row-label">
                                        <asp:Label ID="Label20" runat="server" Text="Import AD Organizations only"
                                            EnableViewState="false"></asp:Label>:
                                    </div>
                                    <div class="col-sm-4 col-xs-12">
                                        <asp:CheckBox ID="CB_ImportOrgs" AutoPostBack="true" Text=" " runat="server"></asp:CheckBox>
                                    </div>
                                </div>
                                <div class="row" id="Div_SelectAD" runat="server" visible="false">
                                    <div class="col-sm-4 col-xs-12 row-label">
                                        <asp:Label ID="Label21" runat="server" Text="Select Active Directory Domain"
                                            EnableViewState="false"></asp:Label>:
                                    </div>
                                    <div class="col-sm-4 col-xs-12">
                                        <asp:DropDownList ID="DDL_AD" runat="server">
                                        </asp:DropDownList>
                                    </div>
                                </div>
                                <div class="row" id="Tr_ResellerPlan" runat="server">
                                    <div class="col-sm-4 col-xs-12 row-label">
                                        *
                <asp:Label ID="Label3" runat="server" Text="<%$ Resources:Content,ResellerExchServicePlan %>"
                    EnableViewState="false"></asp:Label>:
                                    </div>
                                    <div class="col-sm-4 col-xs-12">
                                        <div class="form-group">
                                            <asp:DropDownList ID="DDL_ResellerExchServicePlan" runat="server">
                                            </asp:DropDownList>
                                        </div>
                                    </div>
                                </div>
                                <div class="row">
                                    <div class="col-sm-4 col-xs-12 row-label">
                                        *
                <asp:Label ID="Label2" runat="server" Text="<%$ Resources:Content,CustExchServicePlan %>"
                    EnableViewState="false"></asp:Label>:
                                    </div>
                                    <div class="col-sm-4 col-xs-12">
                                        <div class="form-group">
                                            <asp:DropDownList ID="Ddl_CustExchServicePlan" runat="server">
                                            </asp:DropDownList>
                                        </div>
                                    </div>
                                </div>
                                <div class="row">
                                    <div class="col-sm-4 col-xs-12 row-label">
                                        *
                <asp:Label ID="Label7" runat="server" Text="<%$ Resources:Content,L00106 %>" EnableViewState="false"></asp:Label>:
                                    </div>
                                    <div class="col-sm-4 col-xs-12">
                                        <div class="form-group">
                                            <asp:DropDownList ID="Ddl_ExchangeServer" runat="server">
                                            </asp:DropDownList>
                                        </div>
                                    </div>
                                </div>
                                <div class="row">
                                    <div class="col-sm-4 col-xs-12 row-label">
                                        *
                <asp:Label ID="Label1" runat="server" Text="<%$ Resources:Content,DGN1110437 %>"
                    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_ParentLDAPUrl" runat="server" MaxLength="255" Text="<%$Resources:Content,L0092%>"
                                                    ValidationGroup="ImportData"></asp:TextBox>
                                                <asp:RequiredFieldValidator ID="RFV_ParentLDAPUrl" runat="server" ControlToValidate="TxBx_ParentLDAPUrl"
                                                    SetFocusOnError="true" Display="None" ValidationGroup="ImportData"></asp:RequiredFieldValidator>
                                                <asp:RegularExpressionValidator ID="REV_ParentLDAP" runat="server" Display="None"
                                                    ControlToValidate="TxBx_ParentLDAPUrl"
                                                    SetFocusOnError="true" Enabled="false" ValidationExpression="<%$Resources:Content,LDAPValidationExpression%>"
                                                    ErrorMessage="<%$Resources:Content,DEV1054%>" ValidationGroup="ImportData"></asp:RegularExpressionValidator>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div class="row">
                                    <div class="col-sm-4 col-xs-12 row-label">
                                    </div>
                                    <div class="col-sm-8 col-xs-12">
                                        <div class="form-group">
                                            <asp:LinkButton ID="Lbtn_GetResellers" runat="server" Text="<%$ Resources:Content,GetResellers %>" CssClass="btn btn-primary"></asp:LinkButton>
                                            <asp:CheckBox ID="CB_HideExisting" Text="<%$ Resources:Content,Hidealreadyimportedresellers %>" runat="server" />
                                        </div>
                                    </div>
                                    <div class="col-sm-4 col-xs-12">
                                    </div>
                                </div>
                                <div class="row">
                                    <div class="col-sm-4 col-xs-12 row-label">
                                    </div>
                                    <div class="col-sm-4 col-xs-12">
                                        <div class="form-group">
                                            <div class="form-line">
                                                <asp:TextBox ID="TxBx_SearchResellers" runat="server" CssClass="TypeToSearch"
                                                    Text='<%# Resources.Content.TypeToSearch%>'
                                                    onFocus="ClearDefault(this)"
                                                    onBlur='<%# "SetDefaultValue(this,&#39;" & Resources.Content.TypeToSearch & "&#39;)"%>'
                                                    onKeyUp='<%# "SearchInMultipleSelect(this,&#39;" & Lbx_Resellers.ClientID & "&#39;,&#39;&#39;)"%>'>
                                                </asp:TextBox>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div class="row">
                                    <div class="col-sm-4 col-xs-12 row-label">
                                        *
                <asp:Label ID="Lbl_Resellers" runat="server" Text="Select resellers to import"></asp:Label>:
                                    </div>
                                    <div class="col-sm-4 col-xs-12">
                                        <div class="form-group">
                                            <asp:ListBox ID="Lbx_Resellers" runat="server" SelectionMode="Multiple"
                                                Height="200px" CssClass="ms col-xs-12"></asp:ListBox>
                                        </div>
                                    </div>
                                </div>
                                <div calss="row" id="Div_CloudBlueCustomers" visible="false" runat="server">
                                     <div class="col-sm-4 col-xs-12 row-label">
                                        *
                <asp:Label ID="Label5" runat="server" Text="Comma separated CustomerIds to Import"></asp:Label>:
                                    </div>
                                    <div class="col-sm-4 col-xs-12">
                                        <div class="form-group">
                                           <asp:TextBox TextMode="MultiLine" Rows="3" Columns="100" ID="TxBx_CustomerIds" runat="server"></asp:TextBox>
                                        </div>
                                    </div>

                                </div>
                                <div class="row">
                                    <div class="col-xs-12">
                                        <asp:Button ID="Btn_Import" runat="server" Text="<%$ Resources:Content,L00100 %>"
                                            SkinID="ImportButton" ValidationGroup="ImportData" CausesValidation="true" CssClass="btn btn-primary btnAction" />
                                        <asp:ValidationSummary ID="VS_ImportData" runat="server" DisplayMode="List" HeaderText='<%$ Resources:Content,EM000001 %>' ShowMessageBox="true"
                                            ShowSummary="false" ValidationGroup="ImportData" CssClass="btn btn-primary" />
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <%--<div class="row">
                    <div class="col-xs-12">
                        <div class="card">
                            <div class="header">
                                <h3><%= Resources.Content.BulkOperations %></h3>
                            </div>
                            <div class="body">
                                <div class="row">
                                    <div class="col-xs-12">
                                        <div class="card">
                                            <div class="header">
                                                <h3><%= Resources.Content.CMP00005 %></h3>
                                            </div>
                                            <div class="body">
                                                <div class="row">
                                                    <div class="col-sm-4 col-xs-12 row-label">
                                                    </div>
                                                    <div class="col-sm-4 col-xs-12">
                                                        <div class="form-group">
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="row">
                                                    <div class="col-sm-4 col-xs-12 row-label">
                                                        *
                                        <asp:Label ID="Lbl_LyncResellerServicePlan" runat="server" Text="<%$ Resources:Content,SelectLyncResellerPackage %>"></asp:Label>:
                                                    </div>
                                                    <div class="col-sm-4 col-xs-12">
                                                        <div class="form-group">
                                                            <asp:DropDownList ID="Ddl_LyncResellerServicePlan" runat="server">
                                                            </asp:DropDownList>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="row">
                                                    <div class="col-sm-4 col-xs-12 row-label">
                                                        *
                                        <asp:Label ID="Lbl_LyncCustomerServicePlan" runat="server" Text="<%$ Resources:Content,SelectLyncCustomerPackage %>"></asp:Label>:
                                                    </div>
                                                    <div class="col-sm-4 col-xs-12">
                                                        <div class="form-group">
                                                            <asp:DropDownList ID="Ddl_LyncCustomerServicePlan" runat="server">
                                                            </asp:DropDownList>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="row">
                                                    <div class="col-sm-4 col-xs-12 row-label">
                                                        *
                                        <asp:Label ID="Lbl_LyncResellerAddOn" runat="server" Text="<%$ Resources:Content,SelectLyncResellerAddOn %>"></asp:Label>:
                                                    </div>
                                                    <div class="col-sm-4 col-xs-12">
                                                        <div class="form-group">
                                                            <asp:DropDownList ID="Ddl_LyncResellerAddOn" runat="server">
                                                            </asp:DropDownList>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="row">
                                                    <div class="col-sm-4 col-xs-12 row-label">
                                                        *
                                        <asp:Label ID="Lbl_LyncCustomerAddOn" runat="server" Text="<%$ Resources:Content,SelectLyncCustomerAddOn %>"></asp:Label>:
                                                    </div>
                                                    <div class="col-sm-4 col-xs-12">
                                                        <div class="form-group">
                                                            <asp:DropDownList ID="Ddl_LyncCustomerAddOn" runat="server">
                                                            </asp:DropDownList>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="row">
                                                    <div class="col-xs-12">
                                                        <asp:Button ID="Btn_CreateAndSellLyncPlans" runat="server" Text="<%$ Resources:Content,CreateandSubscribeLyncPlans %>" SkinID="saveButton" CssClass="btn btn-primary" />
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div class="row">
                                    <div class="col-xs-12">
                                        <div class="card">
                                            <div class="header">
                                                <h3><%= Resources.Content.L0072 %></h3>
                                            </div>
                                            <div class="body">

                                                <div class="row">
                                                    <div class="col-sm-4 col-xs-12 row-label">
                                                        *
                                        <asp:Label ID="Label5" runat="server" Text="<%$ Resources:Content,SelectSharePointResellerPackage %>"></asp:Label>:
                                                    </div>
                                                    <div class="col-sm-4 col-xs-12">
                                                        <div class="form-group">
                                                            <asp:DropDownList ID="Ddl_SPResellerServicePlan" runat="server">
                                                            </asp:DropDownList>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="row">
                                                    <div class="col-sm-4 col-xs-12 row-label">
                                                        *
                                        <asp:Label ID="Label6" runat="server" Text="<%$ Resources:Content,SelectSharePointCustomerPackage %>"></asp:Label>:
                                                    </div>
                                                    <div class="col-sm-4 col-xs-12">
                                                        <div class="form-group">
                                                            <asp:DropDownList ID="Ddl_SPCustomerServicePlan" runat="server">
                                                            </asp:DropDownList>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="row">
                                                    <div class="col-xs-12">
                                                        <asp:Button ID="Btn_CreateAndSellSPPlans" runat="server" Text="<%$ Resources:Content,CreateandSubscribeSharePointPlans %>" SkinID="saveButton" CssClass="btn btn-primary" />
                                                    </div>
                                                </div>

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

                                <div class="row" id="tr_export" runat="server">
                                    <div class="col-xs-12">
                                        <div class="card">
                                            <div class="header">
                                                <h3><%= Resources.Content.GN00001320 %></h3>
                                            </div>
                                            <div class="body">
                                                   <div class="row">
                                                    <div class="col-xs-12">
                                                        <asp:Label ID="Ltl_Notice" style="color: red" runat="server"></asp:Label>
                                                    </div>
                                                </div>
                                                   <div class="row">
                                                    <div class="col-xs-12">
                                                      <asp:Button ID="Btn_ExportCred" ValidationGroup="ImportData" runat="server" Text="<%$ Resources:Content,ExportCredentials %>" SkinID="ExportButton" CssClass="btn btn-primary" />
                                                    </div>
                                                </div>
                                                
                                            </div>
                                        </div>
                                    </div>
                                </div>

                            </div>
                        </div>
                    </div>
                </div>--%>

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

