| 
									
										
										
										
											2023-04-25 20:10:25 +08:00
										 |  |  | <div components="image-manager dropzone" | 
					
						
							|  |  |  |      option:dropzone:url="{{ url('/images/gallery?' . http_build_query(['uploaded_to' => $uploaded_to ?? 0])) }}" | 
					
						
							|  |  |  |      option:dropzone:success-message="{{ trans('components.image_upload_success') }}" | 
					
						
							|  |  |  |      option:dropzone:remove-message="{{ trans('components.image_upload_remove') }}" | 
					
						
							|  |  |  |      option:dropzone:upload-limit="{{ config('app.upload_limit') }}" | 
					
						
							|  |  |  |      option:dropzone:upload-limit-message="{{ trans('errors.server_upload_limit') }}" | 
					
						
							|  |  |  |      option:dropzone:timeout-message="{{ trans('errors.file_upload_timeout') }}" | 
					
						
							|  |  |  |      option:dropzone:zone-text="{{ trans('components.image_dropzone_drop') }}" | 
					
						
							| 
									
										
										
										
											2020-07-25 07:20:58 +08:00
										 |  |  |      option:image-manager:uploaded-to="{{ $uploaded_to ?? 0 }}" | 
					
						
							|  |  |  |      class="image-manager"> | 
					
						
							| 
									
										
										
										
											2019-07-06 21:52:25 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-07-25 07:20:58 +08:00
										 |  |  |     <div component="popup" | 
					
						
							|  |  |  |          refs="image-manager@popup" | 
					
						
							|  |  |  |          class="popup-background"> | 
					
						
							|  |  |  |         <div class="popup-body" tabindex="-1"> | 
					
						
							| 
									
										
										
										
											2016-08-31 03:05:59 +08:00
										 |  |  | 
 | 
					
						
							|  |  |  |             <div class="popup-header primary-background"> | 
					
						
							| 
									
										
										
										
											2016-12-31 22:27:40 +08:00
										 |  |  |                 <div class="popup-title">{{ trans('components.image_select') }}</div> | 
					
						
							| 
									
										
										
										
											2023-04-25 20:10:25 +08:00
										 |  |  |                 <button refs="dropzone@selectButton" type="button"> | 
					
						
							|  |  |  |                     <span>@icon('upload')</span> | 
					
						
							|  |  |  |                     <span>{{ trans('components.image_upload') }}</span> | 
					
						
							|  |  |  |                 </button> | 
					
						
							| 
									
										
										
										
											2022-06-21 06:02:06 +08:00
										 |  |  |                 <button refs="popup@hide" type="button" class="popup-header-close">@icon('close')</button> | 
					
						
							| 
									
										
										
										
											2016-08-31 03:05:59 +08:00
										 |  |  |             </div> | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-04-25 20:10:25 +08:00
										 |  |  |             <div refs="dropzone@drop-target" class="flex-fill image-manager-body"> | 
					
						
							| 
									
										
										
										
											2016-08-31 03:05:59 +08:00
										 |  |  | 
 | 
					
						
							|  |  |  |                 <div class="image-manager-content"> | 
					
						
							| 
									
										
										
										
											2023-01-28 20:50:51 +08:00
										 |  |  |                     <div role="tablist" class="image-manager-header primary-background-light grid third no-gap"> | 
					
						
							| 
									
										
										
										
											2020-07-25 07:20:58 +08:00
										 |  |  |                         <button refs="image-manager@filterTabs" | 
					
						
							|  |  |  |                                 data-filter="all" | 
					
						
							| 
									
										
										
										
											2023-01-28 20:50:51 +08:00
										 |  |  |                                 role="tab" | 
					
						
							|  |  |  |                                 aria-selected="true" | 
					
						
							|  |  |  |                                 type="button" class="tab-item" title="{{ trans('components.image_all_title') }}">@icon('images') {{ trans('components.image_all') }}</button> | 
					
						
							| 
									
										
										
										
											2020-07-25 07:20:58 +08:00
										 |  |  |                         <button refs="image-manager@filterTabs" | 
					
						
							|  |  |  |                                 data-filter="book" | 
					
						
							| 
									
										
										
										
											2023-01-28 20:50:51 +08:00
										 |  |  |                                 role="tab" | 
					
						
							|  |  |  |                                 aria-selected="false" | 
					
						
							| 
									
										
										
										
											2023-01-28 19:50:46 +08:00
										 |  |  |                                 type="button" class="tab-item" title="{{ trans('components.image_book_title') }}">@icon('book', ['class' => 'svg-icon']) {{ trans('entities.book') }}</button> | 
					
						
							| 
									
										
										
										
											2020-07-25 07:20:58 +08:00
										 |  |  |                         <button refs="image-manager@filterTabs" | 
					
						
							|  |  |  |                                 data-filter="page" | 
					
						
							| 
									
										
										
										
											2023-01-28 20:50:51 +08:00
										 |  |  |                                 role="tab" | 
					
						
							|  |  |  |                                 aria-selected="false" | 
					
						
							| 
									
										
										
										
											2023-01-28 19:50:46 +08:00
										 |  |  |                                 type="button" class="tab-item" title="{{ trans('components.image_page_title') }}">@icon('page', ['class' => 'svg-icon']) {{ trans('entities.page') }}</button> | 
					
						
							| 
									
										
										
										
											2016-04-03 21:59:54 +08:00
										 |  |  |                     </div> | 
					
						
							| 
									
										
										
										
											2019-04-27 21:18:00 +08:00
										 |  |  |                     <div> | 
					
						
							| 
									
										
										
										
											2020-07-25 07:20:58 +08:00
										 |  |  |                         <form refs="image-manager@searchForm" class="contained-search-box"> | 
					
						
							|  |  |  |                             <input refs="image-manager@searchInput" | 
					
						
							|  |  |  |                                    placeholder="{{ trans('components.image_search_hint') }}" | 
					
						
							|  |  |  |                                    type="text"> | 
					
						
							|  |  |  |                             <button refs="image-manager@cancelSearch" | 
					
						
							|  |  |  |                                     title="{{ trans('common.search_clear') }}" | 
					
						
							|  |  |  |                                     type="button" | 
					
						
							|  |  |  |                                     class="cancel">@icon('close')</button> | 
					
						
							|  |  |  |                             <button type="submit" class="primary-background text-white" | 
					
						
							|  |  |  |                                     title="{{ trans('common.search') }}">@icon('search')</button> | 
					
						
							| 
									
										
										
										
											2016-08-31 03:05:59 +08:00
										 |  |  |                         </form> | 
					
						
							|  |  |  |                     </div> | 
					
						
							| 
									
										
										
										
											2020-07-25 07:20:58 +08:00
										 |  |  |                     <div refs="image-manager@listContainer" class="image-manager-list"></div> | 
					
						
							| 
									
										
										
										
											2015-12-31 02:38:18 +08:00
										 |  |  |                 </div> | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-07-25 07:20:58 +08:00
										 |  |  |                 <div class="image-manager-sidebar flex-container-column"> | 
					
						
							| 
									
										
										
										
											2015-12-31 02:38:18 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-04-25 20:10:25 +08:00
										 |  |  |                     <div refs="image-manager@dropzoneContainer"> | 
					
						
							|  |  |  |                         <div refs="dropzone@status-area"></div> | 
					
						
							|  |  |  |                     </div> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |                     <div refs="image-manager@form-container-placeholder" class="p-m text-small text-muted"> | 
					
						
							|  |  |  |                         <p>Here you can manage or select images that have been previously uploaded to the system.</p> | 
					
						
							|  |  |  |                         <p>Upload a new image by dragging an image file into this window, | 
					
						
							|  |  |  |                             or by using the "Upload Image" button above.</p> | 
					
						
							| 
									
										
										
										
											2020-07-25 07:20:58 +08:00
										 |  |  |                     </div> | 
					
						
							| 
									
										
										
										
											2018-05-13 19:07:38 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-04-25 20:10:25 +08:00
										 |  |  |                     <div refs="image-manager@formContainer" class="inner flex"> | 
					
						
							|  |  |  |                     </div> | 
					
						
							| 
									
										
										
										
											2015-12-31 02:38:18 +08:00
										 |  |  |                 </div> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |             </div> | 
					
						
							| 
									
										
										
										
											2016-08-31 03:05:59 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-06-21 06:02:06 +08:00
										 |  |  |             <div class="popup-footer"> | 
					
						
							|  |  |  |                 <button refs="image-manager@selectButton" type="button" class="hidden button"> | 
					
						
							|  |  |  |                     {{ trans('components.image_select_image') }} | 
					
						
							|  |  |  |                 </button> | 
					
						
							|  |  |  |             </div> | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-12-31 02:38:18 +08:00
										 |  |  |         </div> | 
					
						
							|  |  |  |     </div> | 
					
						
							|  |  |  | </div> |