]> BookStack Code Mirror - bookstack/blob - resources/views/home/shelves.blade.php
respective book and chapter structure added.
[bookstack] / resources / views / home / shelves.blade.php
1 @extends('layouts.tri')
2
3 @section('body')
4     @include('shelves.parts.list', ['shelves' => $shelves, 'view' => $view])
5 @stop
6
7 @section('left')
8     @include('home.parts.sidebar')
9 @stop
10
11 @section('right')
12     <div class="actions mb-xl">
13         <h5>{{ trans('common.actions') }}</h5>
14         <div class="icon-list text-link">
15             @if(user()->can('bookshelf-create-all'))
16                 <a href="{{ url("/create-shelf") }}" class="icon-list-item">
17                     <span>@icon('add')</span>
18                     <span>{{ trans('entities.shelves_new_action') }}</span>
19                 </a>
20             @endif
21             @include('entities.view-toggle', ['view' => $view, 'type' => 'bookshelves'])
22             <a href="{{ url('/tags') }}" class="icon-list-item">
23                 <span>@icon('tag')</span>
24                 <span>{{ trans('entities.tags_view_tags') }}</span>
25             </a>
26             @include('home.parts.expand-toggle', ['classes' => 'text-link', 'target' => '.entity-list.compact .entity-item-snippet', 'key' => 'home-details'])
27             @include('common.dark-mode-toggle', ['classes' => 'icon-list-item text-link'])
28         </div>
29     </div>
30 @stop