<%@ Page Title="" Language="C#" MasterPageFile="~/Application.Master" AutoEventWireup="true" CodeBehind="UserMaster.aspx.cs" Inherits="ICDAS_3_0_Web_App.Administration.UserMaster" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <%@ Register Src="~/User_Controls/ucSearchGrid.ascx" TagPrefix="ucSearchGrid" TagName="ucSearchGrid" %>
    <%@ Register Src="~/User_Controls/ucToolBar.ascx" TagPrefix="ucToolBar" TagName="ucToolBar" %>
    <%@ Register Src="~/User_Controls/ucDropDown.ascx" TagPrefix="ucDropDown" TagName="ucDropDown" %>
</asp:Content>
<asp:Content ID="cotMain" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <asp:UpdatePanel ID="upnlwzUserMaster" UpdateMode="Always" runat="server">
        <ContentTemplate>
            <div class="row">
                <div class="col-md-12 col-sm-12 col-xs-12">
                    <div class="x_panel">
                        <div class="x_content">
                            <asp:HiddenField ID="hdnRecordId" Value="0" runat="server" />
                            <asp:HiddenField ID="hdnRecordIds" Value="" runat="server" />
                            <asp:HiddenField ID="hdnRowIndex" Value="0" runat="server" />
                            <asp:HiddenField ID="hdnCompnayGroupId" Value="" runat="server" />
                            <asp:HiddenField ID="hdnCompnayGroupName" Value="" runat="server" />
                            <asp:HiddenField ID="hdnLoginPassword" Value="" runat="server" />
                            <div class="x_title">
                                <h4>
                                    <asp:Label ID="lblFormTitle" runat="server"></asp:Label></h4>
                                <div class="clearfix"></div>
                            </div>
                            <div id="wizard" class="form_wizard wizard_horizontal">
                                <ul class="wizard_steps">
                                    <li>
                                        <a runat="server" id="aStep1" class="selected">
                                            <span class="step_no">1</span>
                                            <%--<span class="step_descr">Step 1<br />--%>
                                            <small>Search Records</small>
                                            </span>
                                        </a>
                                    </li>
                                    <li>
                                        <a runat="server" id="aStep2" class="disabled">
                                            <span class="step_no">2</span>
                                            <%--<span class="step_descr">Step 2<br />--%>
                                            <small>Manage Records</small>
                                            </span>
                                        </a>
                                    </li>
                                </ul>
                            </div>

                            <div class="col-xs-12 col-sm-12 col-lg-12">
                                <ucToolBar:ucToolBar runat="server" ID="ucToolBar" DisplaySaveAs="N" />
                            </div>
                            <div class="col-xs-12 col-sm-12 col-lg-12">
                                <asp:Wizard ID="wzMain" CssClass="col-sm-12" DisplaySideBar="false" OnActiveStepChanged="wzMain_ActiveStepChanged"
                                    runat="server" class="form_wizard wizard_horizontal">
                                    <WizardSteps>
                                        <asp:WizardStep ID="Step0" runat="server">
                                            <ucSearchGrid:ucSearchGrid runat="server" strDecryptrequired="Y" intColNo="3" ID="ucSearchGrid" />
                                        </asp:WizardStep>
                                        <asp:WizardStep ID="Step1" runat="server">
                                            <div class="row">
                                                <div class="col-xs-12 col-sm-12 col-lg-6">
                                                    <div class="input-group">
                                                        <span class="input-group-addon">User Name*&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>
                                                        <asp:TextBox ID="txtUserName" MaxLength="100" runat="server" CssClass="form-control" AutoCompleteType="Disabled" autocomplete="off"
                                                            placeholder="Enter User Name" required onkeypress="return blockSpecialChar(event)" />
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="row">
                                                <div class="col-xs-12 col-sm-12 col-lg-6">
                                                    <div class="input-group">
                                                        <span class="input-group-addon">Login Name*&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>
                                                        <asp:TextBox ID="txtLoginName" MaxLength="25" runat="server" CssClass="form-control" AutoCompleteType="Disabled" autocomplete="off"
                                                            placeholder="Enter Login Name" required onkeypress="return blockSpecialChar(event)" />
                                                    </div>
                                                </div>
                                                <div class="col-xs-12 col-sm-12 col-lg-2">
                                                    (Max 25 Char)
                                                </div>
                                            </div>
                                            <div class="row" id="dvPassword" runat="server">
                                                <div class="col-xs-12 col-sm-12 col-lg-6">
                                                    <div class="input-group">
                                                        <span class="input-group-addon">Password*&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>
                                                        <asp:TextBox ID="txtLoginPassword" MaxLength="15" runat="server" CssClass="form-control" AutoCompleteType="Disabled" autocomplete="off"
                                                            placeholder="Enter Login Password" TextMode="Password" required onkeypress="return blockSpecialChar(event)" />   
                                                    </div>
                                                </div>
                                                <div class="col-xs-12 col-sm-12 col-lg-6">
                                                    (min 8 Char, max 15 Char)(Password should be Aa-Zz,0-9)
                                                </div>
                                            </div>
                                            <div class="row">
                                                <div class="col-xs-12 col-sm-12 col-lg-6">
                                                    <div class="input-group">
                                                        <span class="input-group-addon">Belongs To*&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>
                                                        <ucDropDown:ucDropDown runat="server" ID="ddlCompanyGroup" />
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="row" >
                                                <div class="col-xs-12 col-sm-12 col-lg-6">
                                                    <div class="input-group" style=" border: 0px solid #ccc; ">
                                                        <span class="input-group-addon">Accessible Dept.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>
                                                        <div style="overflow: auto; border-bottom: 1px solid #f3f3f3">
                                                            <asp:CheckBoxList CssClass="form-control" ID="lstCompanyGroup" runat="server" SelectionMode="Multiple" Height="100px" Style="overflow: auto;" >
                                                            </asp:CheckBoxList>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                            

                                            <div class="row">
                                                <div class="col-xs-12 col-sm-12 col-lg-6">
                                                    <div class="input-group">
                                                        <span class="input-group-addon">Access Group*&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>
                                                        <ucDropDown:ucDropDown runat="server" ID="ddlUserGroup" />
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="row">
                                                <div class="col-xs-12 col-sm-12 col-lg-6">
                                                    <div class="input-group">
                                                        <span class="input-group-addon">Status&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>
                                                        <asp:RadioButtonList ID="optRecordStatus" runat="server" CssClass="form-control" RepeatDirection="Horizontal">
                                                            <asp:ListItem Value="0" Selected="True" style="margin-right: 20px">Active</asp:ListItem>
                                                            <asp:ListItem Value="1" style="margin-right: 30px">Not Active</asp:ListItem>
                                                            <asp:ListItem Value="2" style="margin-right: 30px">Blocked</asp:ListItem>
                                                        </asp:RadioButtonList>

                                                    </div>
                                                </div>
                                            </div>
                                            <div class="row" style="display: none;">
                                                <div class="col-xs-12 col-sm-12 col-lg-6">
                                                    <div class="input-group">
                                                        <span class="input-group-addon">Password Frequency*</span>
                                                        <asp:TextBox ID="txtPasswordFrequency" MaxLength="3" runat="server" CssClass="form-control text-right" AutoCompleteType="Disabled" autocomplete="off"
                                                            placeholder="Password Frequency" type="number" step="1" min="1" max="365" Text="1" />
                                                    </div>
                                                </div>
                                                <div class="col-xs-12 col-sm-12 col-lg-2">
                                                    Days ( Min 1 to Max 365 )
                                                </div>
                                            </div>

                                        </asp:WizardStep>
                                    </WizardSteps>
                                    <StartNavigationTemplate>
                                        <asp:Button ID="NextButton" Visible="false" runat="server" Text="Next" CommandName="MoveNext" CssClass="btn btn-primary btn-sm" />
                                    </StartNavigationTemplate>
                                    <FinishNavigationTemplate>
                                        <asp:Button ID="btnPrevious" runat="server" formnovalidate="true" Text="Previous" CssClass="btn btn-success btn-sm" ToolTip="MOVE BACK TO PREVIOUS SCREEN" CommandName="MovePrevious" />
                                    </FinishNavigationTemplate>
                                </asp:Wizard>
                            </div>
                        </div>
                    </div>

                </div>
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>
</asp:Content>


