{{ header }}
<div id="account-download" class="container">
  <ul class="breadcrumb">
    {% for breadcrumb in breadcrumbs %}
      <li class="breadcrumb-item"><a href="{{ breadcrumb.href }}">{{ breadcrumb.text }}</a></li>
    {% endfor %}
  </ul>
  <div class="row">{{ column_left }}
    <div id="content" class="col">{{ content_top }}
      <h1>{{ heading_title }}</h1>
      {% if downloads %}
        <div class="table-responsive">
          <table class="table table-bordered table-hover">
            <thead>
              <tr>
                <th class="text-end"><strong>{{ column_order_id }}</strong></th>
                <th><strong>{{ column_name }}</strong></th>
                <th><strong>{{ column_size }}</strong></th>
                <th><strong>{{ column_date_added }}</strong></th>
                <th></th>
              </tr>
            </thead>
            <tbody>
              {% for download in downloads %}
                <tr>
                  <td class="text-end">{{ download.order_id }}</td>
                  <td>{{ download.name }}</td>
                  <td>{{ download.size }}</td>
                  <td>{{ download.date_added }}</td>
                  <td><a href="{{ download.href }}" data-bs-toggle="tooltip" title="{{ button_download }}" class="btn btn-primary"><i class="fa-solid fa-cloud-arrow-down"></i></a></td>
                </tr>
              {% endfor %}
            </tbody>
          </table>
        </div>
        <div class="row mb-3">
          <div class="col-sm-6 text-start">{{ pagination }}</div>
          <div class="col-sm-6 text-end">{{ results }}</div>
        </div>
      {% else %}
        <p>{{ text_no_results }}</p>
      {% endif %}
      <div class="text-end">
        <a href="{{ continue }}" class="btn btn-primary">{{ button_continue }}</a>
      </div>
      {{ content_bottom }}</div>
    {{ column_right }}</div>
</div>
{{ footer }}
