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

<%@ Register Src="~/Template/GVPager.ascx" TagName="Pager" TagPrefix="EM" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="EM" %>

<asp:Content ID="Content1" ContentPlaceHolderID="CPH_Content" runat="Server">
    <div class="col-xs-12">
        <div class="card">
            <div class="header">
                <h3><%= Resources.Content.HostmaticImportWizard%></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="btn btn-primary formButton formButtonCancel" Width="105px" />
                        <FinishCompleteButtonStyle CssClass="btn btn-primary formButton formButtonFinish btnAction" Width="105px" />
                        <StepPreviousButtonStyle CssClass="btn btn-primary formButton formButtonBack" Width="105px" />
                        <StepNextButtonStyle CssClass="btn btn-primary formButton formButtonNext btnAction" Width="105px" />
                        <StartNextButtonStyle CssClass="btn btn-primary formButton formButtonNext btnAction" Width="105px" />
                        <FinishPreviousButtonStyle CssClass="btn btn-primary formButton formButtonBack" 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="exchange_wizard" runat="server" Text="<%$ Resources:Content, HostmaticImportWizardText %>" />
                                                    <br />
                                                    <br />
                                                    <ol>
                                                        <li style="list-style: decimal;">
                                                            <asp:Label ID="Label1" runat="server" Text="<%$ Resources:Content, ImportDBText %>" /></li>
                                                        <li style="list-style: decimal;">
                                                            <asp:Label ID="Label5" runat="server" Text="<%$ Resources:Content, ImportDNSText %>" /></li>
                                                    </ol>

                                                    <strong>
                                                        <asp:Label ID="Label2" runat="server" Text="<%$ Resources:Content, PreRequisites %>" />:</strong>
                                                    <ol>
                                                        <li style="list-style: decimal;">
                                                            <asp:Label ID="Label7" runat="server" Text="<%$ Resources:Content, ImportWebPreReq1 %>" /></li>
                                                        <li style="list-style: decimal;">
                                                            <asp:Label ID="Label8" runat="server" Text="<%$ Resources:Content, CustomerAccountShould %>" /></li>
                                                    </ol>
                                                    <strong>
                                                        <asp:Label ID="Label9" runat="server" Text="<%$ Resources:Content, PostIimportTasks %>" />:</strong>
                                                    <ol>
                                                        <li style="list-style: decimal;">
                                                            <asp:Label ID="Label10" 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="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="Label6" runat="server" Text="<%$ Resources:Content,ImportType %>" EnableViewState="false"></asp:Label>:
                                                    </div>
                                                    <div class="col-sm-4 col-xs-12">
                                                        <div class="form-group">
                                                            <asp:DropDownList ID="DDL_ServiceTypeId" runat="server" AutoPostBack="true">
                                                                <asp:ListItem Text="DNS" Value="4"></asp:ListItem>
                                                                <asp:ListItem Text="Database" Value="5" Selected="True"></asp:ListItem>
                                                            </asp:DropDownList>
                                                        </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,strSelectServer %>" 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_Accounts" StepType="Step">
                                <%--Section specific help--%>
                                <div class="row col-xs-12">
                                    <asp:Panel ID="Panel1" runat="server" CssClass="helpBox">
                                        <asp:Label ID="select_account" runat="server" Text="<%$ Resources:Content,SelectDatabaseWantToImport %>" />
                                    </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_Name" runat="server" MaxLength="128"></asp:TextBox>
                                                                                <asp:Label ID="Label11" runat="server" EnableViewState="false" Text="<%$ Resources:Content,strName%>" 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="Lbl_AccountTypeHeader" runat="server" Text="<%$ Resources:Content,SelectDatabases %>" />
                                                </h3>
                                            </div>
                                            <div class="body">
                                                <div class="row">
                                                    <div class="col-xs-12">
                                                        <asp:GridView ID="GV_Accounts" CssClass="table table-bordered table-hover table-striped table-responsive" EmptyDataText="<%$ Resources:Content, GN00001375 %>"
                                                            runat="server" AutoGenerateColumns="False" AllowPaging="true">
                                                            <Columns>
                                                                <asp:TemplateField HeaderText="<%$ Resources:Content,L00100 %>" HeaderStyle-CssClass="col-xs-1" ItemStyle-CssClass="col-xs-1">
                                                                    <ItemTemplate>
                                                                        <asp:CheckBox ID="ChBx_Accounts" runat="server" Checked="true" Text=" " />
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                                <asp:TemplateField HeaderText="<%$ Resources:Content, strName %>" HeaderStyle-CssClass="col-xs-3" ItemStyle-CssClass="col-xs-3">
                                                                    <ItemTemplate>
                                                                        <asp:Label ID="Lbl_AccountName" runat="server" data-toggle="tooltip" data-placement="top" title="" data-original-title="" data-html="true" /><br />
                                                                        <small><div id="Div_AdditionalInfo" runat="server" visible="false"></div></small>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                                <asp:TemplateField HeaderText="<%$ Resources:Content, L00102%>" HeaderStyle-CssClass="col-xs-4" ItemStyle-CssClass="col-xs-4">
                                                                    <ItemTemplate>
                                                                        <asp:DropDownList ID="DDL_Client" runat="server">
                                                                        </asp:DropDownList>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                                <asp:TemplateField HeaderText="<%$ Resources:Content, L00101 %>" HeaderStyle-CssClass="col-xs-3" ItemStyle-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-1" ItemStyle-CssClass="col-xs-1">
                                                                    <ItemTemplate>
                                                                        <asp:LinkButton ID="LB_Import" Text="<%$ Resources:Content, L00100 %>" runat="server" CommandName="ImportOne" CssClass="btn btn-primary btnAction" />
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                            </Columns>
                                                            <PagerTemplate>
                                                                <EM:Pager ID="Pager1" runat="server" />
                                                            </PagerTemplate>
                                                        </asp:GridView>
                                                    </div>
                                                </div>
                                                <div class="row">
                                                    <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">

                                                <asp:Label ID="Label13" runat="server" Text="<%$ Resources:Content,SelectBillingPreference4Record %>" /><br />
                                                <br />
                                                <strong>
                                                    <asp:Label ID="Label15" runat="server" Text="<%$ Resources:Content,Note %>" />: 
                                                </strong>
                                                <asp:Label ID="Label14" runat="server" Text="<%$ Resources:Content,PleaseBePatientAfter %>" />

                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div class="row">
                                    <div class="col-xs-12">
                                        <asp:GridView ID="GV_SelectedAccounts" CssClass="table table-striped table-bordered table-responsive table-hover" AllowPaging="false"
                                            EmptyDataText="<%$ Resources:Content, GN00001375 %>" runat="server" AutoGenerateColumns="False">
                                            <Columns>
                                                <asp:TemplateField HeaderText="<%$ Resources:Content,strName %>" HeaderStyle-CssClass="col-xs-3">
                                                    <ItemTemplate>
                                                        <div class="row">
                                                            <div class="row-label col-xs-12">
                                                                <asp:Label ID="Lbl_Name" runat="server"></asp:Label>
                                                            </div>
                                                        </div>

                                                        <div class="row">
                                                            <div class="row-label col-xs-12">
                                                                <asp:Literal ID="Label1" runat="server" Text="<%$ Resources:Content, GN000125 %>"></asp:Literal>:
                                                            </div>
                                                            <div class="col-xs-12">
                                                                <asp:TextBox ID="TxBx_DomainName" runat="server"></asp:TextBox>
                                                            </div>
                                                        </div>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField HeaderText="<%$ Resources:Content,L0097 %>" HeaderStyle-CssClass="col-xs-2">
                                                    <ItemTemplate>
                                                        <asp:Label ID="Lbl_Client" runat="server"></asp:Label>
                                                        <asp:HiddenField ID="HF_ClientID" runat="server"></asp:HiddenField>
                                                        <asp:HiddenField ID="HF_PackageId" runat="server"></asp:HiddenField>
                                                    </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="row">
                                                            <div class="col-xs-12">
                                                                <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_StartDate" 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_StartDate" CssClass="date__calendar">
                                                                </EM:CalendarExtender>
                                                            </div>
                                                        </div>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField HeaderText="<%$ Resources:Content,GN00001473 %>" HeaderStyle-CssClass="col-xs-1">
                                                    <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>
                            </asp:WizardStep>
                        </WizardSteps>
                    </asp:Wizard>
                </div>
                <div id="Div_Result" runat="server" style="display: none">
                </div>
            </div>
        </div>
    </div>
</asp:Content>

