<!DOCTYPE html>
<html>
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  <title>{{collection.title}}</title>
  <link rel="stylesheet" type="text/css" href="{{static_files}}/style.css">
</head>

<body>

<div id="bodyContent">
<div class="title">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tbody>
<tr>
  <td class="data">{{collection.title}}</td>
  <td class="title" align="right">{{date}}</td>
</tr>
</tbody>
</table>
</div>

<div class="coins">
  {% for record in records %}
<div class="row">
  <div class="coinInfo">
    <div class="infoTitle">
      {{record.title}}
    </div>
    <div class="infoText">
      <div class="textPrimary">
        <dl class="textPrimaryDl">
        {% if record.year %}
          <dt>{{titles.year}}</dt>
          <dd>{{record.year}}</dd>
        {% endif %}
          <dt>{{titles.mint}}</dt>
          <dd>{{record.country}} {{record.mint}}</dd>
          <dt>{{titles.unit}}</dt>
          <dd>{{record.value}} {{record.unit|lower}}</dd>
        {% if record.obversedesign %}
          <dt>{{titles.obverseimg}}</dt>
          <dd>{{record.obversedesign}}</dd>
        {% endif %}
        {% if record.reversedesign %}
          <dt>{{titles.reverseimg}}</dt>
          <dd>{{record.reversedesign}}</dd>
        {% endif %}
        {% if record.subject %}
          <dt>{{titles.subject}}</dt>
          <dd>{{record.subject}}</dd>
        {% endif %}
        </dl>
      </div>
      <div class="textSecondary">
        <dl class="textSecondaryDl">
        {% if record.material %}
          <dt>{{titles.material}}</dt>
          <dd>{{record.material}}</dd>
        {% endif %}
        {% if record.weight %}
          <dt>{{titles.weight}}</dt>
          <dd>{{record.weight}}</dd>
        {% endif %}
        {% if record.diameter %}
          <dt>{{titles.diameter}}</dt>
          <dd>{{record.diameter}}</dd>
        {% endif %}
        {% if record.thickness %}
          <dt>{{titles.thickness}}</dt>
          <dd>{{record.thickness}}</dd>
        {% endif %}
        {% if record.fineness %}
          <dt>{{titles.fineness}}</dt>
          <dd>{{record.fineness}}</dd>
        {% endif %}
        </dl>
      </div>
    </div>
  </div>
  <div class="coinImage">
    <a href="{{static_files}}/{{record.obverseimg}}" class="image">
      <img src="{{static_files}}/{{record.obverseimg}}" class="photo">
    </a>
    <a href="{{static_files}}/{{record.reverseimg}}" class="image">
      <img src="{{static_files}}/{{record.reverseimg}}" class="photo">
    </a>
  </div>
</div>
  {% endfor %}
</div>

</div>

<div class="footer">
Generated by OpenNumismat
</div>
</body>
</html>
