]> BookStack Code Mirror - bookstack/blob - resources/views/errors/404.blade.php
Merge pull request #3 from OsmosysSoftware/revert-1-issue-181
[bookstack] / resources / views / errors / 404.blade.php
1 @extends('base')
2
3 @section('content')
4
5
6 <div class="container">
7
8
9     <h1>{{ $message or trans('errors.404_page_not_found') }}</h1>
10     <p>{{ trans('errors.sorry_page_not_found') }}</p>
11     <p><a href="{{ baseUrl('/') }}" class="button">{{ trans('errors.return_home') }}</a></p>
12
13     @if (setting('app-public') || !user()->isDefault())
14         <hr>
15
16         <div class="row">
17             <div class="col-md-4">
18                 <h3 class="text-muted">{{ trans('entities.pages_popular') }}</h3>
19                 @include('partials.entity-list', ['entities' => Views::getPopular(10, 0, [\BookStack\Page::class]), 'style' => 'compact'])
20             </div>
21             <div class="col-md-4">
22                 <h3 class="text-muted">{{ trans('entities.books_popular') }}</h3>
23                 @include('partials.entity-list', ['entities' => Views::getPopular(10, 0, [\BookStack\Book::class]), 'style' => 'compact'])
24             </div>
25             <div class="col-md-4">
26                 <h3 class="text-muted">{{ trans('entities.chapters_popular') }}</h3>
27                 @include('partials.entity-list', ['entities' => Views::getPopular(10, 0, [\BookStack\Chapter::class]), 'style' => 'compact'])
28             </div>
29         </div>
30     @endif
31 </div>
32
33 @stop