{{ header }}
<header class="background-white bottom-margin-large">
  <div class="container-fluid">
    <div class="row no-space-xs">
      <div class="col-xs-12">
        <div class="content-box vertical-padding-large">
          <div>
            <span class="text-x-large text-dark">{{ heading_title }}</span>
            <div class="adm-breadcrumb">
              {% for breadcrumb in breadcrumbs %}
                <i class="fas fa-angle-right text-x-small text-gray horizontal-padding-small"></i>
                <a href="{{ breadcrumb.href }}" class="text-x-small text-gray text-decoration-none">{{ breadcrumb.text }}</a>
              {% endfor %}
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
</header>
<div class="container-fluid">
  {% if terms %}
    <div class="row">
      <div class="col-xs-12">
        <div class="content-box background-white bottom-border-gray padding-medium top-margin-medium">
          <div class="row no-space-xs middle-xs">
            <div class="col-xs">
              <span class="text-small text-dark text-bold">{{ column_term }}</span>
            </div>
            <div class="col-xs">
              <span class="text-small text-dark text-bold">{{ column_quantity }}</span>
            </div>
          </div>
        </div>
        {% for term in terms %}
          <div class="content-box background-white bottom-border-gray padding-medium">
            <div class="row no-space-xs middle-xs">
              <div class="col-xs">
                <span class="text-small text-dark">{{ term.term }}</span>
              </div>
              <div class="col-xs">
                <span class="text-small text-dark">{{ term.score }}</span>
              </div>
            </div>
          </div>
        {% endfor %}
      </div>
    </div>
    <div class="row">
      <div class="col-xs-12">
        <div class="content-box">
          {{ pagination }}
        </div>
      </div>
    </div>
  {% else %}
    <div class="row">
      <div class="col-xs-12">
        <div class="content-box background-white shadow-small vertical-padding-x-large horizontal-padding-large text-center top-margin-medium">
          <span class="text-medium text-gray">{{ text_no_results }}</span>
        </div>
      </div>
    </div>
  {% endif %}

{{ footer }}