<%@ Page Title="Cloud HR - User Access Policy::." Language="C#" MasterPageFile="~/Site1.Master" AutoEventWireup="true" 
    CodeBehind="UserAccessPolicy.aspx.cs" Inherits="HRMS.UserAccessPolicy" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    
    <div class="row">
        <div class="col-lg-12">
            <section class="panel">
                          <header class="panel-heading">
                              User Access Policy
                          </header>
                          <div class="panel-body">
                             <div class="span6">
                                <div id="diverrorMessage" runat="server" visible="false" class="alert alert-danger alert-dismissable">

                                    <i class="icon-check-sign"></i>
                                    <asp:Label ID="lblerrorMessage" class="msg" runat="server" Text="" ></asp:Label>
                                </div>
                            </div>
                                  <div class="row">
                                        
                                      <label for="inputEmail1" class=" col-xs-6 col-md-3 col-lg-4 control-label">Access Policy</label>
                                      <div class="col-xs-8 col-md-6 col-lg-6">
                                      <asp:HiddenField ID="hidPolicyId" runat="server"></asp:HiddenField>
                                      <asp:TextBox ID="txtDesc" runat="server" placeholder="Access Policy" MaxLength="40" CssClass="form-control"></asp:TextBox>
                                      <asp:RequiredFieldValidator SetFocusOnError="true" ValidationGroup="save" runat="server" id="Req_txtDesc" controltovalidate="txtDesc" errormessage="Access Policy is Required!" />
                                      </div>
                                     </div>
                                  <h4>Password Policy</h4>
                                   <div class="row">
                                      <label for="inputPassword1" class="col-xs-6 col-md-3 col-lg-4 col-sm-6 control-label">Minimum Length</label>
                                      <div class="col-xs-8 col-md-6 col-lg-6">
                                      <asp:TextBox ID="txtMinPass" runat="server" placeholder="Minimum Length" onkeypress="return numbersOnly(event)" CssClass="form-control"></asp:TextBox>
                                      </div>
                                  </div>
                                  <div class="row">
                                      <label for="inputPassword1" class="col-xs-6 col-md-3 col-lg-4 col-sm-6 control-label">Maximum Length</label>
                                      <div class="col-xs-8 col-md-6 col-lg-6">
                                       <asp:TextBox ID="txtMaxPass" runat="server" placeholder="Maximum Length" onkeypress="return numbersOnly(event)" CssClass="form-control"></asp:TextBox>
                                      </div>
                                  </div>
                                  
                                   <div class="row">
                                      <label for="inputPassword1" class="col-xs-6 col-md-3 col-lg-4 col-sm-6 control-label">Expire After (Days) </label>
                                      <div class="col-xs-8 col-md-6 col-lg-6">
                                        <asp:TextBox ID="txtExpire" runat="server" placeholder="Expiry After (Days)" onkeypress="return numbersOnly(event)" CssClass="form-control"></asp:TextBox>
                                      </div>
                              </div>
                                  <div class="row">
                                     <label for="inputPassword1" class="col-xs-6 col-md-3 col-lg-4 col-sm-6 control-label">Wrong Limit</label>
                                      <div class="col-xs-8 col-md-6 col-lg-6">
                                          <asp:TextBox ID="txtWrong" runat="server" placeholder="Wrong Limit" onkeypress="return numbersOnly(event)" CssClass="form-control"></asp:TextBox>
                                      </div>
                                       </div>
                                   
                                   
                                  
                                   <br />

                                  <div class="row">
                                      <div class="col-md-offset-3 col-lg-offset-4 col-lg-8">
                                      <asp:Button ID="btnSave" class="btn btn-info" runat="server" Text="Save" ValidationGroup="save" OnClick="btnSave_Click"></asp:Button>
                                      <a href="#" id="aCancel" runat="server" class="btn btn-info">Back</a>
                                          
                                      </div>
                                  </div>
                              <br />
                              <br />
                              <br />
                              <br />
                              <br />
                              <br />
                       
                          </div>
                      </section>
        </div>
    </div>
</asp:Content>
