X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/86b2ddbd28b49169463a1d6be6bc4e4c24490bf7..refs/pull/5725/head:/resources/views/books/index.blade.php diff --git a/resources/views/books/index.blade.php b/resources/views/books/index.blade.php index f625ae6fb..197de011d 100644 --- a/resources/views/books/index.blade.php +++ b/resources/views/books/index.blade.php @@ -1,56 +1,62 @@ -@extends('sidebar-layout') - -@section('toolbar') -
-
-
id}/switch-book-view") }}" method="POST" class="inline"> - {!! csrf_field() !!} - {!! method_field('PATCH') !!} - - @if ($booksViewType === 'list') - - @else - - @endif -
-
-
-
-
- @if($currentUser->can('book-create-all')) - @icon('add'){{ trans('entities.books_create') }} - @endif -
-
+@extends('layouts.tri') + +@section('body') + @include('books.parts.list', ['books' => $books, 'view' => $view, 'listOptions' => $listOptions]) @stop -@section('sidebar') +@section('left') @if($recents) -
-

@icon('view') {{ trans('entities.recently_viewed') }}

- @include('partials/entity-list', ['entities' => $recents, 'style' => 'compact']) +
+
{{ trans('entities.recently_viewed') }}
+ @include('entities.list', ['entities' => $recents, 'style' => 'compact'])
@endif -