관리-도구
편집 파일: 48f87513bbc70f8d647ee6387111907b.php
<!-- NO ASSIGNMETN BANNER --> <?php if(isset($userExam) && !empty($userExam)): ?> <?php $user = $userExam->user?->userable ?? null; $profile_img = $user?->profile_img ?? ''; $image = $profile_img && fileExists('lms/instructors', $profile_img) == true ? asset("storage/lms/instructors/{$profile_img}") : asset('lms/frontend/assets/images/370x396.svg'); ?> <div class="bg-white border border-border rounded-lg p-4"> <div class="flex items-center gap-3"> <div class="size-12 rounded-50 overflow-hidden shrink-0"> <img data-src="<?php echo e($image); ?>" alt="Instructor profile image"> </div> <div> <h6 class="area-title text-base font-bold !leading-none"> <?php echo e($user?->first_name . ' ' . $user?->last_name); ?> </h6> <p class="text-heading/70 leading-none text-xs mt-2"> <?php echo e(customDateFormate($userExam->created_at, format: 'D M Y') | customDateFormate($userExam->created_at, format: 'h:i am')); ?> </p> </div> </div> <div class="area-description mt-5"> <p> <?php echo e($userExam->description); ?> </p> </div> <div class="flex items-center gap-4 mt-5"> <?php $__currentLoopData = $userExam->sourceFiles; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $sourceFile): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <?php if(fileExists('lms/courses/topics/assignments', $sourceFile->file) == true && $sourceFile->file != ''): ?> <a href="<?php echo e(asset("storage/lms/courses/topics/assignments/{$sourceFile->file}")); ?>" aria-label="Assignment information" class="flex items-center gap-3 px-4 py-2 bg-primary-50 rounded-md border border-transparent hover:border-primary select-none custom-transition"> <i class="ri-file-download-line"></i> <div> <h6 class="area-title text-sm font-semibold !leading-none"> <?php echo e($sourceFile->file_name ?? translate('Assignment file')); ?></h6> <p class="text-heading/70 leading-none text-xs mt-2 uppercase"> <?php echo e(getFileExtension($sourceFile->file)); ?></p> </div> </a> <?php endif; ?> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </div> </div> <?php else: ?> <div class="bg-white border border-border rounded-xl h-[400px]"> <div class="flex-center flex-col gap-4 p-6 text-center max-w-screen-sm mx-auto h-full"> <h2 class="area-title text-2xl"> <?php echo e(translate('No Submissions Yet')); ?> </h2> <p class="area-description"> <?php echo e(translate('There are no submissions at the moment.Please check back later or remind your students to upload their assignments')); ?>. </p> </div> </div> <?php endif; ?> <?php /**PATH D:\www\edulab\Modules\LMS\resources\views\components\exam\assignment\student-file.blade.php ENDPATH**/ ?>