<%@ page title="" language="VB" masterpagefile="~/Template/Master.master" autoeventwireup="false" inherits="PCC_Migration_CRMMigration, 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.SMI0232%></h3>
            </div>
            <div class="body">
                <div id="Div_Wizard" runat="server">
                    <div class="row">
                        <div class="col-xs-12">
                            <div class="products-step">
                                <span id="div_s1" runat="server" nowrap="true" class="label label-success">
                                    <asp:Literal EnableViewState="false" ID="Literal2" runat="server" Text='<%$ Resources:Content, GN0000895 %>' />
                                </span>
                                <span id="div_s2" runat="server" nowrap="true" class="label label-default">
                                    <asp:Literal ID="Literal3" runat="server" EnableViewState="false" Text='<%$ Resources:Content, GN0000896 %>' />
                                </span>
                                <span id="div_s3" runat="server" nowrap="true" class="label label-default">
                                    <asp:Literal ID="Literal4" runat="server" EnableViewState="false" Text='<%$ Resources:Content, GN0000897 %>' />
                                </span>
                            </div>
                        </div>
                    </div>

                    <asp:Wizard ID="Wizard1" runat="server" Width="100%" ActiveStepIndex="0" DisplaySideBar="False">
                        <CancelButtonStyle CssClass="formButton formButtonCancel btn btn-primary" Width="105px" />
                        <FinishCompleteButtonStyle CssClass="formButton formButtonFinish btn btn-primary btnAction" Width="105px" />
                        <StepPreviousButtonStyle CssClass="formButton formButtonBack btn btn-primary" Width="105px" />
                        <StepNextButtonStyle CssClass="formButton formButtonNext btn btn-primary btnAction" Width="105px" />
                        <StartNextButtonStyle CssClass="formButton formButtonNext btn btn-primary btnAction" Width="105px" />
                        <FinishPreviousButtonStyle CssClass="formButton formButtonBack btn btn-primary" Width="105px" />
                        <WizardSteps>

                            <asp:WizardStep runat="server" Title="Basic Info." ID="S_ScanLDAP" StepType="Start">
                                <div class="row">
                                    <div class="col-xs-12">
                                        <div class="card">
                                            <div class="body">
                                                <%--Section specific help--%>
                                                <asp:Panel ID="Pnls" runat="server" CssClass="helpBox">
                                                    <asp:Label ID="crm_wizard" runat="server" Text="<%$ Resources:Content, CRMImportWizard%>" />
                                                    <br />
                                                    <br />
                                                    <strong>
                                                        <asp:Label ID="Label2" runat="server" Text="<%$ Resources:Content, PreRequisites %>" />:</strong>
                                                    <ol>
                                                        <li style="list-style: decimal;">
                                                            <asp:Label ID="Label1" runat="server" Text="<%$ Resources:Content, AtLeastOneCRM %>" /></li>
                                                        <li style="list-style: decimal;">
                                                            <asp:Label ID="Label3" runat="server" Text="<%$ Resources:Content, CustomerAccountShould %>" /></li>
                                                        <li style="list-style: decimal;">
                                                            <asp:Label ID="Label4" runat="server" Text="<%$ Resources:Content, ToImportCRMOrganization %>" /></li>
                                                        <li style="list-style: decimal;">
                                                            <asp:Label ID="Label5" runat="server" Text="<%$ Resources:Content, AllUsersOfOrganization %>" /></li>
                                                    </ol>
                                                    <strong>
                                                        <asp:Label ID="Label6" runat="server" Text="<%$ Resources:Content, PostIimportTasks %>" />:</strong>
                                                    <ol>
                                                        <li style="list-style: decimal;">
                                                            <asp:Label ID="Label7" runat="server" Text="<%$ Resources:Content, VerifyAndFixResources %>" /></li>
                                                    </ol>
                                                </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-3 col-xs-12 row-label">
                                                        <asp:Label ID="Lbl_Owner" 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="Lbl_Server" runat="server" Text="<%$ Resources:Content,DGN1110254 %>"
                                                            EnableViewState="false"></asp:Label>:
                                                    </div>
                                                    <div class="col-sm-4 col-xs-12">
                                                        <div class="form-group">
                                                            <asp:DropDownList ID="DDL_Server" runat="server">
                                                            </asp:DropDownList>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </asp:WizardStep>

                            <asp:WizardStep runat="server" Title="Resources" ID="S_Organizations" StepType="Step">
                                <div class="row col-xs-12">
                                    <asp:Panel ID="Panel1" runat="server" CssClass="helpBox">
                                        <asp:Label ID="Label10" runat="server" Text="<%$ Resources:Content, SelectTheOrganization %>" />
                                    </asp:Panel>
                                </div>

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

                                        <asp:Panel ID="pnlAccountSearch" runat="server" DefaultButton="Btn_Srch">
                                            <div class="row">
                                                <div class="panel-group search-panel" id="AS_Accounts" role="tablist" aria-multiselectable="true">
                                                    <div class="col-xs-12" role="tab" id="SH_Accounts" runat="server">
                                                        <div class="card">
                                                            <div class="header" role="button" data-toggle="collapse" data-parent="#AS_ClientList" href="#<%= CSB_VPSAccounts.ClientID %>" aria-expanded="true" aria-controls="SH_ClientList">
                                                                <h3>
                                                                    <%= Resources.Content.GN0000395%>
                                                                </h3>
                                                            </div>
                                                            <div id="CSB_VPSAccounts" runat="server" class="body panel-collapse collapse" role="tabpanel" aria-labelledby="SH_ClientList" aria-expanded="false">
                                                                <div class="row">

                                                                    <div class="col-md-3 col-sm-6 col-xs-12">
                                                                        <div class="form-group form-float">
                                                                            <div class="form-line">
                                                                                <asp:TextBox ID="TxBx_OrgName" runat="server" MaxLength="128"></asp:TextBox>
                                                                                <asp:Label ID="Label14" runat="server" EnableViewState="false" Text="<%$ Resources:Content,DGN1110357%>" class="form-label"></asp:Label>
                                                                            </div>
                                                                        </div>
                                                                    </div>

                                                                    <%--<div class="col-md-3 col-sm-6 col-xs-12">
                                                                        <div class="form-group form-float">
                                                                            <div class="form-line">
                                                                                <asp:TextBox ID="TxBx_DomainName" runat="server" MaxLength="128"></asp:TextBox>
                                                                                <asp:Label ID="Label16" runat="server" EnableViewState="false" Text="<%$ Resources:Content,GN000125%>" class="form-label"></asp:Label>
                                                                            </div>
                                                                        </div>
                                                                    </div>--%>

                                                                    <div class="col-xs-12">
                                                                        <div class="form-group form-float">
                                                                            <asp:Button ID="Btn_Srch" class="btn btn-primary waves-effect" runat="server" Text="<%$ Resources:Content,GN0000391%>" />
                                                                            <asp:Button ID="Btn_Clear" Visible="false" class="btn btn-primary waves-effect" runat="server" Text="<%$ Resources:Content,String289 %>" />
                                                                        </div>
                                                                    </div>

                                                                </div>


                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </asp:Panel>

                                    </div>
                                </div>

                                <div class="row">
                                    <div class="col-xs-12">
                                        <div class="card">
                                            <div class="header">
                                                <h3>
                                                    <asp:Label ID="Label9" runat="server" Text="<%$ Resources:Content, SelectOrganizations %>" />
                                                </h3>
                                            </div>
                                            <div class="body">
                                                <div class="row">
                                                    <div class="col-xs-12" id="divchbxHeader" runat="server">
                                                        <asp:LinkButton ID="Chbx_Checkall_header" runat="server" Text="<%$ Resources:Content, L0098 %>" CssClass="btn btn-primary"></asp:LinkButton>

                                                        <asp:LinkButton ID="Chbx_UncheckAll_header" runat="server" Text="<%$ Resources:Content, L0099 %>" CssClass="btn btn-primary"></asp:LinkButton>

                                                    </div>
                                                </div>
                                                <div class="row">
                                                    <div class="col-xs-12">
                                                        <asp:GridView ID="GV_Orgs" CssClass="table table-bordered table-striped table-hover table-responsive" EmptyDataText="<%$ Resources:Content, GN00001375 %>"
                                                            runat="server" AutoGenerateColumns="False" AllowPaging="false" DataKeyNames='OrgUniqueName,OrgId'>
                                                            <Columns>
                                                                <asp:TemplateField HeaderText="<%$ Resources:Content,L00100 %>" HeaderStyle-CssClass="col-xs-1">
                                                                    <ItemTemplate>
                                                                        <asp:CheckBox ID="ChBx_Orgs" runat="server" Checked="true" Text=" " />
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                                <asp:TemplateField HeaderText="<%$ Resources:Content,L0035%>" HeaderStyle-CssClass="col-xs-3">
                                                                    <ItemTemplate>
                                                                        <div class="row">
                                                                            <div class="col-xs-12 row-label">
                                                                                <asp:Label ID="Label8" runat="server" Text="<%$ Resources:Content,DEV1034%>"></asp:Label>:
                                                                            </div>
                                                                            <div class="col-xs-12">
                                                                                <asp:Label ID="Lbl_OrgName" runat="server" />
                                                                            </div>
                                                                        </div>
                                                                        <div class="row">
                                                                            <div class="col-xs-12 row-label">
                                                                                <asp:Label ID="Lbl_DomainName" runat="server" Text="<%$ Resources:Content,GN000125%>"></asp:Label>:

                                                                            </div>
                                                                            <div class="col-xs-12">
                                                                                <div class="form-group">
                                                                                    <div class="form-line">
                                                                                        <asp:TextBox ID="TxBx_DomainName" runat="server"></asp:TextBox>
                                                                                    </div>
                                                                                </div>
                                                                            </div>
                                                                        </div>
                                                                        <div class="row">
                                                                            <div class="col-xs-12 row-label">
                                                                                <asp:Label ID="Lbl_SelectOrganizationalUnit" runat="server" Text="<%$ Resources:Content,SelectOU %>"></asp:Label>
                                                                            </div>
                                                                            <div class="col-xs-12">
                                                                                <div class="form-group">
                                                                                    <asp:DropDownList ID="DDl_OrganizationalUnit" runat="server"></asp:DropDownList>
                                                                                </div>
                                                                            </div>
                                                                        </div>
                                                                        <div class="row" style="display: none;">
                                                                            <div class="col-xs-12 row-label">
                                                                                <asp:Label ID='Lbl_CurrencyCode' runat='server' Text="<%$ Resources:Content,SMI0233%>"></asp:Label>
                                                                            </div>
                                                                            <div class="col-xs-12">
                                                                                <div class="form-group">
                                                                                    <asp:DropDownList ID='Ddl_CurrencyCode' runat='server' Enabled="false">
                                                                                    </asp:DropDownList>
                                                                                </div>
                                                                            </div>
                                                                        </div>
                                                                        <div class="row" style="display: none;">
                                                                            <div class="col-xs-12 row-label">
                                                                                <asp:Label ID='Lbl_language' runat="server" Text='Base Language'></asp:Label>
                                                                            </div>
                                                                            <div class="col-xs-12">
                                                                                <div class="form-group">
                                                                                    <asp:DropDownList ID='Ddl_language' runat="server" Enabled="false">
                                                                                    </asp:DropDownList>
                                                                                </div>
                                                                            </div>
                                                                        </div>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                                <asp:TemplateField HeaderText="<%$ Resources:Content, L00102%>" HeaderStyle-CssClass="col-xs-3">
                                                                    <ItemTemplate>
                                                                        <asp:DropDownList ID="DDL_Client" runat="server">
                                                                        </asp:DropDownList>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                                <asp:TemplateField HeaderText="<%$ Resources:Content, L00101 %>" HeaderStyle-CssClass="col-xs-3">
                                                                    <ItemTemplate>
                                                                        <asp:DropDownList ID="DDL_Package" runat="server">
                                                                        </asp:DropDownList>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                                <asp:TemplateField HeaderText="<%$ Resources:Content, GN0000360 %>" HeaderStyle-CssClass="col-xs-2">
                                                                    <ItemTemplate>
                                                                        <asp:LinkButton ID="LB_Import" Text="<%$ Resources:Content, L00100 %>" runat="server"
                                                                            CommandName="ImportOne" CssClass="btn btn-primary btnAction" />
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                            </Columns>
                                                        </asp:GridView>
                                                        <%-- </div>--%>
                                                    </div>
                                                </div>
                                                <div class="row" id="divchbxBottom" runat="server">
                                                    <div class="col-xs-12" >
                                                        <asp:LinkButton ID="Chbx_Checkall" runat="server" Text="<%$ Resources:Content, L0098 %>" CssClass="btn btn-primary"></asp:LinkButton>
                                                        <asp:LinkButton ID="Chbx_UncheckAll" runat="server" Text="<%$ Resources:Content, L0099 %>" CssClass="btn btn-primary"></asp:LinkButton>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </asp:WizardStep>

                            <asp:WizardStep runat="server" Title="Resources" ID="S_Resources" StepType="Finish">
                                <div class="row">
                                    <div class="col-xs-12">
                                        <div class="card">
                                            <div class="body">
                                                <%--Section specific help--%>
                                                <asp:Panel ID="Panel2" runat="server" CssClass="helpBox">
                                                    <asp:Label ID="Label11" runat="server" Text="<%$ Resources:Content, SelectBillingSubscription %>" /><br />
                                                    <br />
                                                    <strong>
                                                        <asp:Label ID="Label15" runat="server" Text="<%$ Resources:Content,Note %>" />: </strong>
                                                    <asp:Label ID="Label12" runat="server" Text="<%$ Resources:Content,PleaseBePatient %>" />
                                                </asp:Panel>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div class="row">
                                    <div class="col-xs-12">
                                        <div class="card">
                                            <div class="header">
                                                <h3>
                                                    <asp:Label ID="Label13" runat="server" Text="<%$ Resources:Content,M0088 %>" /></h3>
                                            </div>
                                            <div class="body">
                                                <div class="row">
                                                    <div class="col-xs-12">
                                                        <asp:GridView ID="GV_Domains" CssClass="table table-bordered table-striped table-hover table-responsive" AllowPaging="false" EmptyDataText="<%$ Resources:Content, GN00001375 %>"
                                                            runat="server" AutoGenerateColumns="False">
                                                            <Columns>
                                                                <asp:TemplateField HeaderText="<%$ Resources:Content,DGN1110357%>" HeaderStyle-CssClass="col-xs-2">
                                                                    <ItemTemplate>
                                                                        <asp:Label ID="Lbl_Organization" runat="server"></asp:Label>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                                <asp:TemplateField HeaderText="<%$ Resources:Content,L0097 %>" HeaderStyle-CssClass="col-xs-2">
                                                                    <ItemTemplate>
                                                                        <asp:Label ID="Lbl_Client" runat="server"></asp:Label>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                                <asp:TemplateField HeaderText="<%$ Resources:Content,DGN1119987%>" HeaderStyle-CssClass="col-xs-2">
                                                                    <ItemTemplate>
                                                                        <asp:DropDownList ID="DDL_Susbcription" runat="server">
                                                                        </asp:DropDownList>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                                <asp:TemplateField HeaderText="<%$ Resources:Content,SMI0234%>" HeaderStyle-CssClass="col-xs-2">
                                                                    <ItemTemplate>
                                                                        <div class="form-group display-date-input">
                                                                            <div class="form-line">
                                                                                <asp:TextBox ID="TxBx_DRangeAfter" runat="server"></asp:TextBox>
                                                                            </div>
                                                                        </div>
                                                                        <i runat="server" id="A_DRangeAfter" class="material-icons icon-calendar col-calendar"></i>
                                                                       
                                                                        <EM:CalendarExtender ID="CE_DRangeAfter" runat="server" TargetControlID="TxBx_DRangeAfter"
                                                                            Format="<%# System.Threading.Thread.CurrentThread.CurrentCulture.DateTimeFormat.ShortDatePattern %>"
                                                                            PopupButtonID="A_DRangeAfter" CssClass="date__calendar">
                                                                        </EM:CalendarExtender>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                                <asp:TemplateField HeaderText="<%$ Resources:Content,GN00001473 %>" HeaderStyle-CssClass="col-xs-2">
                                                                    <ItemTemplate>
                                                                        <asp:DropDownList ID="DDL_BillingCycle" runat="server">
                                                                        </asp:DropDownList>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                                <asp:TemplateField HeaderText="<%$ Resources:Content, GN0000831 %>" HeaderStyle-CssClass="col-xs-2">
                                                                    <ItemTemplate>
                                                                        <asp:DropDownList ID="DDL_PaymentGroup" runat="server">
                                                                        </asp:DropDownList>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                            </Columns>
                                                        </asp:GridView>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </asp:WizardStep>
                        </WizardSteps>
                    </asp:Wizard>
                    <asp:ValidationSummary HeaderText='<%$ Resources:Content, EM000001%>' ID="ValidationSummary1"
                        ShowMessageBox="true" ShowSummary="false" runat="server" />
                </div>
                <div id="Div_Result" runat="server" style="display: none">
                </div>
            </div>
        </div>
    </div>
</asp:Content>
