update: add new tab when click on assessment result and close tab on teacher

This commit is contained in:
abiyasa05 2025-05-24 13:05:50 +07:00
parent 3eb4794789
commit 00cd0d28c2
2 changed files with 12 additions and 2 deletions

View File

@ -305,7 +305,12 @@
<div class="col-span-12 lg:col-span-9 space-y-4"> <div class="col-span-12 lg:col-span-9 space-y-4">
<!-- Bagian Pilihan Ganda --> <!-- Bagian Pilihan Ganda -->
@if ($multipleChoiceQuestions->isNotEmpty()) @if ($multipleChoiceQuestions->isNotEmpty())
<h4 class="text-base font-semibold mt-4">Bagian 1: Pilihan Ganda</h4> <div class="row mt-4">
<div class="col-12 d-flex justify-content-between align-items-center">
<h4 class="text-base font-semibold mb-2">Bagian 1: Pilihan Ganda</h4>
<button onclick="window.close()" class="btn btn-outline-secondary btn-sm">Kembali</button>
</div>
</div>
<p class="text-gray-500 text-sm mb-3">Pilih salah satu jawaban yang paling tepat.</p> <p class="text-gray-500 text-sm mb-3">Pilih salah satu jawaban yang paling tepat.</p>
@foreach ($multipleChoiceQuestions as $question) @foreach ($multipleChoiceQuestions as $question)

View File

@ -380,7 +380,12 @@
@endphp @endphp
<div class="content"> <div class="content">
<p style="font-size: 24px; font-weight: 500; color: #34364A;">Hasil Asesmen Siswa</p> <div class="row mb-3">
<div class="col-12 d-flex justify-content-between align-items-center">
<p style="font-size: 24px; font-weight: 500; color: #34364A; margin-bottom: 0;">Hasil Asesmen Siswa</p>
<button onclick="window.close()" class="btn btn-outline-secondary btn-sm">Kembali</button>
</div>
</div>
<div class="mt-4"> <div class="mt-4">
<h5>Detail Jawaban</h5> <h5>Detail Jawaban</h5>