%PDF- %PDF-
Direktori : /www/loslex/production/storage/framework/views/ |
Current File : //www/loslex/production/storage/framework/views/fd9da3f1c2d233d2fe7834651d014cb9.php |
<?php if (isset($component)) { $__componentOriginal9ac128a9029c0e4701924bd2d73d7f54 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal9ac128a9029c0e4701924bd2d73d7f54 = $attributes; } ?> <?php $component = App\View\Components\AppLayout::resolve([] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('app-layout'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(App\View\Components\AppLayout::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes([]); ?> <?php $__env->startPush('scripts'); ?> <script> function HideStage(s) { $(".stage-detail-" + s).hide(); $(".stage-detail-" + s + "-collapsed").show(); } function ShowStage(s) { $(".stage-detail-" + s + "-collapsed").hide(); $(".stage-detail-" + s).show(); } function rowHighlight(a) { $(a).hasClass("act") ? $(a).removeClass("act") : $(a).addClass("act") } function rowMark(a) { $(a).hasClass("marked") ? $(a).removeClass("marked") : $(a).addClass("marked") } </script> <?php $__env->stopPush(); ?> <?php $__env->slot('contentwidth', null, []); ?> max-w-full <?php $__env->endSlot(); ?> <?php $__env->slot('pagetitle', null, []); ?> <?php echo e(__('Detailed results')); ?> - <?php echo e($name); ?> <?php $__env->endSlot(); ?> <?php $__env->slot('header', null, []); ?> <h2 class="font-semibold text-xl text-gray-800 dark:text-gray-200 leading-tight"><?php echo e($name); ?> - <?php echo e($date->format("d.m.Y")); ?></h2> <?php $__env->endSlot(); ?> <div class="w-fit" id="resultsTabContents" x-data="{ pin : true }"> <!--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 rounded-t-lg py-4 px-4 text-sm font-medium text-center border-transparent border-b-2 dark:text-gray-400 hover:dark:border-gray-600 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> <td rowspan="2" class="align-middle font-semibold text-sm text-center result-header"><span class="fa-solid fa-trophy"></span></td> <?php if($division->name == "All"): ?> <td rowspan="2" class="align-middle font-semibold text-sm result-header"><?php echo e(__("Division")); ?></td> <?php endif; ?> <td title="<?php echo e(__('Click to pin/unpin')); ?>" rowspan="2" :class="pin ? 'sticky left-0' : ''" class="align-middle font-semibold text-sm result-header cursor-pointer select-none" @click="pin = !pin"> <?php echo e(__("Name")); ?><span x-show="pin" class="ml-2 text-xs fa-solid fa-thumbtack"></span> </td> <td rowspan="2" class="align-middle font-semibold text-sm result-header"><?php echo e(__("Total %")); ?></td> <?php for($i = 1; $i <= $numStages; $i++): ?> <?php $stageDetailClass = "stage-detail-{$stages[$i]->id}"; $resOddEven = ($i % 2 == 0) ? "result-even" : "result-odd"; ?> <td colspan="<?php echo e($stages[$i]->span); ?>" class="<?php echo e($stageDetailClass); ?> <?php echo e($resOddEven); ?> font-semibold whitespace-nowrap" style="text-align: center; display: table-cell;" onclick="HideStage(<?php echo e($stages[$i]->id); ?>);" title="<?php echo e(__('Hide this stage')); ?>"> <span style="cursor:pointer">Stage <?php echo e($i); ?></span> </td> <td class="<?php echo e($stageDetailClass); ?>-collapsed font-semibold whitespace-nowrap <?php echo e($resOddEven); ?>" onclick="ShowStage(<?php echo e($stages[$i]->id); ?>);" title="<?php echo e(__('Display results for this stage')); ?>" style="display: none;"><span style="cursor:pointer">Stage <?php echo e($i); ?></span></td> <td style="width: 10px;"></td> <?php endfor; ?> </tr> <tr class="border-gray-400 border-b"> <?php for($i = 1; $i <= $numStages; $i++): ?> <?php $stageDetailClass = "stage-detail-{$stages[$i]->id}"; $resOddEven = ($i % 2 == 0) ? "result-even" : "result-odd"; ?> <td class="text-center text-sm <?php echo e($resOddEven); ?> <?php echo e($stageDetailClass); ?>"><span class="fa-solid fa-stopwatch"></span></td> <?php if($stages[$i]->strings > 1): ?> <?php for($j = 1; $j <= $stages[$i]->strings; $j++): ?> <td class="font-semibold text-sm <?php echo e($resOddEven); ?> <?php echo e($stageDetailClass); ?>">T<?php echo e($j); ?></td> <?php endfor; ?> <?php endif; ?> <td class="text-center font-semibold text-sm <?php echo e($resOddEven); ?> <?php echo e($stageDetailClass); ?>">PP</td> <td class="text-center font-semibold text-sm <?php echo e($resOddEven); ?> <?php echo e($stageDetailClass); ?>">A</td> <td class="text-center font-semibold text-sm <?php echo e($resOddEven); ?> <?php echo e($stageDetailClass); ?>">C</td> <td class="text-center font-semibold text-sm <?php echo e($resOddEven); ?> <?php echo e($stageDetailClass); ?>">D</td> <td class="text-center font-semibold text-sm <?php echo e($resOddEven); ?> <?php echo e($stageDetailClass); ?> whitespace-nowrap">M-T</td> <td class="text-center font-semibold text-sm <?php echo e($resOddEven); ?> <?php echo e($stageDetailClass); ?> whitespace-nowrap">M-P</td> <td class="text-center font-semibold text-sm <?php echo e($resOddEven); ?> <?php echo e($stageDetailClass); ?> whitespace-nowrap">N-T</td> <td class="text-center font-semibold text-sm <?php echo e($resOddEven); ?> <?php echo e($stageDetailClass); ?>">proc</td> <td class="text-center text-sm <?php echo e($resOddEven); ?> <?php echo e($stageDetailClass); ?> text-center"><span class="fa-solid fa-stopwatch"></span></td> <td class="text-center font-semibold text-sm <?php echo e($resOddEven); ?> <?php echo e($stageDetailClass); ?> text-center">%</td> <td class="text-center font-semibold text-sm <?php echo e($resOddEven); ?> <?php echo e($stageDetailClass); ?>-collapsed" style="display: none;">%</td> <td style="width: 10px;"></td> <?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 id="shooter-<?php echo e($sh->registrationId); ?>" onmouseover="rowHighlight(this);" onmouseout="rowHighlight(this);" onclick="rowMark(this);"> <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="pin ? 'sticky left-0' : ''" class="whitespace-nowrap result-header"><?php echo e($sh->name); ?></td> <td class="<?php echo \Illuminate\Support\Arr::toCssClasses(['text-center', 'result-header', 'result-best' => ($sh->percent == 100)]); ?>"><?php echo e($sh->percent); ?>%</td> <?php for($i = 1; $i <= $numStages; $i++): ?> <?php $stageDetailClass = "stage-detail-{$stages[$i]->id}"; $resOddEven = ($i % 2) ? "result-odd" : "result-even"; ?> <td class="<?php echo e($resOddEven); ?> <?php echo e($stageDetailClass); ?>"><?php echo e($sh->stages[$i]->time); ?></td> <?php if($stages[$i]->strings > 1): ?> <?php for($j = 1; $j <= $stages[$i]->strings; $j++): ?> <td class="<?php echo e($resOddEven); ?> <?php echo e($stageDetailClass); ?>"><?php echo e((isset($sh->stageStrings[$i][$j]) ? $sh->stageStrings[$i][$j] : "0.00")); ?></td> <?php endfor; ?> <?php endif; ?> <td class="text-center <?php echo e($resOddEven); ?> <?php echo e($stageDetailClass); ?>"><?php echo e($sh->stages[$i]->popper); ?></td> <td class="text-center <?php echo e($resOddEven); ?> <?php echo e($stageDetailClass); ?>"><?php echo e($sh->stages[$i]->alpha); ?></td> <td class="text-center <?php echo e($resOddEven); ?> <?php echo e($stageDetailClass); ?>"><?php echo e($sh->stages[$i]->charlie); ?></td> <td class="text-center <?php echo e($resOddEven); ?> <?php echo e($stageDetailClass); ?>"><?php echo e($sh->stages[$i]->delta); ?></td> <td class="text-center <?php echo e($resOddEven); ?> <?php echo e($stageDetailClass); ?>"><?php echo e($sh->stages[$i]->miss); ?></td> <td class="text-center <?php echo e($resOddEven); ?> <?php echo e($stageDetailClass); ?>"><?php echo e($sh->stages[$i]->misspopper); ?></td> <td class="text-center <?php echo e($resOddEven); ?> <?php echo e($stageDetailClass); ?>"><?php echo e($sh->stages[$i]->noshoot); ?></td> <td class="text-center <?php echo e($resOddEven); ?> <?php echo e($stageDetailClass); ?>"><?php echo e($sh->stages[$i]->proc); ?></td> <td class="text-center <?php echo e($resOddEven); ?> <?php echo e($stageDetailClass); ?>"><?php echo e($sh->stages[$i]->total_time); ?></td> <td class="<?php echo \Illuminate\Support\Arr::toCssClasses(['text-center', $resOddEven, $stageDetailClass, 'result-best' => $sh->stages[$i]->stage_percent == 100]); ?>"><?php echo e(number_format($sh->stages[$i]->stage_percent, 2)); ?></td> <td class="<?php echo \Illuminate\Support\Arr::toCssClasses([ $resOddEven, $stageDetailClass . '-collapsed', 'text-center', 'result-best' => $sh->stages[$i]->stage_percent == 100]); ?>" style="display: none;"><span title="<?php echo e($sh->stages[$i]->total_time); ?> s"><?php echo e(number_format($sh->stages[$i]->stage_percent, 2)); ?></span></td> <td style="width: 10px;"></td> <?php endfor; ?> </tr> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </tbody> </table> </div> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </div> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal9ac128a9029c0e4701924bd2d73d7f54)): ?> <?php $attributes = $__attributesOriginal9ac128a9029c0e4701924bd2d73d7f54; ?> <?php unset($__attributesOriginal9ac128a9029c0e4701924bd2d73d7f54); ?> <?php endif; ?> <?php if (isset($__componentOriginal9ac128a9029c0e4701924bd2d73d7f54)): ?> <?php $component = $__componentOriginal9ac128a9029c0e4701924bd2d73d7f54; ?> <?php unset($__componentOriginal9ac128a9029c0e4701924bd2d73d7f54); ?> <?php endif; ?> <?php /**PATH /www/loslex/production/resources/views/contests/results/detail.blade.php ENDPATH**/ ?>