Provide structures and classes for standard media listing view

This commit is contained in:
benjamin melançon 2018-12-10 17:01:51 -05:00
parent f42a089d46
commit 2df41eb12b

View file

@ -35,7 +35,9 @@
dom_id ? 'js-view-dom-id-' ~ dom_id, dom_id ? 'js-view-dom-id-' ~ dom_id,
] ]
%} %}
<div{{ attributes.addClass(classes) }}> <section{{ attributes.addClass(classes) }} data-headerbg="light">
<div class="container">
<div class="flow">
{{ title_prefix }} {{ title_prefix }}
{{ title }} {{ title }}
{{ title_suffix }} {{ title_suffix }}
@ -49,7 +51,9 @@
{{ exposed }} {{ exposed }}
{{ attachment_before }} {{ attachment_before }}
<div class="media-list">
{{ rows }} {{ rows }}
</div>
{{ empty }} {{ empty }}
{{ pager }} {{ pager }}
@ -61,6 +65,7 @@
{{ footer }} {{ footer }}
</footer> </footer>
{% endif %} {% endif %}
{{ feed_icons }}
</div> </div>
</div>
{{ feed_icons }}
</section>