mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-12-11 20:54:38 +08:00
a61c9c5e98
- Primarily moved and re-organised view files. - Included readme within views to document the convention. - Fixed some issues with page field select list in previous commit. - Tweaked some route names while going through. - Split some views out further. Closes #2805
33 lines
1.2 KiB
PHP
33 lines
1.2 KiB
PHP
<div editor-toolbox class="floating-toolbox">
|
|
|
|
<div class="tabs primary-background-light">
|
|
<button type="button" toolbox-toggle aria-expanded="false">@icon('caret-left-circle')</button>
|
|
<button type="button" toolbox-tab-button="tags" title="{{ trans('entities.page_tags') }}" class="active">@icon('tag')</button>
|
|
@if(userCan('attachment-create-all'))
|
|
<button type="button" toolbox-tab-button="files" title="{{ trans('entities.attachments') }}">@icon('attach')</button>
|
|
@endif
|
|
<button type="button" toolbox-tab-button="templates" title="{{ trans('entities.templates') }}">@icon('template')</button>
|
|
</div>
|
|
|
|
<div toolbox-tab-content="tags">
|
|
<h4>{{ trans('entities.page_tags') }}</h4>
|
|
<div class="px-l">
|
|
@include('entities.tag-manager', ['entity' => $page])
|
|
</div>
|
|
</div>
|
|
|
|
@if(userCan('attachment-create-all'))
|
|
@include('attachments.manager', ['page' => $page])
|
|
@endif
|
|
|
|
<div toolbox-tab-content="templates">
|
|
<h4>{{ trans('entities.templates') }}</h4>
|
|
|
|
<div class="px-l">
|
|
@include('pages.parts.template-manager', ['page' => $page, 'templates' => $templates])
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|