@extends('layouts.app', ['class' => 'g-sidenav-show bg-gray-100']) @section('content') @include('test.partials.test-styles') @include('layouts.navbars.auth.topnav', ['title' => ''])
@include('components.alert')
@if (!session('test1_code_submitted')) {{-- Rules --}}
Rules Test 1
Peraturan
  • Pada test ini terdapat 90 soal.
  • Masing-masing soal terdiri dari 2 pernyataan.
  • Silahkan pilih 1 pernyataan yang PALING SESUAI dengan diri anda!
  • Waktu mengerjakan adalah 45 menit.
Cara Mengerjakan
  • Masukkan kode tes pada modal dari halaman Aktivitas Lamaran.
  • Setiap soal hanya bisa memilih satu pernyataan.
  • Ketika sudah memilih salah satu pernyataan, progress bar akan bertambah.
  • Tekan tombol Next untuk ke halaman selanjutnya atau tekan tombol Previous untuk kembali ke halaman sebelumnya.
  • Jika sudah menjawab seluruh soal, tombol Submit otomatis akan muncul pada halaman terakhir.
{{-- Contoh Soal Test --}}
Contoh
Contoh tampilan soal test
Mulai Tes

Setelah siap, klik tombol di bawah untuk memulai tes.

@csrf
@if (empty($invitation_id))

Undangan tes tidak ditemukan. Silakan akses dari halaman Aktivitas Lamaran.

@endif
@else
{{-- Header Row --}}
{{ $title_menu ?? 'Test 1' }}
Petunjuk
{{ isset($remainingSeconds) ? sprintf('%02d:%02d:%02d', intdiv(max(0, $remainingSeconds), 3600), intdiv(max(0, $remainingSeconds) % 3600, 60), max(0, $remainingSeconds) % 60) : '00:45:00' }}
{{ $startNum }}/{{ $totalQuestions }}
{{-- Progress Bar --}}
{{-- Navigation Dots --}}
@for ($p = 1; $p <= $totalPages; $p++)
{{ $p }}
@endfor

{{-- Questions Form --}}
@foreach ($questions as $index => $q) @php $qNum = $startNum + $index; $detail = $q->detail; $hasAnswer = \App\Models\ApplicantAnswer::where('test_session_id', $testSession->id) ->where('question_id', $q->id) ->first(); $currentAnswer = $hasAnswer ? $hasAnswer->answer : null; @endphp
{{ $qNum }}.
@endforeach {{-- Navigation Buttons --}}
@if ($currentPage > 1) @endif
@if ($currentPage < $totalPages) @else @endif
@endif
@include('test.partials.hint') @endsection @push('js') @include('test.partials.test-scripts') @endpush