1 <div components="image-manager dropzone"
2 option:dropzone:url="{{ url('/images/gallery?' . http_build_query(['uploaded_to' => $uploaded_to ?? 0])) }}"
3 option:dropzone:success-message="{{ trans('components.image_upload_success') }}"
4 option:dropzone:error-message="{{ trans('errors.image_upload_error') }}"
5 option:dropzone:upload-limit="{{ config('app.upload_limit') }}"
6 option:dropzone:upload-limit-message="{{ trans('errors.server_upload_limit') }}"
7 option:dropzone:zone-text="{{ trans('components.image_dropzone_drop') }}"
8 option:dropzone:file-accept="image/*"
9 option:dropzone:allow-multiple="true"
10 option:image-manager:uploaded-to="{{ $uploaded_to ?? 0 }}"
11 class="image-manager">
13 <div component="popup"
14 refs="image-manager@popup"
15 class="popup-background">
16 <div class="popup-body" tabindex="-1">
18 <div class="popup-header primary-background">
19 <div class="popup-title">{{ trans('components.image_select') }}</div>
20 <button refs="dropzone@selectButton image-manager@uploadButton" type="button">
21 <span>@icon('upload')</span>
22 <span>{{ trans('components.image_upload') }}</span>
24 <button refs="popup@hide" type="button" class="popup-header-close">@icon('close')</button>
27 <div refs="dropzone@drop-target" class="flex-fill image-manager-body">
29 <div class="image-manager-content">
30 <div role="tablist" class="image-manager-header grid third no-gap">
31 <button refs="image-manager@filterTabs"
35 type="button" class="tab-item" title="{{ trans('components.image_all_title') }}">@icon('images') {{ trans('components.image_all') }}</button>
36 <button refs="image-manager@filterTabs"
40 type="button" class="tab-item" title="{{ trans('components.image_book_title') }}">@icon('book', ['class' => 'svg-icon']) {{ trans('entities.book') }}</button>
41 <button refs="image-manager@filterTabs"
45 type="button" class="tab-item" title="{{ trans('components.image_page_title') }}">@icon('page', ['class' => 'svg-icon']) {{ trans('entities.page') }}</button>
48 <form refs="image-manager@searchForm" class="contained-search-box">
49 <input refs="image-manager@searchInput"
50 placeholder="{{ trans('components.image_search_hint') }}"
52 <button refs="image-manager@cancelSearch"
53 title="{{ trans('common.search_clear') }}"
55 class="cancel">@icon('close')</button>
56 <button type="submit" class="primary-background text-white"
57 title="{{ trans('common.search') }}">@icon('search')</button>
60 <div refs="image-manager@listContainer" class="image-manager-list"></div>
63 <div class="image-manager-sidebar flex-container-column">
65 <div refs="image-manager@dropzoneContainer">
66 <div refs="dropzone@status-area"></div>
69 <div refs="image-manager@form-container-placeholder" class="p-m text-small text-muted">
70 <p>{{ trans('components.image_intro') }}</p>
71 <p refs="image-manager@upload-hint">{{ trans('components.image_intro_upload') }}</p>
74 <div refs="image-manager@formContainer" class="inner flex">
80 <div class="popup-footer">
81 <button refs="image-manager@selectButton" type="button" class="hidden button">
82 {{ trans('components.image_select_image') }}