{% import "includes/macros" as macros %}

{% extends "base" %}

{% block content %}
	<div class="max-w-screen-lg w-full">
		{% if flash %}
			{{ macros::alert(message=flash.1, type=flash.0, class="sm:col-span-2 lg:col-span-3") }}
		{% endif %}

		<h1 class="h1">Aktuelle Woche</h1>
		<details>
		  <summary>Dirty Thirty</summary>
		  <p>
			<div class="border-r border-l">{% for stat in thirty %}{{ stat.name }}&#9;{{ stat.dob }}&#9;{{ stat.weight }}&#9;{{ stat.sex }}&#9;&#9;Donau Linz&#9;{{ stat.result }}
				{% endfor %}
			</div>
		  </p>
		</details>

		<details>
		  <summary>Dirty Dozen</summary>
		  <p>
			<div class="border-r border-l">{% for stat in dozen %}{{ stat.name }}&#9;{{ stat.dob }}&#9;{{ stat.weight }}&#9;{{ stat.sex }}&#9;&#9;Donau Linz&#9;{{ stat.result }}
				{% endfor %}
			</div>
		  </p>
		</details>
	</div>

{% endblock content%}