X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/aabd4c04128f738d88a6a6ac756f1554105811df..refs/pull/3406/head:/resources/views/books/index.blade.php
diff --git a/resources/views/books/index.blade.php b/resources/views/books/index.blade.php
index bed51e7fd..6573bbe6a 100644
--- a/resources/views/books/index.blade.php
+++ b/resources/views/books/index.blade.php
@@ -1,30 +1,21 @@
-@extends('sidebar-layout')
+@extends('layouts.tri')
-@section('toolbar')
-
-
- @include('books.view-toggle', ['booksViewType' => $booksViewType])
-
-
-
+@section('body')
+ @include('books.parts.list', ['books' => $books, 'view' => $view])
@stop
-@section('sidebar')
+@section('left')
@if($recents)
{{ trans('entities.recently_viewed') }}
- @include('partials.entity-list', ['entities' => $recents, 'style' => 'compact'])
+ @include('entities.list', ['entities' => $recents, 'style' => 'compact'])
@endif
{{ trans('entities.books_popular') }}
@if(count($popular) > 0)
- @include('partials.entity-list', ['entities' => $popular, 'style' => 'compact'])
+ @include('entities.list', ['entities' => $popular, 'style' => 'compact'])
@else
{{ trans('entities.books_popular_empty') }}
@endif
@@ -33,13 +24,32 @@
{{ trans('entities.books_new') }}
@if(count($popular) > 0)
- @include('partials.entity-list', ['entities' => $new, 'style' => 'compact'])
+ @include('entities.list', ['entities' => $new, 'style' => 'compact'])
@else
{{ trans('entities.books_new_empty') }}
@endif
@stop
-@section('body')
- @include('books.list', ['books' => $books, 'bookViewType' => $booksViewType])
+@section('right')
+
+
+
@stop
\ No newline at end of file