|
@@ -853,8 +853,9 @@ tbody, td, tfoot, th, thead, tr {
|
|
|
<button class="btn btn2 add_department" style="margin-left: -3.4rem; border-radius: 0px 6px 6px 0px">Add</button>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div class="single_glance_row mt-5" style="border-bottom: 1px solid #e8eef1;">
|
|
|
- <div style="display: flex">
|
|
|
+ <div class="single_glance_row mt-5">
|
|
|
+ <div id="load_department"></div>
|
|
|
+ {{-- <div style="display: flex">
|
|
|
<div class="left" style="width: 80%;">
|
|
|
<span class="title" style="font-size:11px;">Math</span>
|
|
|
</div>
|
|
@@ -868,7 +869,7 @@ tbody, td, tfoot, th, thead, tr {
|
|
|
<button type="button" class="btn btn2" style="padding: 2px 5px !important; font-size: 11px;"><i class="fa fa-trash"></i></button>
|
|
|
</span>
|
|
|
</div>
|
|
|
- </div>
|
|
|
+ </div> --}}
|
|
|
<!-- Tab -->
|
|
|
<div class="col-md-12">
|
|
|
<div id="demo16" class="collapse mt-2">
|
|
@@ -885,7 +886,7 @@ tbody, td, tfoot, th, thead, tr {
|
|
|
</div>
|
|
|
<div class="col-md-12">
|
|
|
<div class="text-end">
|
|
|
- <button class="btn btn2">Update</button>
|
|
|
+ <button class="btn btn2">Update</button>
|
|
|
</div>
|
|
|
</div>
|
|
|
</form>
|
|
@@ -1163,6 +1164,12 @@ tbody, td, tfoot, th, thead, tr {
|
|
|
});
|
|
|
|
|
|
|
|
|
+ fetch_sub_content(
|
|
|
+ '#load_department',
|
|
|
+ "{{ route('sub-content', ['name'=>'load_department']) }}"
|
|
|
+ );
|
|
|
+
|
|
|
+
|
|
|
$('.add_department').on('click', function(){
|
|
|
|
|
|
var dapartment =$('#dapartment').val();
|