%PDF- %PDF-
Direktori : /www/loslex/production/storage/framework/views/ |
Current File : //www/loslex/production/storage/framework/views/39254c973c61908ddaf788bdca60f7af.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="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> <th class="result-header"><?php echo e(__("Time")); ?></th> <th class="result-header"><?php echo e(__("Hit")); ?></th> <th class="result-header"><?php echo e(__("Miss")); ?></th> <th class="result-header"><?php echo e(__("Proc")); ?></th> <th class="result-header"><?php echo e(__("N-S")); ?></th> <th class="result-header"><?php echo e(__("Total time")); ?></th> <th class="result-header"><?php echo e(__("Result")); ?></th> </tr> </thead> <tbody> <?php $no = 1; ?> <?php $__currentLoopData = $division->shooters; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $sh): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <tr> <?php $passed = ($sh->stages[1]->total_time < 40.0 && $sh->stages[1]->noshoot == 0) ?> <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> <td class="<?php echo \Illuminate\Support\Arr::toCssClasses(['text-center', 'result-even']); ?>"><?php echo e($sh->stages[1]->time); ?></td> <td class="<?php echo \Illuminate\Support\Arr::toCssClasses(['text-center', 'result-even']); ?>"><?php echo e(($sh->stages[1]->alpha + $sh->stages[1]->charlie + $sh->stages[1]->delta + $sh->stages[1]->popper)); ?></td> <td class="<?php echo \Illuminate\Support\Arr::toCssClasses(['text-center', 'result-even']); ?>"><?php echo e(($sh->stages[1]->miss + $sh->stages[1]->misspopper)); ?></td> <td class="<?php echo \Illuminate\Support\Arr::toCssClasses(['text-center', 'result-even']); ?>"><?php echo e($sh->stages[1]->proc); ?></td> <td class="<?php echo \Illuminate\Support\Arr::toCssClasses(['text-center', 'result-even']); ?>"><?php echo e($sh->stages[1]->noshoot); ?></td> <td class="<?php echo \Illuminate\Support\Arr::toCssClasses(['text-center', 'result-even']); ?>"><?php echo e($sh->stages[1]->total_time); ?></td> <td class="<?php echo \Illuminate\Support\Arr::toCssClasses(['text-center', 'result-even', 'status-pass' => $passed, 'status-fail' => !$passed]); ?>"><?php echo e($passed ? __("Pass") : __("Fail")); ?></td> </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.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 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.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/production/resources/views/contests/results/szclassification.blade.php ENDPATH**/ ?>