<!-- ============================================================== -->
<!-- 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 Subject Allocation</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">
        <p class="text-right">
            <button class="btn btn-outline-success" onclick="teacher_subject_allocation_form_view()">Allocate subject to teacher</button>
        </p>
        <div class="card">
            <div class="card-header text-center lead bg-light mb-3 ">
                Teacher Subject Allocation
            </div>
            <div class="card-body p-2">
                <table class="table" id="users_modules_table">
                    <thead>
                        <tr>
                           
                            <th>Name</th>
                            <th>Acadermic year</th>
                            <th>Subject</th>
                            <th>Form</th>
                            <th>Term</th>
                            <th></th>
                        </tr>
                    </thead>
                    <tbody>
                        <tr>
                            
                            <td>Mwenewezi Chanika</td>
                            <td>2018</td>
                            <td>Chemistry</td>
                            <td>4</td>
                            <td>1</td>
                            <td>
                                <button class="btn btn-outline-danger">
                                    <span class="fa fa-trash"></span>
                                </button>
                            </td>
                        </tr>
                    </tbody>
                </table>
            </div>
        </div>
    </div>
</div>     



<script>  
 $(document).ready(function(){  
    if(document.getElementById("users_modules_table")!==null){
      $('#users_modules_table').DataTable({
        
      });
    }
        
 });  
 </script>