add Employee Added

This commit is contained in:
gandhimathi Bharathirajan 2017-04-07 12:56:07 +05:30
parent dca6bc38ea
commit 6bd8ae21b3

View File

@ -152,6 +152,11 @@ $(function() {
});
function resetphoto()
{
$("#photo").src("");
}
</script>
<style>
@ -212,7 +217,6 @@ $(function() {
<img id="profilepicture" src="<?php echo base_url(); ?>assets/dist/img/avatar.png" alt="your image" style="width: 139px;"/><br/>
<input type='file' onchange="readURL(this);" id="photo" name="photo"/>
<label for="photo">Select profile picture<br/><small>(only .jpg or .png)</small></label>
<input type="text" name="employeeid" id="employeeid" placeholder="Employee ID" class="form-control" readonly>
<br/><input type="checkbox" id="isactive" name="isactive" onclick="checkactive"> IsActive
</div>
</div>
@ -220,27 +224,27 @@ $(function() {
<div class="col-md-6 pad">
<input type="text" name="FirstName" id="FirstName" placeholder="First Name" class="form-control" required>
<input type="text" name="FirstName" maxlength="100" id="FirstName" placeholder="First Name" class="form-control" required>
</div>
<div class="col-md-6 pad">
<input type="text" name="LastName" id="LastName" placeholder="Last Name" class="form-control" required>
<input type="text" name="LastName" maxlength="100" id="LastName" placeholder="Last Name" class="form-control" required>
</div>
<div class="col-md-6 pad">
<input type="text" name="FatherName" id="FatherName" placeholder="Father / Husband Name" class="form-control" required>
<input type="text" name="FatherName" id="FatherName" maxlength="200" placeholder="Father / Husband Name" class="form-control" required>
</div>
<div class="col-md-6 pad">
<input id="DateofBirth" required name="DateofBirth" placeholder="Date Of Birth" onchange="getAge();" class="form-control">
<input id="DateofBirth" required name="DateofBirth" maxlength="10" placeholder="Date Of Birth" onchange="getAge();" class="form-control">
</div>
<div class="col-md-6 pad">
<input type="text" name="age" placeholder="Age" id="age" class="form-control" readonly>
</div>
<div class="col-md-6 pad">
<input type="text" name="contactnumber" onkeypress="return event.charCode >= 48 && event.charCode <= 57" id="contactnumber" required placeholder="Contact Number" maxlength="10" class="form-control">
<input type="text" name="ContactNumber" onkeypress="return event.charCode >= 48 && event.charCode <= 57" id="ContactNumber" required placeholder="Contact Number" maxlength="10" class="form-control">
</div>
<div class="col-md-6 pad">
<input type="mail" name="emailid" id="emailid" placeholder="Email ID" class="form-control">
<input type="mail" name="emailid" id="emailid" placeholder="Email ID" maxlength="100" class="form-control">
</div>
<div class="col-md-6 pad">
@ -305,7 +309,7 @@ $(function() {
<!-- Text input-->
<div class="form-group">
<div class="col-md-12">
<input type="text" id="currentaddress" required name="currentaddress" placeholder="Current Address" class="form-control">
<input type="text" id="currentaddress" required name="currentaddress" maxlength="500" placeholder="Current Address" class="form-control">
</div>
</div>
<div class="form-group">
@ -316,7 +320,7 @@ $(function() {
<!-- Text input-->
<div class="form-group">
<div class="col-md-12">
<input type="text" id="permanentaddress" required name="permanentaddress" placeholder="Permanent Address " class="form-control">
<input type="text" id="permanentaddress" required name="permanentaddress" maxlength="500" placeholder="Permanent Address " class="form-control">
</div>
</div>
<!-- Text input-->
@ -329,7 +333,7 @@ $(function() {
<!-- Text input-->
<div class="form-group">
<div class="col-md-6">
<input type="text" id="emergencycontactname" required name="emergencycontactname" placeholder="Emergency Contact Name" class="form-control">
<input type="text" id="emergencycontactname" maxlength="100" required name="emergencycontactname" placeholder="Emergency Contact Name" class="form-control">
</div>
<div class="col-md-6">
<input type="text" id="emergencycontactnumber" required name="emergencycontactnumber" onkeypress="return event.charCode >= 48 && event.charCode <= 57" maxlength="10" placeholder="Emergency Contact Number" class="form-control">
@ -379,10 +383,10 @@ $(function() {
</div>
<div class="col-md-3">
<input id="dateofjoining" name="dateofjoining" required placeholder="Date Of Joining" class="form-control">
<input id="dateofjoining" name="dateofjoining" maxlength="10" required placeholder="Date Of Joining" class="form-control">
</div>
<div class="col-md-3">
<input type="text" id="Previousexperience" name="Previousexperience" onkeypress="return isNumberKey(event)" placeholder="Previous Years of Experience" class="form-control">
<input type="text" id="Previousexperience" name="Previousexperience" maxlength="4" onkeypress="return isNumberKey(event)" placeholder="Previous Years of Experience" class="form-control">
</div>
</div>
@ -405,13 +409,13 @@ $(function() {
</div>
<div class="col-md-3">
<input type="text" id="addqualification" name="addqualification" placeholder="Additional Qualification" class="form-control">
<input type="text" id="addqualification" name="addqualification" maxlength="100" placeholder="Additional Qualification" class="form-control">
</div>
<div class="col-md-3">
<input type="text" id="referredby" name="referredby" placeholder="Referred By" class="form-control">
<input type="text" id="referredby" name="referredby" placeholder="Referred By" maxlength="100" class="form-control">
</div>
<div class="col-md-3">
<input type="text" id="referrercontno" name="referrercontno" placeholder="Referrer Contact Number" class="form-control">
<input type="text" id="referrercontno" name="referrercontno" maxlength="10" onkeypress="return event.charCode >= 48 && event.charCode <= 57" placeholder="Referrer Contact Number" class="form-control">
</div>
</div>
@ -420,16 +424,16 @@ $(function() {
<div class="form-group">
<div class="col-md-3">
<input type="text" id="accountno" onkeypress="return event.charCode >= 48 && event.charCode <= 57" name="accountno" placeholder="Account Number" class="form-control">
<input type="text" id="accountno" onkeypress="return event.charCode >= 48 && event.charCode <= 57" maxlength="15" name="accountno" placeholder="Account Number" class="form-control">
</div>
<div class="col-md-3">
<input type="text" id="ifsccode" name="ifsccode" placeholder="IFSC Code" class="form-control">
<input type="text" id="ifsccode" name="ifsccode" placeholder="IFSC Code" maxlength="10" class="form-control">
</div>
<div class="col-md-3">
<input type="text" id="bankbranchname" name="bankbranchname" placeholder="Bank Branch Name" class="form-control">
<input type="text" id="bankbranchname" maxlength="200" name="bankbranchname" placeholder="Bank Branch Name" class="form-control">
</div>
<div class="col-md-3">
<input type="text" id="bankaddress" name="bankaddress" placeholder="Bank Address" class="form-control">
<input type="text" id="bankaddress" maxlength="200" name="bankaddress" placeholder="Bank Address" class="form-control">
</div>
</div>
@ -438,16 +442,16 @@ $(function() {
<div class="form-group">
<div class="col-md-3">
<input type="text" id="aadharno" name="aadharno" placeholder="Aadhar Number" class="form-control">
<input type="text" id="aadharno" name="aadharno" maxlength="50" placeholder="Aadhar Number" class="form-control">
</div>
<div class="col-md-3">
<input type="text" id="panno" name="panno" placeholder="PAN Number" onblur="validatePAN();" class="form-control">
<input type="text" id="panno" maxlength="10" name="panno" placeholder="PAN Number" onblur="validatePAN();" class="form-control">
</div>
<div class="col-md-3">
<input type="text" id="passportno" name="passportno" placeholder="Passport Number" class="form-control">
<input type="text" id="passportno" maxlength="50" name="passportno" placeholder="Passport Number" class="form-control">
</div>
<div class="col-md-3">
<input id="ValidTill" name="ValidTill" placeholder="ValidTill" class="form-control">
<input id="ValidTill" name="ValidTill" maxlength="10" placeholder="ValidTill" class="form-control">
</div>
</div>
@ -466,7 +470,7 @@ $(function() {
<div class="form-group">
<div class="col-md-3 col-md-offset-9">
<div class="pull-right">
<input type="reset" id="reset" class="btn btn-info" value="Reset" />
<input type="reset" id="reset" onclick="resetphoto();" class="btn btn-info" value="Reset" />
<input type="submit" onclick="Validate();" class="btn btn-primary"></button>
</div>
</div>