| 
									
										
										
										
											2023-05-31 23:38:20 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-10-19 05:02:34 +08:00
										 |  |  | <div component="pointer" | 
					
						
							| 
									
										
										
										
											2023-05-31 23:38:20 +08:00
										 |  |  |       option:pointer:page-id="{{ $page->id }}"> | 
					
						
							|  |  |  |     <div id="pointer" | 
					
						
							|  |  |  |          refs="pointer@pointer" | 
					
						
							|  |  |  |          tabindex="-1" | 
					
						
							|  |  |  |          aria-label="{{ trans('entities.pages_pointer_label') }}" | 
					
						
							|  |  |  |          class="pointer-container"> | 
					
						
							| 
									
										
										
										
											2025-04-18 22:01:57 +08:00
										 |  |  |         <div class="pointer flex-container-row items-center justify-space-between gap-xs p-xs anim {{ userCan('page-update', $page) ? 'is-page-editable' : ''}}" > | 
					
						
							|  |  |  |             <div refs="pointer@mode-section" class="flex-container-row items-center gap-xs"> | 
					
						
							| 
									
										
										
										
											2023-05-31 23:38:20 +08:00
										 |  |  |                 <button refs="pointer@mode-toggle" | 
					
						
							|  |  |  |                         title="{{ trans('entities.pages_pointer_toggle_link') }}" | 
					
						
							|  |  |  |                         class="text-button icon px-xs">@icon('link')</button> | 
					
						
							|  |  |  |                 <div class="input-group"> | 
					
						
							|  |  |  |                     <input refs="pointer@link-input" aria-label="{{ trans('entities.pages_pointer_permalink') }}" readonly="readonly" type="text" id="pointer-url" placeholder="url"> | 
					
						
							| 
									
										
										
										
											2025-04-18 22:01:57 +08:00
										 |  |  |                     <button refs="pointer@link-button" class="button outline icon px-xs" type="button" title="{{ trans('entities.pages_copy_link') }}">@icon('copy')</button> | 
					
						
							| 
									
										
										
										
											2023-05-31 23:38:20 +08:00
										 |  |  |                 </div> | 
					
						
							|  |  |  |             </div> | 
					
						
							|  |  |  |             <div refs="pointer@mode-section" hidden class="flex-container-row items-center gap-s"> | 
					
						
							|  |  |  |                 <button refs="pointer@mode-toggle" | 
					
						
							|  |  |  |                         title="{{ trans('entities.pages_pointer_toggle_include') }}" | 
					
						
							|  |  |  |                         class="text-button icon px-xs">@icon('include')</button> | 
					
						
							|  |  |  |                 <div class="input-group"> | 
					
						
							|  |  |  |                     <input refs="pointer@include-input" aria-label="{{ trans('entities.pages_pointer_include_tag') }}" readonly="readonly" type="text" id="pointer-include" placeholder="include"> | 
					
						
							| 
									
										
										
										
											2025-04-18 22:01:57 +08:00
										 |  |  |                     <button refs="pointer@include-button" class="button outline icon px-xs" type="button" title="{{ trans('entities.pages_copy_link') }}">@icon('copy')</button> | 
					
						
							| 
									
										
										
										
											2023-05-31 23:38:20 +08:00
										 |  |  |                 </div> | 
					
						
							|  |  |  |             </div> | 
					
						
							| 
									
										
										
										
											2025-04-18 22:01:57 +08:00
										 |  |  |             <div> | 
					
						
							|  |  |  |                 @if(userCan('page-update', $page)) | 
					
						
							|  |  |  |                     <a href="{{ $page->getUrl('/edit') }}" id="pointer-edit" data-edit-href="{{ $page->getUrl('/edit') }}" | 
					
						
							|  |  |  |                        class="button primary outline icon heading-edit-icon px-xs" title="{{ trans('entities.pages_edit_content_link')}}">@icon('edit')</a> | 
					
						
							|  |  |  |                 @endif | 
					
						
							|  |  |  |                 @if($commentTree->enabled() && userCan('comment-create-all')) | 
					
						
							|  |  |  |                     <button type="button" | 
					
						
							|  |  |  |                             refs="pointer@comment-button" | 
					
						
							|  |  |  |                             class="button primary outline icon px-xs m-none" title="{{ trans('entities.comment_add')}}">@icon('comment')</button> | 
					
						
							|  |  |  |                 @endif | 
					
						
							|  |  |  |             </div> | 
					
						
							| 
									
										
										
										
											2019-06-16 18:17:15 +08:00
										 |  |  |         </div> | 
					
						
							|  |  |  |     </div> | 
					
						
							| 
									
										
										
										
											2023-05-31 23:38:20 +08:00
										 |  |  | 
 | 
					
						
							|  |  |  |     <button refs="pointer@section-mode-button" class="screen-reader-only">{{ trans('entities.pages_pointer_enter_mode') }}</button> | 
					
						
							|  |  |  | </div> |