2021-08-22 08:15:58 -04:00
|
|
|
@extends('layouts.simple')
|
2015-09-06 09:35:53 -04:00
|
|
|
|
2017-08-26 08:24:55 -04:00
|
|
|
@section('body')
|
2016-12-03 13:35:40 -05:00
|
|
|
|
2018-05-28 05:33:38 -04:00
|
|
|
<div class="container">
|
2015-09-06 09:35:53 -04:00
|
|
|
|
2019-02-17 12:52:42 -05:00
|
|
|
<div class="my-s">
|
2021-08-22 08:15:58 -04:00
|
|
|
@include('entities.breadcrumbs', ['crumbs' => [
|
2019-01-31 15:37:12 -05:00
|
|
|
$book,
|
2019-02-17 06:44:02 -05:00
|
|
|
$book->getUrl('/sort') => [
|
|
|
|
'text' => trans('entities.books_sort'),
|
|
|
|
'icon' => 'sort',
|
|
|
|
]
|
2019-01-31 15:37:12 -05:00
|
|
|
]])
|
|
|
|
</div>
|
2015-09-06 09:35:53 -04:00
|
|
|
|
2019-03-30 10:27:00 -04:00
|
|
|
<div class="grid left-focus gap-xl">
|
2019-01-31 15:37:12 -05:00
|
|
|
<div>
|
2023-01-27 06:16:17 -05:00
|
|
|
<div component="book-sort" class="card content-wrap auto-height">
|
|
|
|
<h1 class="list-heading">{{ trans('entities.books_sort') }}</h1>
|
|
|
|
<p class="text-muted">{{ trans('entities.books_sort_desc') }}</p>
|
|
|
|
|
2022-11-15 06:24:31 -05:00
|
|
|
<div refs="book-sort@sortContainer">
|
2021-08-22 08:15:58 -04:00
|
|
|
@include('books.parts.sort-box', ['book' => $book, 'bookChildren' => $bookChildren])
|
2017-08-26 08:24:55 -04:00
|
|
|
</div>
|
2019-01-31 15:37:12 -05:00
|
|
|
|
|
|
|
<form action="{{ $book->getUrl('/sort') }}" method="POST">
|
|
|
|
{!! csrf_field() !!}
|
|
|
|
<input type="hidden" name="_method" value="PUT">
|
2022-11-15 06:24:31 -05:00
|
|
|
<input refs="book-sort@input" type="hidden" name="sort-tree">
|
2019-01-31 15:37:12 -05:00
|
|
|
<div class="list text-right">
|
|
|
|
<a href="{{ $book->getUrl() }}" class="button outline">{{ trans('common.cancel') }}</a>
|
2019-08-25 07:40:04 -04:00
|
|
|
<button class="button" type="submit">{{ trans('entities.books_sort_save') }}</button>
|
2019-01-31 15:37:12 -05:00
|
|
|
</div>
|
|
|
|
</form>
|
2017-08-26 08:24:55 -04:00
|
|
|
</div>
|
2015-09-06 09:35:53 -04:00
|
|
|
</div>
|
2019-01-31 15:37:12 -05:00
|
|
|
|
|
|
|
<div>
|
2023-01-27 06:16:17 -05:00
|
|
|
<main class="card content-wrap auto-height sticky-top-m">
|
|
|
|
<h2 class="list-heading">{{ trans('entities.books_sort_show_other') }}</h2>
|
|
|
|
<p class="text-muted">{{ trans('entities.books_sort_show_other_desc') }}</p>
|
2019-04-06 11:56:50 -04:00
|
|
|
|
2021-08-22 08:15:58 -04:00
|
|
|
@include('entities.selector', ['name' => 'books_list', 'selectorSize' => 'compact', 'entityTypes' => 'book', 'entityPermission' => 'update', 'showAdd' => true])
|
2019-04-06 11:56:50 -04:00
|
|
|
|
2019-08-25 10:44:51 -04:00
|
|
|
</main>
|
2017-08-26 08:24:55 -04:00
|
|
|
</div>
|
2015-09-06 09:35:53 -04:00
|
|
|
</div>
|
2019-01-31 15:37:12 -05:00
|
|
|
|
2015-09-06 09:35:53 -04:00
|
|
|
</div>
|
|
|
|
|
2018-03-17 11:20:15 -04:00
|
|
|
@stop
|