<div class="" style="min-width:50%;">
    <h1><?php echo e(__("headlines.widget_manager")); ?></h1>
    <a href="<?php echo e(BASE_URL); ?>/dashboard/home?resetDashboard=true" class="btn btn-outline pull-right" style="margin-bottom:10px;"><i class="fa-solid fa-arrow-rotate-left"></i> Reset Dashboard</a>
    <p><?php echo e(__("text.choose_widgets")); ?></p>
    <br />
    <div class="row">
        <?php $__currentLoopData = $availableWidgets; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $widgetId => $widget): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
            <?php if($widget->alwaysVisible !== true): ?>
                <?php ( $widget->name = __($widget->name)); ?>
                <?php ( $widget->description = __($widget->description)); ?>
                <div class="col-md-4">
                    <div class="projectBox tw-p-m tw-min-w-[250px] <?php if(in_array($widgetId, array_keys($newWidgets)) && !isset($activeWidgets[$widgetId])): ?> newWidget <?php endif; ?>">
                        <h5><?php echo e($widget->name); ?></h5>
                        <p><?php echo $widget->description; ?> </p>
                        <div class="right">
                            <?php if($widget->alwaysVisible == false): ?>
                                <input
                                    type="checkbox"
                                    class="toggle"
                                    id="widget-toggle-<?php echo e($widget->id); ?>"
                                    onclick="leantime.widgetController.toggleWidgetVisibility('<?php echo e($widget->id); ?>', this, <?php echo e(json_encode($widget)); ?>)"
                                    <?php if(isset($activeWidgets[$widget->id])): ?>
                                        checked='checked'
                                        <?php if(isset($activeWidgets[$widget->id]->isNew) && $activeWidgets[$widget->id]->isNew): ?>
                                            data-is-new="true"
                                        <?php endif; ?>
                                    <?php endif; ?>
                                />
                                <label for="widget-toggle-<?php echo e($widget->id); ?>"></label>
                            <?php endif; ?>
                        </div>
                        <div class="clearall"></div>
                    </div>
                </div>
            <?php endif; ?>
        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
    </div>
    <div class="clear"></div>
</div>
<?php /**PATH /home/ninatech/leantime/app/Domain/Widgets/Templates/widgetManager.blade.php ENDPATH**/ ?>