]> BookStack Code Mirror - bookstack/blob - resources/views/errors/404.blade.php
Update code.js
[bookstack] / resources / views / errors / 404.blade.php
1 @extends('simple-layout')
2
3 @section('content')
4 <div class="container mt-l">
5
6     <div class="card mb-xl px-l pb-l pt-l">
7         <div class="grid half v-center">
8             <div>
9                 <h1 class="list-heading">{{ $message ?? trans('errors.404_page_not_found') }}</h1>
10                 <h5>{{ trans('errors.sorry_page_not_found') }}</h5>
11                 <p>{{ trans('errors.sorry_page_not_found_permission_warning') }}</p>
12             </div>
13             <div class="text-right">
14                 @if(!signedInUser())
15                     <a href="{{ url('/login') }}" class="button outline">{{ trans('auth.log_in') }}</a>
16                 @endif
17                 <a href="{{ url('/') }}" class="button outline">{{ trans('errors.return_home') }}</a>
18             </div>
19         </div>
20
21     </div>
22
23     @if (setting('app-public') || !user()->isDefault())
24         <div class="grid third gap-xxl">
25             <div>
26                 <div class="card mb-xl">
27                     <h3 class="card-title">{{ trans('entities.pages_popular') }}</h3>
28                     <div class="px-m">
29                         @include('partials.entity-list', ['entities' => Views::getPopular(10, 0, ['page']), 'style' => 'compact'])
30                     </div>
31                 </div>
32             </div>
33             <div>
34                 <div class="card mb-xl">
35                     <h3 class="card-title">{{ trans('entities.books_popular') }}</h3>
36                     <div class="px-m">
37                         @include('partials.entity-list', ['entities' => Views::getPopular(10, 0, ['book']), 'style' => 'compact'])
38                     </div>
39                 </div>
40             </div>
41             <div>
42                 <div class="card mb-xl">
43                     <h3 class="card-title">{{ trans('entities.chapters_popular') }}</h3>
44                     <div class="px-m">
45                         @include('partials.entity-list', ['entities' => Views::getPopular(10, 0, ['chapter']), 'style' => 'compact'])
46                     </div>
47                 </div>
48             </div>
49         </div>
50     @endif
51 </div>
52
53 @stop