]> BookStack Code Mirror - bookstack/blob - resources/views/pages/editor-toolbox.blade.php
Update errors.php
[bookstack] / resources / views / pages / editor-toolbox.blade.php
1 <div editor-toolbox class="floating-toolbox">
2
3     <div class="tabs primary-background-light">
4         <button type="button" toolbox-toggle aria-expanded="false">@icon('caret-left-circle')</button>
5         <button type="button" toolbox-tab-button="tags" title="{{ trans('entities.page_tags') }}" class="active">@icon('tag')</button>
6         @if(userCan('attachment-create-all'))
7             <button type="button" toolbox-tab-button="files" title="{{ trans('entities.attachments') }}">@icon('attach')</button>
8         @endif
9         <button type="button" toolbox-tab-button="templates" title="{{ trans('entities.templates') }}">@icon('template')</button>
10     </div>
11
12     <div toolbox-tab-content="tags">
13         <h4>{{ trans('entities.page_tags') }}</h4>
14         <div class="px-l">
15             @include('components.tag-manager', ['entity' => $page, 'entityType' => 'page'])
16         </div>
17     </div>
18
19     @if(userCan('attachment-create-all'))
20         @include('pages.attachment-manager', ['page' => $page])
21     @endif
22
23     <div toolbox-tab-content="templates">
24         <h4>{{ trans('entities.templates') }}</h4>
25
26         <div class="px-l">
27             @include('pages.template-manager', ['page' => $page, 'templates' => $templates])
28         </div>
29
30     </div>
31
32 </div>