{{-- Layout --}} @extends('student.layout.layout') {{-- Page Title --}} @section('title', 'GAS LMS | Start Quiz from file') {{-- Breadcrumb section --}} {{-- @section('breadcrumb') @include('components._breadcrumb', ['items' => ['Course Overview' => route('student.course.index',$coffid)]]) @endsection --}} {{-- Content --}} @section('content')
Course Name {{ $course_name->acyname . '_' . $course_name->cname }} {{ $course_name->lshort_name }} {{ $course_name->has_lable ? '( ' . $course_name->label . ' )' : '' }}
time limit: {{ $limit}} minutes
@if ($quiz->instructions) Instructions {{ $quiz->instructions }} @endif
{{ Carbon\Carbon::parse($student_attempt->attempt_start_date)->format('F') }} {{ Carbon\Carbon::parse($student_attempt->attempt_start_date)->format('d, Y') }} / ({{ date('h:i A', strtotime($student_attempt->attempt_start_time)) }})
Start date
{{ Carbon\Carbon::parse($student_attempt->attempt_end_date)->format('F') }} {{ Carbon\Carbon::parse($student_attempt->attempt_end_date)->format('d, Y') }} / ({{ date('h:i A', strtotime($student_attempt->attempt_end_time)) }})
End date
{{ $quiz_attempts_remainder }}
attempts
@if ($is_allowed == 1) {{ $quiz_start_time == null ? 'Available' : ($quizAttempt->is_submit == '1' ? 'Repeat the Quiz' : 'Started') }} @else Not Allowed @endif {{--
Starts in
--}}
@php $now=now(); $start=new \Carbon\Carbon(date('Y-m-d H:i:s', strtotime( "$student_attempt->attempt_start_date $student_attempt->attempt_start_time"))); @endphp @if ($now >= $start && $student_attempt->allow_submit_after_end_time)
id]) }}"> @csrf
@elseif ($is_allowed == 1 && !$is_out_of_time_range) {{-- id]) }}"> @csrf @endif {{-- Start Quiz --}}
@include('components._error') @endsection @section('js') @endsection