From d477264af5a7bebcdc11c8f7cecbeca1a06e8dd4 Mon Sep 17 00:00:00 2001 From: abiyasa05 Date: Sat, 12 Apr 2025 10:37:23 +0700 Subject: [PATCH] update: delete label material on manage questions --- .../teacher/questions/index.blade.php | 65 +--- .../teacher/questions/modals/create.blade.php | 26 +- .../teacher/questions/modals/detail.blade.php | 10 +- .../teacher/questions/modals/edit.blade.php | 291 ++---------------- 4 files changed, 66 insertions(+), 326 deletions(-) diff --git a/Penilaian Literasi/iClOP-V2/resources/views/literacy/teacher/questions/index.blade.php b/Penilaian Literasi/iClOP-V2/resources/views/literacy/teacher/questions/index.blade.php index 3b08d81..9d1e764 100644 --- a/Penilaian Literasi/iClOP-V2/resources/views/literacy/teacher/questions/index.blade.php +++ b/Penilaian Literasi/iClOP-V2/resources/views/literacy/teacher/questions/index.blade.php @@ -337,9 +337,6 @@

Manage Questions

-

Manage Questions

-

This is the content for managing assessment questions.

-
- - @@ -683,20 +646,20 @@ function showContent(contentId) { "paging": true, "ordering": true, "info": true, - dom: 'Bfrtip', // Needs to include 'B' for buttons - buttons: [ - { - extend: 'excelHtml5', - text: 'Export to Excel', - title: 'Data Export REACT', - filename: 'react_data_export_topic_finished_student_' + new Date().toLocaleDateString() + '_' + new Date().toLocaleTimeString(), - customize: function (xlsx) { - var sheet = xlsx.xl.worksheets['sheet1.xml']; - // Customizations go here - } - }, - 'pdf', - ] + // dom: 'Bfrtip', // Needs to include 'B' for buttons + // buttons: [ + // { + // extend: 'excelHtml5', + // text: 'Export to Excel', + // title: 'Data Export REACT', + // filename: 'react_data_export_topic_finished_student_' + new Date().toLocaleDateString() + '_' + new Date().toLocaleTimeString(), + // customize: function (xlsx) { + // var sheet = xlsx.xl.worksheets['sheet1.xml']; + // // Customizations go here + // } + // }, + // 'pdf', + // ] }); $('#studentSubmissionTable').DataTable({ // Configuration options diff --git a/Penilaian Literasi/iClOP-V2/resources/views/literacy/teacher/questions/modals/create.blade.php b/Penilaian Literasi/iClOP-V2/resources/views/literacy/teacher/questions/modals/create.blade.php index 32b4660..29bb59c 100644 --- a/Penilaian Literasi/iClOP-V2/resources/views/literacy/teacher/questions/modals/create.blade.php +++ b/Penilaian Literasi/iClOP-V2/resources/views/literacy/teacher/questions/modals/create.blade.php @@ -9,16 +9,16 @@
@csrf --}}
@@ -114,13 +114,19 @@ function toggleFields() { function addNewOption() { let optionsCount = document.querySelectorAll(".option-group").length; // Hitung ulang indeks let div = document.createElement("div"); - div.classList.add("option-group", "mb-2", "d-flex", "align-items-center"); + div.classList.add("option-group", "mb-2", "d-flex", "align-items-center", "gap-2"); // Tambahkan gap agar lebih rapi div.innerHTML = ` - - - Jawaban Benar - - `; + + + + + + + + `; answerOptions.appendChild(div); // Tambahkan event listener untuk tombol hapus opsi @@ -171,4 +177,4 @@ function validateForm() { // Inisialisasi awal toggleFields(); }); - + \ No newline at end of file diff --git a/Penilaian Literasi/iClOP-V2/resources/views/literacy/teacher/questions/modals/detail.blade.php b/Penilaian Literasi/iClOP-V2/resources/views/literacy/teacher/questions/modals/detail.blade.php index 55ea31b..894ac29 100644 --- a/Penilaian Literasi/iClOP-V2/resources/views/literacy/teacher/questions/modals/detail.blade.php +++ b/Penilaian Literasi/iClOP-V2/resources/views/literacy/teacher/questions/modals/detail.blade.php @@ -8,13 +8,11 @@