<!-- ============================================================== -->
<!-- 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">Assessment</h3>
        <ol class="breadcrumb">
            <li class="breadcrumb-item"><a href="javascript:void(0)">Home</a></li>
            <li class="breadcrumb-item active">Assessment > Deregister students</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 ">
                Deregister students
            </div>
            <div class="card-body">
                <ul class="nav nav-tabs" id="myTab" role="tablist">
                  <li class="nav-item">
                    <a class="nav-link active" id="from_class-tab" data-toggle="tab" href="#from_class" role="tab" aria-controls="from_class" aria-selected="true">Deregister students from class</a>
                  </li>
                  <li class="nav-item">
                    <a class="nav-link" id="from_subject-tab" data-toggle="tab" href="#from_subject" role="tab" aria-controls="from_subject" aria-selected="false">Deregister students from subject</a>
                  </li>
                </ul>

                <div class="tab-content">
                  <div class="tab-pane active p-2" id="from_class" role="tabpanel" aria-labelledby="from_class-tab">
                        <p class="mt-3">Select year and form of study :</p>
                        <form class="form-horizontal form-material">
                            <div class="form-group row">
                                <div class="col-6 col-sm-4 col-md-4 col-lg-4">
                                    <select class="form-control">
                                        <option selected disabled>Year</option>
                                        <option>2018</option>
                                        <option>2019</option>
                                        <option>2020</option>
                                    </select>
                                </div>
                                <div class="col-6 col-sm-4 col-md-4 col-lg-4">
                                    <select class="form-control">
                                        <option selected disabled>Form of study</option>
                                        <option>1</option>
                                        <option>2</option>
                                        <option>3</option>
                                        <option>4</option>
                                    </select>
                                </div>
                                
                                <div class="col-6 col-sm-4 col-md-4 col-lg-4">
                                    <button class="btn btn-primary" onclick="return false" onmousedown="get_deregister_students_from_class()" >
                                        Get students
                                    </button>
                                </div>
                            </div>
                        </form>
                        <div class="row" >
                            <div class="col-12 col-sm-12 col-md-12 col-lg-12" id="deregister_students_from_class_content">
                                
                            </div>
                        </div>
                  </div>
                  <div class="tab-pane p-2" id="from_subject" role="tabpanel" aria-labelledby="from_subject-tab">
                        <p class="mt-3">Select Subject, form of study,term and year :</p>
                        <form class="form-horizontal form-material">
                            <div class="form-group row">
                                <div class="col-6 col-sm-3 col-md-3 col-lg-3">
                                    <select class="form-control">
                                        <option selected disabled>Choose Subject</option>
                                        <option>Biology</option>  
                                    </select>
                                </div>
                                <div class="col-6 col-sm-3 col-md-3 col-lg-3">
                                    <select class="form-control">
                                        <option selected disabled>Form of study</option>
                                        <option>1</option>
                                        <option>2</option>
                                        <option>3</option>
                                        <option>4</option>
                                    </select>
                                </div>
                                <div class="col-6 col-sm-2 col-md-2 col-lg-2">
                                    <select class="form-control">
                                        <option selected disabled>Term</option>
                                        <option>1</option>
                                        <option>2</option>
                                        <option>3</option>
                                    </select>
                                </div>
                                <div class="col-6 col-sm-2 col-md-2 col-lg-2">
                                    <select class="form-control">
                                        <option selected disabled>Year</option>
                                        <option>1</option>
                                        <option>2</option>
                                        <option>3</option>
                                        <option>4</option>
                                    </select>
                                </div>
                                
                                <div class="col-6 col-sm-2 col-md-2 col-lg-2">
                                     <button class="btn btn-primary" onclick="return false" onmousedown="get_deregister_students_from_subject()">
                                        Get students
                                    </button>
                                </div>
                            </div>
                        </form>
                        <div class="row" >
                            <div class="col-12 col-sm-12 col-md-12 col-lg-12" id="deregister_students_from_subject_content">
                                
                            </div>
                        </div>
                  </div>
                </div>

                <script>
                  $(function () {
                    $('#myTab li:first-child a').tab('show')
                  })
                </script>
            </div>
        </div>
    </div>
</div>     
