2019-07-07 20:45:46 +08:00
|
|
|
<div editor-toolbox class="floating-toolbox">
|
|
|
|
|
|
|
|
<div class="tabs primary-background-light">
|
2019-08-26 19:47:04 +08:00
|
|
|
<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>
|
2019-07-07 20:45:46 +08:00
|
|
|
@if(userCan('attachment-create-all'))
|
2019-08-26 19:47:04 +08:00
|
|
|
<button type="button" toolbox-tab-button="files" title="{{ trans('entities.attachments') }}">@icon('attach')</button>
|
2019-07-07 20:45:46 +08:00
|
|
|
@endif
|
2019-08-26 19:47:04 +08:00
|
|
|
<button type="button" toolbox-tab-button="templates" title="{{ trans('entities.templates') }}">@icon('template')</button>
|
2019-07-07 20:45:46 +08:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div toolbox-tab-content="tags">
|
|
|
|
<h4>{{ trans('entities.page_tags') }}</h4>
|
|
|
|
<div class="px-l">
|
2020-06-30 05:11:03 +08:00
|
|
|
@include('components.tag-manager', ['entity' => $page])
|
2019-07-07 20:45:46 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
@if(userCan('attachment-create-all'))
|
2020-07-04 23:53:02 +08:00
|
|
|
@include('attachments.manager', ['page' => $page])
|
2019-07-07 20:45:46 +08:00
|
|
|
@endif
|
|
|
|
|
|
|
|
<div toolbox-tab-content="templates">
|
|
|
|
<h4>{{ trans('entities.templates') }}</h4>
|
|
|
|
|
|
|
|
<div class="px-l">
|
2019-08-12 03:04:43 +08:00
|
|
|
@include('pages.template-manager', ['page' => $page, 'templates' => $templates])
|
2019-07-07 20:45:46 +08:00
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|