Your IP : 216.73.216.79


Current Path : /var/www/html/bookstack/storage/framework/views/
Upload File :
Current File : /var/www/html/bookstack/storage/framework/views/c54a7bcbcfb9590a032b5b022226eda6f96cd22d.php

<?php $__env->startSection('body'); ?>

    <div class="container px-xl py-s">
        <div class="grid half">
            <div>
                <div class="icon-list inline block">
                    <?php echo $__env->make('home.parts.expand-toggle', ['classes' => 'text-muted text-primary', 'target' => '.entity-list.compact .entity-item-snippet', 'key' => 'home-details'], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
                </div>
            </div>
            <div class="text-m-right">
                <div class="icon-list inline block">
                    <?php echo $__env->make('common.dark-mode-toggle', ['classes' => 'text-muted icon-list-item text-primary'], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
                </div>
            </div>
        </div>
    </div>

    <script nonce="<?php echo e($cspNonce); ?>">
        setTimeout(async () => {
            const result = await window.components["confirm-dialog"][0].show();
            console.log({result});
        }, 1000);
    </script>

    <div class="container" id="home-default">
        <div class="grid third gap-xxl no-row-gap" >
            <div>
                <?php if(count($draftPages) > 0): ?>
                    <div id="recent-drafts" class="card mb-xl">
                        <h3 class="card-title"><?php echo e(trans('entities.my_recent_drafts')); ?></h3>
                        <div class="px-m">
                            <?php echo $__env->make('entities.list', ['entities' => $draftPages, 'style' => 'compact'], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
                        </div>
                    </div>
                <?php endif; ?>

                <div id="<?php echo e(auth()->check() ? 'recently-viewed' : 'recent-books'); ?>" class="card mb-xl">
                    <h3 class="card-title"><?php echo e(trans('entities.' . (auth()->check() ? 'my_recently_viewed' : 'books_recent'))); ?></h3>
                    <div class="px-m">
                        <?php echo $__env->make('entities.list', [
                        'entities' => $recents,
                        'style' => 'compact',
                        'emptyText' => auth()->check() ? trans('entities.no_pages_viewed') : trans('entities.books_empty')
                        ], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
                    </div>
                </div>
            </div>

            <div>
                <?php if(count($favourites) > 0): ?>
                    <div id="top-favourites" class="card mb-xl">
                        <h3 class="card-title"><?php echo e(trans('entities.my_most_viewed_favourites')); ?></h3>
                        <div class="px-m">
                            <?php echo $__env->make('entities.list', [
                            'entities' => $favourites,
                            'style' => 'compact',
                            ], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
                        </div>
                        <a href="<?php echo e(url('/favourites')); ?>" class="card-footer-link"><?php echo e(trans('common.view_all')); ?></a>
                    </div>
                <?php endif; ?>

                <div id="recent-pages" class="card mb-xl">
                    <h3 class="card-title"><?php echo e(trans('entities.recently_updated_pages')); ?></h3>
                    <div id="recently-updated-pages" class="px-m">
                        <?php echo $__env->make('entities.list', [
                        'entities' => $recentlyUpdatedPages,
                        'style' => 'compact',
                        'emptyText' => trans('entities.no_pages_recently_updated'),
                        ], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
                    </div>
                    <a href="<?php echo e(url("/pages/recently-updated")); ?>" class="card-footer-link"><?php echo e(trans('common.view_all')); ?></a>
                </div>
            </div>

            <div>
                <div id="recent-activity">
                    <div class="card mb-xl">
                        <h3 class="card-title"><?php echo e(trans('entities.recent_activity')); ?></h3>
                        <?php echo $__env->make('common.activity-list', ['activity' => $activity], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
                    </div>
                </div>
            </div>

        </div>
    </div>

<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.simple', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /var/www/html/bookstack/resources/views/home/default.blade.php ENDPATH**/ ?>