shop.balmet.com

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

download.twig (2160B)


      1 {{ header }}
      2 <div id="account-download" class="container">
      3   <ul class="breadcrumb">
      4     {% for breadcrumb in breadcrumbs %}
      5     <li><a href="{{ breadcrumb.href }}">{{ breadcrumb.text }}</a></li>
      6     {% endfor %}
      7   </ul>
      8   <div class="row">{{ column_left }}
      9     {% if column_left and column_right %}
     10     {% set class = 'col-sm-6' %}
     11     {% elseif column_left or column_right %}
     12     {% set class = 'col-sm-9' %}
     13     {% else %}
     14     {% set class = 'col-sm-12' %}
     15     {% endif %}
     16     <div id="content" class="{{ class }}">{{ content_top }}
     17       <h2>{{ heading_title }}</h2>
     18       {% if downloads %}
     19       <div class="table-responsive">
     20         <table class="table table-bordered table-hover">
     21           <thead>
     22             <tr>
     23               <td class="text-right">{{ column_order_id }}</td>
     24               <td class="text-left">{{ column_name }}</td>
     25               <td class="text-left">{{ column_size }}</td>
     26               <td class="text-left">{{ column_date_added }}</td>
     27               <td></td>
     28             </tr>
     29           </thead>
     30           <tbody>
     31           
     32           {% for download in downloads %}
     33           <tr>
     34             <td class="text-right">{{ download.order_id }}</td>
     35             <td class="text-left">{{ download.name }}</td>
     36             <td class="text-left">{{ download.size }}</td>
     37             <td class="text-left">{{ download.date_added }}</td>
     38             <td><a href="{{ download.href }}" data-toggle="tooltip" title="{{ button_download }}" class="btn btn-primary"><i class="fa fa-cloud-download"></i></a></td>
     39           </tr>
     40           {% endfor %}
     41           </tbody>
     42           
     43         </table>
     44       </div>
     45       <div class="row">
     46         <div class="col-sm-6 text-left">{{ pagination }}</div>
     47         <div class="col-sm-6 text-right">{{ results }}</div>
     48       </div>
     49       {% else %}
     50       <p>{{ text_empty }}</p>
     51       {% endif %}
     52       <div class="buttons clearfix">
     53         <div class="pull-right"><a href="{{ continue }}" class="btn btn-primary">{{ button_continue }}</a></div>
     54       </div>
     55       {{ content_bottom }}</div>
     56     {{ column_right }}</div>
     57 </div>
     58 {{ footer }}