@extends('layouts.student') @section('title', 'Review & finish') @section('content')
{{ $attempt->exam->display_name }}
Attempt {{ $attempt->attempt_number }} · review before submitting
Return to Exam
Time remaining --:--:--
@php $reviewConfig = [ 'remainingSeconds' => $timing['remainingSeconds'], 'urls' => [ 'time' => route('student.attempts.time', $attempt), 'result' => route('student.attempts.result', $attempt), ], ]; @endphp
Summary
{{ $progress['total'] }}
Questions
{{ $progress['answered'] }}
Answered
{{ count($progress['unanswered']) }}
Unanswered
@if (count($progress['unanswered']) > 0)
You still have {{ count($progress['unanswered']) }} unanswered question(s). Unanswered questions score zero.
@else
Every question has been answered.
@endif Return to Exam
Questions Select a question to go back to it.
@foreach ($questions as $question) @endforeach
#QuestionTypePointsStatus
{{ $question['number'] }} {{ $question['text'] }} {{ $question['typeLabel'] }} {{ $question['points'] }} @php // Skipped is an answer, so it is never "Unanswered"; // it is named separately so the student can see what // they reported as not found. No correctness here. $state = $question['skipped'] ? ['Skipped', 'text-bg-warning'] : ($question['answered'] ? ['Answered', 'text-bg-success'] : ['Unanswered', 'text-bg-secondary']); @endphp {{ $state[0] }} Go to question
@endsection @push('scripts') @endpush