@extends('layouts.app') @section('title', 'Exam attempt #' . $attempt->id) @section('breadcrumb') Dashboard Exam attempts #{{ $attempt->id }} @endsection @push('styles') @endpush @section('content')
Attempt #{{ $attempt->attempt_no }} by {{ $attempt->user?->name }}
| # | Question | Selected | Correct | Result |
|---|---|---|---|---|
| {{ $loop->iteration }} |
{{ Str::limit($answer->question?->question_text, 90) }}
|
@if($answer->selected_answer)
{{ strtoupper($answer->selected_answer) }}
{{ Str::limit($answer->question?->{'option_' . $answer->selected_answer}, 32) }}
@else
—
@endif
|
{{ strtoupper($answer->question?->correct_answer) }}
{{ Str::limit($answer->question?->correct_answer_text, 32) }}
|
@if($answer->selected_answer === null) Unanswered @elseif($answer->is_correct) Correct @else Wrong @endif |
| # | Event type | Message | Warning # | IP address | Time |
|---|---|---|---|---|---|
| {{ $loop->iteration }} | {{ $secLog->event_type_label }} | {{ $secLog->event_message ?? '—' }} | @if($secLog->event_count_snapshot !== null) {{ $secLog->event_count_snapshot }} @else — @endif | {{ $secLog->ip_address ?? '—' }} | {{ $secLog->created_at->format('d M Y, h:i A') }} |
| # | Reset by (admin) | Previous status | Reset type | Reason | Date |
|---|---|---|---|---|---|
| {{ $loop->iteration }} |
{{ $log->admin?->name }}
{{ $log->admin?->email }}
|
{{ ucfirst(str_replace('_', ' ', $log->previous_status)) }} | {{ ucfirst(str_replace('_', ' ', $log->reset_type)) }} | {{ $log->reset_reason }} | {{ $log->created_at->format('d M Y, h:i A') }} |