<!-- ============================================================== -->
<!-- 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">System Users</h3>
        <ol class="breadcrumb">
            <li class="breadcrumb-item"><a href="javascript:void(0)">Home</a></li>
            <li class="breadcrumb-item active">System Users > Users Summary > Users Modules</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 d-flex justify-content-between">
                <span>User Modules Allocation</span>
                <span>
                    <button class="btn btn-success" onclick="user_module_allocation_form_view()">Allocate module to user</button>
                </span>
            </div>
            <div class="card-body p-2">
                <table class="table table-responsive" id="users_modules_table">
                    <thead>
                        <tr>
                            <th>Staff ID</th>
                            <th>Name</th>
                            <th>Student</th>
                            <th>Staff</th>
                            <th>Assessment</th>
                            <th>Teachers</th>
                            <th>My School</th>
                            <th>Announcements</th>
                            <th>Users</th>
                        </tr>
                    </thead>
                    <tbody>
                        <tr>
                            <td>10</td>
                            <td>Mwenewezi Chanika</td>
                            <td>1</td>
                            <td>1</td>
                            <td>1</td>
                            <td>1</td>
                            <td>1</td>
                            <td>1</td>
                            <td>1</td>
                        </tr>
                    </tbody>
                </table>
            </div>
        </div>
    </div>
</div>     

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