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,
]
%}
<div{{ attributes.addClass(classes) }}>
{{ title_prefix }}
{{ title }}
{{ title_suffix }}
<section{{ attributes.addClass(classes) }} data-headerbg="light">
<div class="container">
<div class="flow">
{{ title_prefix }}
{{ title }}
{{ title_suffix }}
{% if header %}
<header>
{{ header }}
</header>
{% endif %}
{% if header %}
<header>
{{ header }}
</header>
{% endif %}
{{ exposed }}
{{ attachment_before }}
{{ exposed }}
{{ attachment_before }}
{{ rows }}
{{ empty }}
{{ pager }}
<div class="media-list">
{{ rows }}
</div>
{{ empty }}
{{ pager }}
{{ attachment_after }}
{{ more }}
{% if footer %}
<footer>
{{ footer }}
</footer>
{% endif %}
{{ attachment_after }}
{{ more }}
{% if footer %}
<footer>
{{ footer }}
</footer>
{% endif %}
</div>
</div>
{{ feed_icons }}
</div>
</section>