| Current Path : /var/www/html/bookstack/storage/framework/views/ |
| Current File : /var/www/html/bookstack/storage/framework/views/1f5d08137cf8af8688b27ccac2f0cf65b9b13f4c.php |
<?php $__env->startSection('content'); ?>
<div class="container mt-l">
<div class="card mb-xl px-l pb-l pt-l">
<div class="grid half v-center">
<div>
<?php echo $__env->make('errors.parts.not-found-text', [
'title' => $message ?? trans('errors.404_page_not_found'),
'subtitle' => $subtitle ?? trans('errors.sorry_page_not_found'),
'details' => $details ?? trans('errors.sorry_page_not_found_permission_warning'),
], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
</div>
<div class="text-right">
<?php if(!signedInUser()): ?>
<a href="<?php echo e(url('/login')); ?>" class="button outline"><?php echo e(trans('auth.log_in')); ?></a>
<?php endif; ?>
<a href="<?php echo e(url('/')); ?>" class="button outline"><?php echo e(trans('errors.return_home')); ?></a>
</div>
</div>
</div>
<?php if(setting('app-public') || !user()->isDefault()): ?>
<div class="grid third gap-xxl">
<div>
<div class="card mb-xl">
<h3 class="card-title"><?php echo e(trans('entities.pages_popular')); ?></h3>
<div class="px-m">
<?php echo $__env->make('entities.list', ['entities' => (new \BookStack\Entities\Queries\Popular)->run(10, 0, ['page']), 'style' => 'compact'], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
</div>
</div>
</div>
<div>
<div class="card mb-xl">
<h3 class="card-title"><?php echo e(trans('entities.books_popular')); ?></h3>
<div class="px-m">
<?php echo $__env->make('entities.list', ['entities' => (new \BookStack\Entities\Queries\Popular)->run(10, 0, ['book']), 'style' => 'compact'], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
</div>
</div>
</div>
<div>
<div class="card mb-xl">
<h3 class="card-title"><?php echo e(trans('entities.chapters_popular')); ?></h3>
<div class="px-m">
<?php echo $__env->make('entities.list', ['entities' => (new \BookStack\Entities\Queries\Popular)->run(10, 0, ['chapter']), 'style' => 'compact'], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
</div>
</div>
</div>
</div>
<?php endif; ?>
</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/errors/404.blade.php ENDPATH**/ ?>