%PDF- %PDF-
Direktori : /www/loslex/test/storage/framework/views/ |
Current File : /www/loslex/test/storage/framework/views/2e541ad7e2e5767240a47f207c460cf0.php |
<?php $first = true; ?> <div class="text-lg text-center font-bold" id="anresults"><?php echo e(__('Results')); ?></div> <div class="mb-11 w-fit m-auto" id="resultsTabContents"> <!--Tabs navigation--> <ul class="list-none w-full flex flex-wrap text-sm font-medium text-center text-gray-500 border-b border-gray-200 dark:border-gray-700 dark:text-gray-400" data-tabs-toggle="#resultsTabContents" role="tablist"> <?php $__currentLoopData = $divisions; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $division): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <li class="mr-2" role="presentation"> <button class="inline-block text-gray-500 hover:text-gray-600 hover:border-gray-300 hover:dark:border-gray-600 rounded-t-lg py-4 px-4 text-sm font-medium text-center border-transparent border-b-2 dark:text-gray-400 dark:hover:text-gray-300" id="division-<?php echo e($division->name); ?>-tab" data-tabs-target="#division-<?php echo e($division->name); ?>" type="button" role="tab" aria-controls="division-<?php echo e($division->name); ?>" aria-selected="false"><?php echo e(__("contest." . $division->name)); ?></button> </li> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </ul> <!--Tabs content--> <?php $__currentLoopData = $divisions; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $division): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <div class="hidden p-4 rounded-lg" id="division-<?php echo e($division->name); ?>" role="tabpanel" aria-labelledby="division-<?php echo e($division->name); ?>-tab"> <table> <thead> <tr class="border-b border-gray-400"> <th class="text-center text-sm result-header"><span class="fa-solid fa-trophy"></th> <?php if($division->name == "All"): ?> <th class="result-header"><?php echo e(__("Division")); ?></th> <?php endif; ?> <th class="result-header whitespace-nowrap"><?php echo e(__("Name")); ?></th> <th class="result-header"><?php echo e(__("Total %")); ?></th> <?php for($i = 1; $i <= $numStages; $i++): ?> <th class="<?php echo e($i % 2 ? 'result-odd': 'result-even'); ?>">Stage <?php echo e($i); ?></th> <?php endfor; ?> </tr> </thead> <tbody> <?php $no = 1; ?> <?php $__currentLoopData = $division->shooters; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $sh): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <tr> <td class="text-center result-header"><?php echo e(!($sh->notcomp || $sh->dq) ? $no++ : ($sh->dq ? __("DQ") : __("NC"))); ?></td> <?php if($division->name == "All"): ?> <td class="result-header"><?php echo e($sh->origDivision); ?></td> <?php endif; ?> <td class="whitespace-nowrap result-header"><?php if(auth()->guard()->check()): ?><?php echo e($sh->name); ?><?php else: ?><?php echo e($sh->anonname); ?><?php endif; ?></td> <td class="<?php echo \Illuminate\Support\Arr::toCssClasses(['result-header', 'text-center', 'result-best' => ($sh->percent == 100)]); ?>"><?php echo e($sh->percent); ?>%</td> <?php for($i = 1; $i <= $numStages; $i++): ?> <td class="<?php echo \Illuminate\Support\Arr::toCssClasses(['text-center', 'result-odd' => $i % 2, 'result-even' => !($i % 2), 'result-best' => ($sh->stages[$i]->stage_percent == 100)]); ?>"><span title="<?php echo e(number_format($sh->stages[$i]->total_time, 2)); ?>s"><?php echo e(number_format($sh->stages[$i]->stage_percent, 2)); ?>%</span></td> <?php endfor; ?> </tr> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </tbody> </table> </div> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> <?php if(auth()->guard()->check()): ?> <div class="w-fit m-auto flex flex-row flex-wrap gap-4 justify-items-center"> <a href="<?php echo e(route('contest.detailed-results', $contest->id)); ?>" target="_blank"><?php if (isset($component)) { $__componentOriginald411d1792bd6cc877d687758b753742c = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginald411d1792bd6cc877d687758b753742c = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.primary-button','data' => []] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('primary-button'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes([]); ?><?php echo e(__('Display detailed results')); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginald411d1792bd6cc877d687758b753742c)): ?> <?php $attributes = $__attributesOriginald411d1792bd6cc877d687758b753742c; ?> <?php unset($__attributesOriginald411d1792bd6cc877d687758b753742c); ?> <?php endif; ?> <?php if (isset($__componentOriginald411d1792bd6cc877d687758b753742c)): ?> <?php $component = $__componentOriginald411d1792bd6cc877d687758b753742c; ?> <?php unset($__componentOriginald411d1792bd6cc877d687758b753742c); ?> <?php endif; ?></a> <a href="<?php echo e(route('contest.detailed-results', $contest->id)); ?>?print" target="_blank"><?php if (isset($component)) { $__componentOriginald411d1792bd6cc877d687758b753742c = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginald411d1792bd6cc877d687758b753742c = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.primary-button','data' => []] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('primary-button'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes([]); ?><?php echo e(__('Download detailed PDF')); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginald411d1792bd6cc877d687758b753742c)): ?> <?php $attributes = $__attributesOriginald411d1792bd6cc877d687758b753742c; ?> <?php unset($__attributesOriginald411d1792bd6cc877d687758b753742c); ?> <?php endif; ?> <?php if (isset($__componentOriginald411d1792bd6cc877d687758b753742c)): ?> <?php $component = $__componentOriginald411d1792bd6cc877d687758b753742c; ?> <?php unset($__componentOriginald411d1792bd6cc877d687758b753742c); ?> <?php endif; ?></a> <a href="<?php echo e(route('contest.overview-results', $contest->id)); ?>?print" target="_blank"><?php if (isset($component)) { $__componentOriginald411d1792bd6cc877d687758b753742c = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginald411d1792bd6cc877d687758b753742c = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.primary-button','data' => []] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('primary-button'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes([]); ?><?php echo e(__('Download overview PDF')); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginald411d1792bd6cc877d687758b753742c)): ?> <?php $attributes = $__attributesOriginald411d1792bd6cc877d687758b753742c; ?> <?php unset($__attributesOriginald411d1792bd6cc877d687758b753742c); ?> <?php endif; ?> <?php if (isset($__componentOriginald411d1792bd6cc877d687758b753742c)): ?> <?php $component = $__componentOriginald411d1792bd6cc877d687758b753742c; ?> <?php unset($__componentOriginald411d1792bd6cc877d687758b753742c); ?> <?php endif; ?></a> <?php if(auth()->user()?->is_organizer_member($contest->organizer_group_id) || auth()->user()?->is_admin): ?> <a href="<?php echo e(route('contest.ceremonies', $contest->id)); ?>?print" target="_blank"><?php if (isset($component)) { $__componentOriginald411d1792bd6cc877d687758b753742c = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginald411d1792bd6cc877d687758b753742c = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.primary-button','data' => []] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('primary-button'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes([]); ?><?php echo e(__('Download awards PDF')); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginald411d1792bd6cc877d687758b753742c)): ?> <?php $attributes = $__attributesOriginald411d1792bd6cc877d687758b753742c; ?> <?php unset($__attributesOriginald411d1792bd6cc877d687758b753742c); ?> <?php endif; ?> <?php if (isset($__componentOriginald411d1792bd6cc877d687758b753742c)): ?> <?php $component = $__componentOriginald411d1792bd6cc877d687758b753742c; ?> <?php unset($__componentOriginald411d1792bd6cc877d687758b753742c); ?> <?php endif; ?></a> <a href="<?php echo e(route('contest.publish-results', $contest->id)); ?>"> <?php if(!$contest->results_published): ?> <?php if (isset($component)) { $__componentOriginal656e8c5ea4d9a4fa173298297bfe3f11 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal656e8c5ea4d9a4fa173298297bfe3f11 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.danger-button','data' => []] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('danger-button'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes([]); ?><?php echo e(__('Publish results')); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal656e8c5ea4d9a4fa173298297bfe3f11)): ?> <?php $attributes = $__attributesOriginal656e8c5ea4d9a4fa173298297bfe3f11; ?> <?php unset($__attributesOriginal656e8c5ea4d9a4fa173298297bfe3f11); ?> <?php endif; ?> <?php if (isset($__componentOriginal656e8c5ea4d9a4fa173298297bfe3f11)): ?> <?php $component = $__componentOriginal656e8c5ea4d9a4fa173298297bfe3f11; ?> <?php unset($__componentOriginal656e8c5ea4d9a4fa173298297bfe3f11); ?> <?php endif; ?> <?php else: ?> <?php if (isset($component)) { $__componentOriginal656e8c5ea4d9a4fa173298297bfe3f11 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal656e8c5ea4d9a4fa173298297bfe3f11 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.danger-button','data' => []] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('danger-button'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes([]); ?><?php echo e(__('Unpublish results')); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal656e8c5ea4d9a4fa173298297bfe3f11)): ?> <?php $attributes = $__attributesOriginal656e8c5ea4d9a4fa173298297bfe3f11; ?> <?php unset($__attributesOriginal656e8c5ea4d9a4fa173298297bfe3f11); ?> <?php endif; ?> <?php if (isset($__componentOriginal656e8c5ea4d9a4fa173298297bfe3f11)): ?> <?php $component = $__componentOriginal656e8c5ea4d9a4fa173298297bfe3f11; ?> <?php unset($__componentOriginal656e8c5ea4d9a4fa173298297bfe3f11); ?> <?php endif; ?> <?php endif; ?> </a> <?php endif; ?> </div> <?php endif; ?> </div> <?php /**PATH /www/loslex/test/resources/views/contests/results/overview.blade.php ENDPATH**/ ?>