rowt/templates/ergo/final.html.tera

40 lines
1.8 KiB
Plaintext
Raw Normal View History

2023-11-02 12:15:10 +01:00
{% import "includes/macros" as macros %}
{% extends "base" %}
{% block content %}
2024-03-04 13:28:42 +01:00
<div class="max-w-screen-lg w-full">
<h1 class="h1">Aktuelle Woche</h1>
<details>
<summary>Dirty Thirty</summary>
<p>
<div class="border-r border-l">
2024-11-11 10:27:50 +01:00
<textarea style="width: 100%; height: 300px;">
{%- for stat in thirty %}
{%- set names = stat.name | split(pat=" ") %}{% set lastname_index = names | length - 1 %}{% set lastname = names[lastname_index] %}{{ lastname }}&#9;
{%- for name in names -%}
2024-03-04 13:28:42 +01:00
{% if loop.index != lastname_index +1 %}{{ name }}{% endif %}
2024-11-11 10:27:50 +01:00
{%- endfor -%}
&#9;{{ stat.dob }}&#9;{{ stat.weight }}&#9;{{ stat.sex }}&#9;&#9;DLI&#9;{{ stat.result }}&#13;&#10;
{%- endfor -%}
</textarea>
2024-03-04 13:28:42 +01:00
</div>
</p>
</details>
<details>
<summary>Dirty Dozen</summary>
<p>
<div class="border-r border-l">
2024-11-11 10:27:50 +01:00
<textarea style="width: 100%; height: 300px;">
{%- for stat in dozen -%}
{%- set names = stat.name | split(pat=" ") %}{% set lastname_index = names | length - 1 %}{% set lastname = names[lastname_index] %}{{ lastname }}&#9;
{%- for name in names -%}
2024-03-04 13:28:42 +01:00
{% if loop.index != lastname_index +1 %}{{ name }}{% endif %}
2024-11-11 10:27:50 +01:00
{%- endfor -%}
&#9;{{ stat.dob }}&#9;{{ stat.weight }}&#9;{{ stat.sex }}&#9;&#9;DLI&#9;{{ stat.result }}&#13;&#10;
{%- endfor -%}
</textarea>
2024-03-04 13:28:42 +01:00
</div>
</p>
</details>
</div>
{% endblock content %}