{{-- ── Top Bar ─────────────────────────────────────────────────────────── --}}
{{ $session->title }}
{{ auth()->user()->name }} | {{ auth()->user()->studentProfile?->reg_number }}
@if($hasCalculator)
@endif {{-- Mobile nav toggle --}}
00:00
{{-- ── Subject Tabs ─────────────────────────────────────────────────────── --}}
@foreach($examData as $si => $subjectGroup)
{{ $subjectGroup['subject']->name }}
{{ count($subjectGroup['questions']) }}
@endforeach
{{-- ── Main Body ────────────────────────────────────────────────────────── --}}
{{-- Question Panel --}}
@foreach($examData as $si => $subjectGroup)
@foreach($subjectGroup['questions'] as $qi => $qdata) @php $q = $qdata['question']; $answer = $qdata['answer']; $aq = $qdata['aq']; $globalIdx = $aq->question_order - 1; @endphp
{{-- Passage --}} @if($q->instructionGroup)
Read the passage below and answer the questions
{!! $q->instructionGroup->passage_text !!}
@endif {{-- Question Card --}}
Question {{ $aq->question_order }} of {{ $attempt->total_questions }}
{!! $q->question_text !!}
@if($q->question_image)
@endif {{-- Options --}} @foreach($q->options as $option)
{{ $option->option_label }}
{!! $option->option_text !!}
@endforeach
@endforeach
@endforeach
{{-- Navigation Sidebar --}}
@foreach($examData as $si => $subjectGroup)
{{ $subjectGroup['subject']->name }}
@foreach($subjectGroup['questions'] as $qi => $qdata) @php $answer = $qdata['answer']; $globalIdx = $qdata['aq']->question_order - 1; $isFirst = ($si === 0 && $qi === 0); $navClass = $isFirst ? 'current' : ($answer && $answer->selected_option_id ? 'answered' : ''); if ($answer && $answer->is_flagged) $navClass = 'flagged'; @endphp
{{ $qdata['aq']->question_order }}
@endforeach
@endforeach {{-- Legend --}}
Answered
Not answered
Flagged
Current
{{-- Progress --}}
Loading...
{{-- ── Bottom Navigation ────────────────────────────────────────────────── --}}
Previous
Flag
Submit Exam
Next
{{-- ── Saving Indicator ─────────────────────────────────────────────────── --}}
Saved
{{-- ── Submit Confirmation Modal ────────────────────────────────────────── --}}
Submit Exam?
Once submitted, you
cannot
go back. Make sure you have answered all questions.
@if($hasCalculator) {{-- ── Scientific Calculator ────────────────────────────────────────────── --}}
CALCULATOR
0
sin
cos
tan
log
ln
√
π
xⁿ
(
)
AC
⌫
%
÷
×
7
8
9
−
1/x
4
5
6
+
x²
1
2
3
0
.
=
@endif {{-- Hidden submit form --}}
@csrf