<%@ 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="form-group">
                                        <div class="col-lg-1"></div>
                                        
                                      <label for="inputEmail1" class="col-lg-2 col-sm-2 control-label">Access Policy</label>
                                      <div class="col-lg-4">
                                      <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="form-group">
                                   <div class="col-lg-1"></div>
                                      <label for="inputPassword1" class="col-lg-2 col-sm-2 control-label">Minimum Length</label>
                                      <div class="col-lg-4">
                                      <asp:TextBox ID="txtMinPass" runat="server" placeholder="Minimum Length" onkeypress="return numbersOnly(event)" CssClass="form-control"></asp:TextBox>
                                      </div>
                                  </div>
                                  <div class="form-group">
                                   <div class="col-lg-1"></div>
                                      <label for="inputPassword1" class="col-lg-2 col-sm-2 control-label">Maximum Length</label>
                                      <div class="col-lg-4">
                                       <asp:TextBox ID="txtMaxPass" runat="server" placeholder="Maximum Length" onkeypress="return numbersOnly(event)" CssClass="form-control"></asp:TextBox>
                                      </div>
                                  </div>
                                  
                                   <div class="form-group">
                                   <div class="col-lg-1"></div>
                                      <label for="inputPassword1" class="col-lg-2 col-sm-2 control-label">Expire After (Days) </label>
                                      <div class="col-lg-4">
                                        <asp:TextBox ID="txtExpire" runat="server" placeholder="Expiry After (Days)" onkeypress="return numbersOnly(event)" CssClass="form-control"></asp:TextBox>
                                      </div>
                              </div>
                                  <div class="form-group">
                                  <div class="col-lg-1"></div>
                                     <label for="inputPassword1" class="col-lg-2 col-sm-2 control-label">Wrong Limit</label>
                                      <div class="col-lg-4">
                                          <asp:TextBox ID="txtWrong" runat="server" placeholder="Wrong Limit" onkeypress="return numbersOnly(event)" CssClass="form-control"></asp:TextBox>
                                      </div>
                                       </div>
                                   
                                   
                                  
                                   

                                  <div class="form-group">
                                  <div class="col-lg-1"></div>
                                      <div class="col-lg-offset-2 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 />
                              <br />
                              <br />
                              <br />
                          </div>
                      </section>
        </div>
    </div>
</asp:Content>
