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,32 +35,37 @@
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">
{{ title_prefix }} <div class="container">
{{ title }} <div class="flow">
{{ title_suffix }} {{ title_prefix }}
{{ title }}
{{ title_suffix }}
{% if header %} {% if header %}
<header> <header>
{{ header }} {{ header }}
</header> </header>
{% endif %} {% endif %}
{{ exposed }} {{ exposed }}
{{ attachment_before }} {{ attachment_before }}
{{ rows }} <div class="media-list">
{{ empty }} {{ rows }}
{{ pager }} </div>
{{ empty }}
{{ pager }}
{{ attachment_after }} {{ attachment_after }}
{{ more }} {{ more }}
{% if footer %}
<footer>
{{ footer }}
</footer>
{% endif %}
{% if footer %}
<footer>
{{ footer }}
</footer>
{% endif %}
</div>
</div>
{{ feed_icons }} {{ feed_icons }}
</div> </section>