<!-- ============================================================== -->
<!-- Bread crumb and right sidebar toggle -->
<!-- ============================================================== -->
<div class="row page-titles">
    <div class="col-md-5 col-8 align-self-center">
        <h3 class="text-themecolor">Manage Teachers</h3>
        <ol class="breadcrumb">
            <li class="breadcrumb-item"><a href="javascript:void(0)">Home</a></li>
            <li class="breadcrumb-item active">Manage Teachers > Teachers List</li>
        </ol>
    </div>
    <div class="col-md-7 col-4 align-self-center">
        <!--a href="https://themewagon.com/themes/bootstrap-4-responsive-admin-template/" class="btn waves-effect waves-light btn-danger pull-right hidden-sm-down"></a-->
    </div>
</div>
<!-- ============================================================== -->
<!-- End Bread crumb and right sidebar toggle -->
<!-- ============================================================== -->
<!-- ============================================================== -->
<!-- Start Page Content -->
<!-- ============================================================== -->
<!-- Row -->
<div class="row">
    <!-- Column -->
    <div class="col-sm-12 col-lg-12">
        <div class="card">
            <div class="card-header text-center lead bg-light mb-3 ">
                List of teachers
            </div>
            <div class="card-body p-2">
                <table class="table" id="teachers_table">
                    <thead>
                        <tr>
                            <th>Staff ID</th>
                            <th>Position</th>
                            <th>Gender</th>
                            <th>Qualification</th>
                            <th>Date of Birth</th>
                            <th>Home</th>
                            <th></th>
                        </tr>
                    </thead>
                    <tbody>
                        <tr>
                            <td>10</td>
                            <td>Mwenewezi Chanika</td>
                            <td>Teacher</td>
                            <td>M</td>
                            <td>Diploma</td>
                            <td>21-10-1998</td>
                            <td>Mzuzu</td>
                            <td>
                                <button class="btn btn-outline-success" onclick="edit_staff_view()">
                                    <span class="fa fa-edit"></span>
                                </button>
                            </td>
                        </tr>
                    </tbody>
                </table>
            </div>
        </div>
    </div>
</div>     

<script>  
 $(document).ready(function(){  
    if(document.getElementById("teachers_table")!==null){
      $('#teachers_table').DataTable({
        columnDefs: [
          {bSortable: false, targets: [5]} 
        ]
      });
    }
        
 });  
 </script>