X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/a6128a1df12cc37a2fd7fce2ecc0e08ba9fb3c91..refs/pull/806/head:/resources/views/errors/404.blade.php diff --git a/resources/views/errors/404.blade.php b/resources/views/errors/404.blade.php index a0e34e83d..d614edca8 100644 --- a/resources/views/errors/404.blade.php +++ b/resources/views/errors/404.blade.php @@ -1,30 +1,37 @@ -@extends('base') +@extends('simple-layout') @section('content') - -
+

 

-

{{ $message or trans('errors.404_page_not_found') }}

-

{{ trans('errors.sorry_page_not_found') }}

-

{{ trans('errors.return_home') }}

+
+

@icon('danger') {{ $message or trans('errors.404_page_not_found') }}

+
+
{{ trans('errors.sorry_page_not_found') }}
+

{{ trans('errors.return_home') }}

+
+
@if (setting('app-public') || !user()->isDefault()) -
-
-

{{ trans('entities.pages_popular') }}

- @include('partials.entity-list', ['entities' => Views::getPopular(10, 0, [\BookStack\Page::class]), 'style' => 'compact']) +
+

@icon('page') {{ trans('entities.pages_popular') }}

+ @include('partials.entity-list', ['entities' => Views::getPopular(10, 0, [\BookStack\Page::class]), 'style' => 'compact']) +
-

{{ trans('entities.books_popular') }}

- @include('partials.entity-list', ['entities' => Views::getPopular(10, 0, [\BookStack\Book::class]), 'style' => 'compact']) +
+

@icon('book') {{ trans('entities.books_popular') }}

+ @include('partials.entity-list', ['entities' => Views::getPopular(10, 0, [\BookStack\Book::class]), 'style' => 'compact']) +
-

{{ trans('entities.chapters_popular') }}

- @include('partials.entity-list', ['entities' => Views::getPopular(10, 0, [\BookStack\Chapter::class]), 'style' => 'compact']) +
+

@icon('chapter') {{ trans('entities.chapters_popular') }}

+ @include('partials.entity-list', ['entities' => Views::getPopular(10, 0, [\BookStack\Chapter::class]), 'style' => 'compact']) +
@endif