git - alex wennerberg
    1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12
   13
   14
   15
   16
   17
   18
   19
{% from 'card_icon.html' import card_icon %}
{% from 'banned_icon.html' import banned_icon %}
{% include 'header.html' %}
<table class="cards-table">
  <thead>
    <tr>
      <th>Card</th>
      <th>Play Count</th>
    </tr>
  </thead>
  <tbody>
    {% for card in cards %}
      <tr>
        <td><span class="card-name-group">{{ card_icon(card.card) }}<a href="/card?name={{ card.card|url_encode }}">{{ card.card }}</a>{% if card.card in banned_cards %}{{ banned_icon() }}{% endif %}</span></td>
        <td>{{ card.play_count }}</td>
      </tr>
    {% endfor %}
  </tbody>
</table>
{% include 'footer.html' %}