1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2024-10-30 15:42:41 +01:00
BookStack/resources/views/books/sort.blade.php

50 lines
1.8 KiB
PHP
Raw Normal View History

@extends('simple-layout')
2015-09-06 15:35:53 +02:00
@section('body')
<div class="container">
2015-09-06 15:35:53 +02:00
<div class="my-s">
2019-01-31 21:37:12 +01:00
@include('partials.breadcrumbs', ['crumbs' => [
$book,
2019-02-17 12:44:02 +01:00
$book->getUrl('/sort') => [
'text' => trans('entities.books_sort'),
'icon' => 'sort',
]
2019-01-31 21:37:12 +01:00
]])
</div>
2015-09-06 15:35:53 +02:00
<div class="grid left-focus gap-xl">
2019-01-31 21:37:12 +01:00
<div>
<div book-sort class="card content-wrap">
<h1 class="list-heading mb-l">{{ trans('entities.books_sort') }}</h1>
<div book-sort-boxes>
2019-02-17 12:44:02 +01:00
@include('books.sort-box', ['book' => $book, 'bookChildren' => $bookChildren])
</div>
2019-01-31 21:37:12 +01:00
<form action="{{ $book->getUrl('/sort') }}" method="POST">
{!! csrf_field() !!}
<input type="hidden" name="_method" value="PUT">
<input book-sort-input type="hidden" name="sort-tree">
2019-01-31 21:37:12 +01:00
<div class="list text-right">
<a href="{{ $book->getUrl() }}" class="button outline">{{ trans('common.cancel') }}</a>
<button class="button" type="submit">{{ trans('entities.books_sort_save') }}</button>
2019-01-31 21:37:12 +01:00
</div>
</form>
</div>
2015-09-06 15:35:53 +02:00
</div>
2019-01-31 21:37:12 +01:00
<div>
<main class="card content-wrap">
<h2 class="list-heading mb-m">{{ trans('entities.books_sort_show_other') }}</h2>
@include('components.entity-selector', ['name' => 'books_list', 'selectorSize' => 'compact', 'entityTypes' => 'book', 'entityPermission' => 'update', 'showAdd' => true])
</main>
</div>
2015-09-06 15:35:53 +02:00
</div>
2019-01-31 21:37:12 +01:00
2015-09-06 15:35:53 +02:00
</div>
@stop