Employee detail screen updated
This commit is contained in:
parent
20d53a9798
commit
8fbbfc5aa1
@ -2,7 +2,7 @@
|
|||||||
<!-- Content Header (Page header) -->
|
<!-- Content Header (Page header) -->
|
||||||
<section class="content-header">
|
<section class="content-header">
|
||||||
<h1>
|
<h1>
|
||||||
<CENTER>EMPLOYEE LIST</CENTER>
|
<CENTER>Siddharth Industries Employee List</CENTER>
|
||||||
|
|
||||||
</h1>
|
</h1>
|
||||||
</section>
|
</section>
|
||||||
@ -10,7 +10,7 @@
|
|||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-xs-12 text-right">
|
<div class="col-xs-12 text-right">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<a class="btn btn-primary" href="<?php echo base_url(); ?>addemployee">Add New</a>
|
<a class="btn btn-primary" href="<?php echo base_url(); ?>addemployee">Add New Employee</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -18,7 +18,7 @@
|
|||||||
<div class="col-xs-12">
|
<div class="col-xs-12">
|
||||||
<div class="box">
|
<div class="box">
|
||||||
<div class="box-header">
|
<div class="box-header">
|
||||||
<CENTER><h3 class="box-title">Employee List</h3></CENTER>
|
<CENTER><h3 class="box-title"></h3></CENTER>
|
||||||
<div class="box-tools">
|
<div class="box-tools">
|
||||||
<form action="<?php echo base_url() ?>employeeListing" method="POST" id="searchList">
|
<form action="<?php echo base_url() ?>employeeListing" method="POST" id="searchList">
|
||||||
<div class="input-group">
|
<div class="input-group">
|
||||||
@ -31,17 +31,15 @@
|
|||||||
</div>
|
</div>
|
||||||
</div><!-- /.box-header -->
|
</div><!-- /.box-header -->
|
||||||
<div class="box-body table-responsive no-padding">
|
<div class="box-body table-responsive no-padding">
|
||||||
<table class="table table-hover">
|
<table class="table table-hover " >
|
||||||
<tr>
|
<tr bgcolor="steelblue">
|
||||||
<th>Emp ID</th>
|
<th>Emp ID</th>
|
||||||
<th>Name</th>
|
<th>Employee Name</th>
|
||||||
|
|
||||||
|
|
||||||
<th>Contact Number</th>
|
<th>Contact Number</th>
|
||||||
<th>Email ID</th>
|
<th>Email ID</th>
|
||||||
|
<th>Designation</th>
|
||||||
<th>Role</th>
|
<th>Department</th>
|
||||||
<th>Action</th>
|
|
||||||
|
|
||||||
</tr>
|
</tr>
|
||||||
<?php
|
<?php
|
||||||
@ -51,21 +49,17 @@
|
|||||||
{
|
{
|
||||||
?>
|
?>
|
||||||
<tr>
|
<tr>
|
||||||
<td><a href="<?php echo base_url().'employeedetails/viewemployee/'.$record->EmpID; ?>"><?php echo $record->EmpID ?> </a></td>
|
<td><u><a href="<?php echo base_url().'employeedetails/viewemployee/'.$record->EmpID; ?>" data-toggle="tooltip" title="<?php echo $record->EmpID; ?> - Click here to view Employee details"><?php echo $record->EmpID ?> </a></u></td>
|
||||||
|
|
||||||
<td><?php echo $record->FirstName ?></td>
|
|
||||||
|
|
||||||
|
<td><?php echo $record->FirstName .' , '. $record->LastName; ?></td>
|
||||||
|
|
||||||
<td><?php echo $record->ContactNumber ?></td>
|
<td><?php echo $record->ContactNumber ?></td>
|
||||||
<td><?php echo $record->EmailId ?></td>
|
<td><?php echo $record->EmailId ?></td>
|
||||||
|
|
||||||
<td><?php echo $record->role ?></td>
|
<td><?php echo $record->role ?></td>
|
||||||
|
<td><?php echo $record->DepartmentName ?></td>
|
||||||
|
|
||||||
|
|
||||||
<td>
|
|
||||||
<a href="<?php echo base_url().'employeedetails/editOldemployee/'.$record->EmpID; ?>"><i class="fa fa-pencil"></i> </a>
|
|
||||||
<a href="<?php echo base_url().'employeedetails/viewemployee/'.$record->EmpID; ?>"><i class="fa fa-eye"></i> </a>
|
|
||||||
<!-- <a href="#" data-userid="<?php echo $record->userId; ?>" class="deleteUser"><i class="fa fa-trash"></i> </a>-->
|
|
||||||
</td>
|
|
||||||
</tr>
|
</tr>
|
||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
@ -74,7 +68,7 @@
|
|||||||
</table>
|
</table>
|
||||||
|
|
||||||
</div><!-- /.box-body -->
|
</div><!-- /.box-body -->
|
||||||
<div class="box-footer clearfix">
|
<div class="box-footer clearfix" >
|
||||||
<?php echo $this->pagination->create_links(); ?>
|
<?php echo $this->pagination->create_links(); ?>
|
||||||
</div>
|
</div>
|
||||||
</div><!-- /.box -->
|
</div><!-- /.box -->
|
||||||
@ -92,5 +86,9 @@
|
|||||||
jQuery("#searchList").attr("action", baseURL + "employeeListing/" + value);
|
jQuery("#searchList").attr("action", baseURL + "employeeListing/" + value);
|
||||||
jQuery("#searchList").submit();
|
jQuery("#searchList").submit();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
$(document).ready(function(){
|
||||||
|
$('[data-toggle="tooltip"]').tooltip();
|
||||||
|
});
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user