<?= $this->extend("templates/levelcoordinator_base"); ?>

<?= $this->section("content"); ?>

<!-- Content Wrapper. Contains page content -->
<div class="content-wrapper">
    <!-- Content Header (Page header) -->
    <section class="content-header">
      <div class="container-fluid">
        <div class="row mb-2">
          <div class="col-sm-6">
            <h1>My students</h1>
          </div>
          <div class="col-sm-6">
            <ol class="breadcrumb float-sm-right">
              <li class="breadcrumb-item"><a href="#">Home</a></li>
              <li class="breadcrumb-item active"></li>
            </ol>
          </div>
        </div>
      </div><!-- /.container-fluid -->
    </section>
    <!-- Main content -->
    <section class="content">
      <div class="container-fluid">
        <!-- SELECT2 EXAMPLE -->
        <div class="card card-default">
          <div class="card-header">
            <h3 class="card-title"><strong>View Students</strong></h3>

            <div class="card-tools">
              <button type="button" class="btn btn-tool" data-card-widget="collapse">
                <i class="fas fa-minus"></i>
              </button>
              <button type="button" class="btn btn-tool" data-card-widget="remove">
                <i class="fas fa-times"></i>
              </button>
            </div>
          </div>
          <!-- /.card-header -->
          <div class="card-body">
          
			<div class="row">
              <div class="col-md-12">
                
              <div class="card">
              <div class="card-header">
                <h3 class="card-title"></strong></h3>
              </div>
              <!-- /.card-header -->
			  
              <div class="card-body">
              <div class="row">
              <div class="col-md-12">
              <table id="example1" class="table table-bordered table-striped">
								<thead>
								<tr>
									<th>S/N</th> 
									<th >Full Name</th>
									<th >Registration Number</th>
									<th >Current Level</th>
									<th >Action</th>
									</tr>
						</thead>
						<tbody>
              <?php $i = 1; ?>
              <?php foreach($student as $stud): ?>
                <tr>
                <td><?= $i++ ?></td>
                <td><?= $stud->first_name ?> <?= $stud->last_name ?> <?= $stud->middle_name ?></td>
                <td><?= $stud->registration_no ?></td>
                <td><?= $stud->level ?></td>
                <td><a href = "#gg" data-toggle="modal" class="btn btn-success btn-xs rounded-2x" style="background:#2b89c0" > <i class="fas fa-user"> Bio Data</i></a></td>
                </tr>
              <?php endforeach; ?>
			  </tbody>
			  
			  </table>
              </div>

				
                 
				
              
              <!-- /.card-body -->
                  
          <!-- /.card-body -->
              

        </div>
		
              <!-- /.card-body -->
            </div>
                
								
              </div>
              
              <!-- /.col -->
            </div>
            <!-- /.row -->

            
            <!-- /.row -->
          </div>
		  

          
              <!-- /.card-header -->
              <!--<div class="card-body" id = "txtHintDeptStudents">
                    <b>List of Students Here...</b>
              </div>-->
             
          
        </div>
        <!-- /.card -->
  </div>

      </div>
      <!-- /.container-fluid -->
    </section>
    <!-- /.content -->
	</div>
  <!-- /.content-wrapper -->
  
	
<?= $this->endSection(); ?>