]> BookStack Code Mirror - bookstack/blob - resources/views/home/books.blade.php
Updated translator & dependency attribution before release v25.05.1
[bookstack] / resources / views / home / books.blade.php
1 @extends('layouts.tri')
2
3 @section('body')
4     @include('books.parts.list', ['books' => $books, '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('book-create-all'))
16                 <a href="{{ url("/create-book") }}" class="icon-list-item">
17                     <span>@icon('add')</span>
18                     <span>{{ trans('entities.books_create') }}</span>
19                 </a>
20             @endif
21             @include('entities.view-toggle', ['view' => $view, 'type' => 'books'])
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
Morty Proxy This is a proxified and sanitized view of the page, visit original site.