Skip to content

Commit

Permalink
detail task
Browse files Browse the repository at this point in the history
  • Loading branch information
farahamaliaa committed Jan 8, 2025
1 parent aa190b9 commit ad07a24
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 33 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -109,9 +109,7 @@ class="icon icon-tabler icons-tabler-outline icon-tabler-arrow-left">
Authorization: 'Bearer ' + "{{ session('hummaclass-token') }}"
},
dataType: "json",
success: function(response) {
success: function(response) {
$.ajax({
type: "get",
url: "{{ config('app.api_url') }}/api/module-tasks-detail/" + response
Expand All @@ -123,7 +121,6 @@ class="icon icon-tabler icons-tabler-outline icon-tabler-arrow-left">
success: function(response) {
$('#title').html(response.data.question);
$('#description').html(response.data.description);
// $('#sub_modul_count').html(response.data.sub_module_count);
}
});
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,34 +22,10 @@
</thead>
<tbody id="collect-content">
<tr>
<td>1</td>
<td>Alfian Ban Dalam</td>
<td>10 Januari 2024</td>
<td>
<span class="badge fs-2 fw-semibold px-4 py-2" style="background-color: #F6EEFE; color:#9425FE;">50</span>
</td>
<td class="d-flex gap-2">
<a href="{{ route('admin.courses.test.index', 1) }}" class="btn text-white" style="background-color: #9425FE">Detail</a>
<div>
<button class="btn btn-warning px-2">
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24"><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 16.004V17a3 3 0 0 0 3 3h10a3 3 0 0 0 3-3v-1M12 4.5v11m3.5-3.5L12 15.5L8.5 12"/></svg>
</button>
</div>
</td>
</tr>
<tr>
<td>1</td>
<td>Alfian Ban Dalam</td>
<td>10 Januari 2024</td>
<td>
<span class="badge bg-light-danger text-danger fs-2 fw-semibold py-2">Belum Dinilai</span>
</td>
<td class="d-flex gap-2">
<a href="{{ route('admin.courses.detail-tab-collect.index', 1) }}" class="btn text-white" style="background-color: #9425FE">Detail</a>
<div>
<button class="btn btn-warning px-2">
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24"><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 16.004V17a3 3 0 0 0 3 3h10a3 3 0 0 0 3-3v-1M12 4.5v11m3.5-3.5L12 15.5L8.5 12"/></svg>
</button>
<td colspan="100%">
<div class="d-flex justify-content-center flex-column align-items-center">
<img src="{{ asset('assets/8961448_3973477.svg') }}" width="35%" alt="" srcset="">
<h4 class="text-center">Data kosong</h4>
</div>
</td>
</tr>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
</div>
<h6 class="mt-1">Tugas 1</h6>
</div>
<h3 id="title" class="fw-semibold mt-3">Membuat CRUD Blala</h3>
<h3 id="title" class="fw-semibold mt-3">Judul</h3>
</div>
<hr>
<div class="p-4">
Expand Down

0 comments on commit ad07a24

Please sign in to comment.