{% macro header(cols, next=None, prev=None, shown=0, total=0, item_name='Items', selectable=True) %}
{% if selectable %}
{% set width = 95 %}
{% endmacro %}
{% macro body(cols, items, selectable=True) %}
{% else %}
{% set width = 100 %}
{% endif %}
{% for col in cols %}
{{ col }}
{% endfor %}
{% set col_len = cols|length %}
{{ item_name }} {{ shown }} of {{ total }}