1. Alexander Schremmer
  2. domination

Source

domination / domination / templates / index.html

{% extends "base.html" %}
{% block title %}{% trans %}Overview{% endtrans %}{% endblock %}
{% block content %}
<h3>{% trans %}Running games{% endtrans %}</h3>
  <table border="1">
    <tr><th>{% trans %}Name{% endtrans%}</th><th>{% trans %}State{% endtrans %}</th><th>{% trans %}Players{% endtrans %}</th><th>{% trans %}Cards{% endtrans %}</th><th>{% trans %}Round{% endtrans %}</th></tr>
    {% for runner in runners %}
    <tr><td><a href="{{ url_for('game', name=runner.game.name) }}">{{ runner.game.name }}</a></td><td>{{ _(runner.state) }}</td><td>{{ runner.game.player_names }}</td><td><a href="{{ url_for('create_game', card=runner.game.selected_cards_keys) }}" title="Create new game with these cards">{{ runner.game.selected_cards_str }}</a>
    </td><td>{{ runner.game.round }}</td></tr>
    {% else %}
    <tr><td colspan="5">{% trans %}None{% endtrans %}</td></tr>
    {% endfor %}
  </table>
{% endblock %}