32 lines
1.5 KiB
Twig
32 lines
1.5 KiB
Twig
|
<div class="grid media-container {% if is_modal %}in-modal{% endif %}">
|
||
|
{% set default_site_lang = grav.config.system.languages|first|first %}
|
||
|
|
||
|
{% if not route %}
|
||
|
{% include 'partials/media-list-wrapper__sidebar.html.twig' %}
|
||
|
{% endif %}
|
||
|
|
||
|
{% if is_modal %}
|
||
|
<div class="thumbs-list-container block size-3-4">
|
||
|
{% include 'partials/media-list-wrapper__list__filters.html.twig' %}
|
||
|
<h5 class="media-list-title"><span class="page-indicator">All Pages</span> <a class="hidden js__reset-pages-filter" href="#"><i class="fa fa-fw fa-times"></i></a></h5>
|
||
|
|
||
|
<div class="mediapicker-scroll">
|
||
|
{% include 'partials/media-list-wrapper__list.html.twig' with { is_modal: is_modal } %}
|
||
|
</div>
|
||
|
|
||
|
<input name="thumb-size" class="media-range" type="range" min="50" max="250" value="100" />
|
||
|
</div>
|
||
|
{% else %}
|
||
|
<div class="thumbs-list-container block {% if not route %}size-2-3{% endif %} ">
|
||
|
{% if not route %}
|
||
|
{% include 'partials/media-list-wrapper__list__filters.html.twig' %}
|
||
|
<h5 class="media-list-title"><span class="page-indicator">All Pages</span> <a class="hidden js__reset-pages-filter" href="#"><i class="fa fa-fw fa-times"></i></a></h5>
|
||
|
|
||
|
{% include 'partials/media-list-wrapper__list.html.twig' with { is_modal: is_modal } %}
|
||
|
|
||
|
{% else %}
|
||
|
{% include 'partials/media-list-wrapper__details.html.twig' %}
|
||
|
{% endif %}
|
||
|
</div>
|
||
|
{% endif %}
|
||
|
</div>
|