<%@ control language="VB" autoeventwireup="false" inherits="PCC_DC_CC_ADirBulkUser, MachSol.MachPanel.Web" %>

<%@ Register Assembly="MachSol.MachPanel.Utility" Namespace="MachSol.MachPanel.Utility"
    TagPrefix="EM" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="EM" %>
<%@ Register Assembly="System.Web.Extensions" Namespace="System.Web.UI" TagPrefix="asp" %>
<%@ Register Src="~/Template/CC/Selectable_Selected_LBX.ascx" TagName="AddSelectableSelected" TagPrefix="EM" %>

<asp:Panel ID="Pnl_BulkStep1" runat="server">
    <div class="row" id="Div_DDl_Customer" runat="server">
        <div class="col-sm-3 col-xs-12 row-label">
            <label>
                <asp:Literal ID="Ltrl_SelectCustomer" runat="server" Text="<%$ Resources:Content,GN0000889 %>"></asp:Literal>:</label>
        </div>
        <div class="col-sm-4 col-xs-12">
            <div class="form-group">
                <asp:DropDownList ID="Ddl_Customer" runat="server" AutoPostBack="true"></asp:DropDownList>
            </div>
        </div>
    </div>
    <div class="row">
        <div class="col-sm-3 col-xs-12 row-label">
            <label>
                *<asp:Literal ID="Literal2" runat="server" Text='<%$Resources:Content, AD0000100%>'
                    EnableViewState="False">
                </asp:Literal>:</label>
        </div>
        <div class="col-sm-4 col-xs-12">
            <div class="form-group">
                <asp:DropDownList ID="DDL_OU" runat="server" AutoPostBack="true">
                </asp:DropDownList>
            </div>
        </div>
    </div>
    <div class="row">
        <div class="col-sm-3 col-xs-12 row-label">
            <label>
                <asp:Literal ID="Literal4" runat="server" Text="<%$ Resources:Content,SelectUserToClone %>"></asp:Literal>:</label>
        </div>
        <div class="col-sm-4 col-xs-12">
            <div class="form-group">
                <asp:DropDownList ID="DDL_ADUserToClone" AutoPostBack="true" runat="server"></asp:DropDownList>
            </div>
        </div>
    </div>
    <div class="row" id="Div_LogonHoursTemplate" runat="server">
        <div class="col-sm-3 col-xs-12 row-label">
            <label>
                <asp:Literal ID="Literal1" runat="server" Text='<%$ Resources:Content,strLogonHours %>'
                    EnableViewState="false" />:</label>
        </div>
        <div class="col-sm-4 col-xs-12">
            <div class="form-group">
                <asp:DropDownList ID="DDL_LogonHours" runat="server"></asp:DropDownList>
            </div>
        </div>
    </div>
    <div class="row" id="Div_PasswordOptions" runat="server">
        <div class="col-sm-3 col-xs-12 row-label">
            <asp:Literal ID="Literal5" runat="server" EnableViewState="false" Text="<%$ Resources:Content,BulkPasswordOptions%>"></asp:Literal>:
        </div>
        <div class="col-sm-9 col-xs-12">
            <div class="col-xs-12">
                <div class="form-group">
                    <asp:CheckBox ID="CB_MustChange" Text="<%$ Resources:Content,UserMustChangePassword%>" runat="server" />
                </div>
            </div>
            <div class="col-xs-12">
                <div class="form-group">
                    <asp:CheckBox ID="CB_CantChange" Text="<%$ Resources:Content,UserCantChangePassword%>" runat="server" />
                </div>
            </div>
            <div class="col-xs-12">
                <div class="form-group">
                    <asp:CheckBox ID="CB_NeverExpires" Text="<%$ Resources:Content,PasswordNeverExpires%>" Checked="true" runat="server" />
                </div>
            </div>
        </div>
    </div>
    <div class="row">
        <div class="col-sm-3 col-xs-12 row-label">
            <label>
                <asp:Literal ID="Ltrl_SelectProfilePic" runat="server" Text="<%$Resources:Content,String380 %>"></asp:Literal>:</label>
        </div>
        <div class="col-sm-4 col-xs-12">
            <div class="form-group">
                <div class="fileupload fileupload-new" data-provides="fileupload">
                    <span class="btn btn-primary btn-file"><span class="fileupload-new"><%= Resources.Content.strSelectFile%></span>
                        <span class="fileupload-exists"><%= Resources.Content.GN0000385%></span>
                        <asp:FileUpload ID="FU_BulkUser" runat="server" />
                    </span>
                    <span class="fileupload-preview"></span>
                    <a href="#" class="close fileupload-exists" data-dismiss="fileupload" style="float: none">×</a>
                    <asp:RequiredFieldValidator ID="RFV_BulkUser" runat="server" ControlToValidate="FU_BulkUser"
                        Display="None" SetFocusOnError="True" ValidationGroup="AddBulkUser" ErrorMessage='<%$Resources:Content,USM0077 %>'></asp:RequiredFieldValidator>
                </div>
            </div>
        </div>
        <div class="col-sm-4 col-xs-12">
            <asp:Literal ID="Ltl_DownLoadCSV" runat="server"></asp:Literal>
        </div>
    </div>
    <div class="row" id="trSendCreateEmail" runat="server">
        <div class="col-xs-12 row-label">
            <div class="form-group">
                <asp:CheckBox ID="CB_SendCreateUserEmail" runat="server" Text="<%$Resources:Content,strSendADUserCreateEmailToAlternateEmail %>" />
            </div>
        </div>
    </div>
    <div class="row" id="trSendPasswordEmail" runat="server">
        <div class="col-xs-12 row-label">
            <div class="form-group">
                <asp:CheckBox ID="CB_SendPasswordEmail" runat="server" Text="<%$Resources:Content,strSendPassEmailToAlternateEmail %>" />
            </div>
        </div>
    </div>
    <div class="row" id="trRetainValues" runat="server">
        <div class="col-xs-12 row-label">
            <div class="form-group">
                <asp:CheckBox ID="CB_RetainValues" runat="server" Text="<%$Resources:Content,strRetainExistingAttributes %>" />
            </div>
        </div>
    </div>
    <br />
    <div class="row">
        <div class="col-xs-12">
             <asp:Label ID="lblNote" runat="server" Text="<%$Resources:Content,strNoteForUsermandatoryFields %>"></asp:Label>
        </div>
    </div>

    <br />

    <div class="row">
        <div class="col-xs-12">
            <%--<asp:Button ID="Btn_Next" runat="server" ValidationGroup="AddBulkUser" CausesValidation="True"
                            class="btn btn-primary waves-effect" Text="<%$ Resources:Content,GN00001242%>" />--%>
            <asp:Button ID="Btn_Next" runat="server" ValidationGroup="AddBulkUser" CausesValidation="True"
                class="btn btn-primary waves-effect btnAction" Text="<%$ Resources:Content,GN0000281%>" />

            <asp:Button ID="Btn_BUserCancel" runat="server" CausesValidation="false" class="btn btn-primary waves-effect" Text="<%$ Resources:Content,GN0000572%>" />
        </div>
    </div>
</asp:Panel>


<asp:Panel CssClass="row" ID="pnl_BulkUserLog" runat="server" Style="display: none">
    <div class="col-xs-12">
        <div class="card">
            <div class="header">
                <h3>
                    <asp:Literal ID="Literal88" runat="server" EnableViewState="false" Text="<%$ Resources:Content,SMI0267%>" /></h3>
            </div>
            <div class="body">
                <div class="row">
                    <div class="col-xs-12 row-label" id="Div_Result" runat="server">
                    </div>
                </div>
                <div class="row">
                    <div class="col-xs-12">
                        <asp:Button ID="Btn_BUserLogClose" runat="server" CausesValidation="false" class="btn btn-primary waves-effect" Text="<%$ Resources:Content,GN000150%>" />
                    </div>
                </div>
            </div>
        </div>
    </div>
</asp:Panel>
