2020-07-24 19:20:58 -04:00
|
|
|
<div component="image-manager"
|
|
|
|
option:image-manager:uploaded-to="{{ $uploaded_to ?? 0 }}"
|
|
|
|
class="image-manager">
|
2019-07-06 09:52:25 -04:00
|
|
|
|
2020-07-24 19:20:58 -04:00
|
|
|
<div component="popup"
|
|
|
|
refs="image-manager@popup"
|
|
|
|
class="popup-background">
|
|
|
|
<div class="popup-body" tabindex="-1">
|
2016-08-30 15:05:59 -04:00
|
|
|
|
|
|
|
<div class="popup-header primary-background">
|
2016-12-31 09:27:40 -05:00
|
|
|
<div class="popup-title">{{ trans('components.image_select') }}</div>
|
2022-06-20 18:02:06 -04:00
|
|
|
<button refs="popup@hide" type="button" class="popup-header-close">@icon('close')</button>
|
2016-08-30 15:05:59 -04:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="flex-fill image-manager-body">
|
|
|
|
|
|
|
|
<div class="image-manager-content">
|
2020-07-24 19:20:58 -04:00
|
|
|
<div class="image-manager-header primary-background-light nav-tabs grid third no-gap">
|
|
|
|
<button refs="image-manager@filterTabs"
|
|
|
|
data-filter="all"
|
|
|
|
type="button" class="tab-item selected" title="{{ trans('components.image_all_title') }}">@icon('images') {{ trans('components.image_all') }}</button>
|
|
|
|
<button refs="image-manager@filterTabs"
|
|
|
|
data-filter="book"
|
2023-01-28 06:50:46 -05:00
|
|
|
type="button" class="tab-item" title="{{ trans('components.image_book_title') }}">@icon('book', ['class' => 'svg-icon']) {{ trans('entities.book') }}</button>
|
2020-07-24 19:20:58 -04:00
|
|
|
<button refs="image-manager@filterTabs"
|
|
|
|
data-filter="page"
|
2023-01-28 06:50:46 -05:00
|
|
|
type="button" class="tab-item" title="{{ trans('components.image_page_title') }}">@icon('page', ['class' => 'svg-icon']) {{ trans('entities.page') }}</button>
|
2016-04-03 09:59:54 -04:00
|
|
|
</div>
|
2019-04-27 09:18:00 -04:00
|
|
|
<div>
|
2020-07-24 19:20:58 -04: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-30 15:05:59 -04:00
|
|
|
</form>
|
|
|
|
</div>
|
2020-07-24 19:20:58 -04:00
|
|
|
<div refs="image-manager@listContainer" class="image-manager-list"></div>
|
2015-12-30 13:38:18 -05:00
|
|
|
</div>
|
|
|
|
|
2020-07-24 19:20:58 -04:00
|
|
|
<div class="image-manager-sidebar flex-container-column">
|
2015-12-30 13:38:18 -05:00
|
|
|
|
2020-07-24 19:20:58 -04:00
|
|
|
<div refs="image-manager@dropzoneContainer">
|
2021-08-22 08:15:58 -04:00
|
|
|
@include('form.dropzone', [
|
2020-07-24 19:20:58 -04:00
|
|
|
'placeholder' => trans('components.image_dropzone'),
|
|
|
|
'successMessage' => trans('components.image_upload_success'),
|
|
|
|
'url' => url('/images/gallery?' . http_build_query(['uploaded_to' => $uploaded_to ?? 0]))
|
|
|
|
])
|
|
|
|
</div>
|
2018-05-13 07:07:38 -04:00
|
|
|
|
2020-07-24 19:20:58 -04:00
|
|
|
<div refs="image-manager@formContainer" class="inner flex"></div>
|
2015-12-30 13:38:18 -05:00
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
2016-08-30 15:05:59 -04:00
|
|
|
|
2022-06-20 18:02:06 -04:00
|
|
|
<div class="popup-footer">
|
|
|
|
<button refs="image-manager@selectButton" type="button" class="hidden button">
|
|
|
|
{{ trans('components.image_select_image') }}
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
|
2015-12-30 13:38:18 -05:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|