mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-02-10 20:31:01 +08:00
![Dan Brown](/assets/img/avatar_default.png)
Added buttons and fit to design. Added new icon variations to support. Extracted book item to own view and setup for future auto sorts.
18 lines
1.1 KiB
PHP
18 lines
1.1 KiB
PHP
<li data-id="{{ $book->id }}"
|
|
data-name="{{ $book->name }}"
|
|
data-created="{{ $book->created_at->timestamp }}"
|
|
data-updated="{{ $book->updated_at->timestamp }}"
|
|
class="scroll-box-item">
|
|
<div class="handle px-s">@icon('grip')</div>
|
|
<a href="{{ $book->getUrl() }}" class="text-book">@icon('book'){{ $book->name }}</a>
|
|
<div class="buttons flex-container-row items-center ml-auto px-xxs py-xs">
|
|
<button type="button" data-action="move_up" class="icon-button p-xxs"
|
|
title="{{ trans('entities.books_sort_move_up') }}">@icon('chevron-up')</button>
|
|
<button type="button" data-action="move_down" class="icon-button p-xxs"
|
|
title="{{ trans('entities.books_sort_move_down') }}">@icon('chevron-down')</button>
|
|
<button type="button" data-action="remove" class="icon-button p-xxs"
|
|
title="{{ trans('common.remove') }}">@icon('remove')</button>
|
|
<button type="button" data-action="add" class="icon-button p-xxs"
|
|
title="{{ trans('common.add') }}">@icon('add-small')</button>
|
|
</div>
|
|
</li> |