Preview: subject.php
Size: 1.76 KB
/home/jambtst2015/public_html/app/application/views/backend/parent/subject.php
<div class="row">
<div class="col-md-12">
<!------CONTROL TABS START------->
<ul class="nav nav-tabs bordered">
<li class="active">
<a href="#list" data-toggle="tab"><i class="entypo-menu"></i>
<?php echo get_phrase('subject_list');?>
</a></li>
</ul>
<!------CONTROL TABS END------->
<div class="tab-content">
<!----TABLE LISTING STARTS--->
<div class="tab-pane box active" id="list">
<table class="table table-bordered datatable" id="table_export">
<thead>
<tr>
<th><div><?php echo get_phrase('class');?></div></th>
<th><div><?php echo get_phrase('subject_name');?></div></th>
<th><div><?php echo get_phrase('teacher');?></div></th>
</tr>
</thead>
<tbody>
<?php $count = 1;foreach($subjects as $row):?>
<tr>
<td><?php echo $this->crud_model->get_type_name_by_id('class',$row['class_id']);?></td>
<td><?php echo $row['name'];?></td>
<td><?php echo $this->crud_model->get_type_name_by_id('teacher',$row['teacher_id']);?></td>
</tr>
<?php endforeach;?>
</tbody>
</table>
</div>
<!----TABLE LISTING ENDS--->
</div>
</div>
</div>
<!----- DATA TABLE EXPORT CONFIGURATIONS ----->
<script type="text/javascript">
jQuery(document).ready(function($)
{
var datatable = $("#table_export").dataTable();
$(".dataTables_wrapper select").select2({
minimumResultsForSearch: -1
});
});
</script>
Directory Contents
Dirs: 0 × Files: 24