@include('quiz::livewire.tutor.quiz-creation.components.quiz-tab')

{{ __('quiz::quiz.all_students') }}

@include('quiz::skeletons.attempted-listing-skeleton', ['total' => $filters['per_page']])
@if(!$isLoading)
@if($quizzes->isNotEmpty()) @foreach ($quizzes as $quiz) @endforeach
{{ __('quiz::quiz.student') }} {{ __('quiz::quiz.date_time') }} {{ __('quiz::quiz.question') }} {{ __('quiz::quiz.total_marks') }} {{ __('quiz::quiz.correct_answer') }} {{ __('quiz::quiz.incorrect_answer') }} {{ __('quiz::quiz.earned_marks') }} {{ __('quiz::quiz.result') }} {{ __('quiz::quiz.actions') }}
@if (!empty($quiz->student?->profile?->image) && Storage::disk(getStorageDisk())->exists($quiz->student?->profile?->image)) {{$quiz->student?->profile?->full_name}} @else Quiz image @endif
{{ $quiz->student?->profile?->full_name }} {{ $quiz->student?->email }}
{{ $quiz?->started_at?->format('j M Y') }} {{ $quiz->total_questions }} {{ $quiz->total_marks }} {{ $quiz->correct_answers }} {{ $quiz->incorrect_answers }} {{ $quiz->earned_marks }} ({{ round(($quiz->earned_marks / $quiz->total_marks) * 100, 2) }}%) {{ __('quiz::quiz.' . $quiz->result) }} @php $actionRoute = $quiz->result == Modules\Quiz\Models\QuizAttempt::RESULT_IN_REVIEW ? route('quiz.tutor.quiz-mark', ['attemptId' => $quiz->id]) : route('quiz.quiz-result', ['attemptId' => $quiz->id]); @endphp @if($quiz->result == Modules\Quiz\Models\QuizAttempt::RESULT_IN_REVIEW) {{ __('quiz::quiz.mark_result') }} @else {{ __('quiz::quiz.view_details') }} @endif
@else
img description

{{ __('quiz::quiz.no_records_found') }}

{{ __('quiz::quiz.empty_box_para') }}

@endif
@endif @if(!$isLoading && $quizzes->links()->paginator->hasPages())
@if (!empty($parPageList))
{{ __('quiz::quiz.show') }} {{ __('quiz::quiz.listing_per_page') }}
@endif {{ $quizzes->links('quiz::pagination.pagination',) }}
@endif
@push('styles') @endpush