formatting ergo
All checks were successful
CI/CD Pipeline / test (push) Successful in 20m29s
CI/CD Pipeline / deploy-staging (push) Has been skipped
CI/CD Pipeline / deploy-main (push) Has been skipped

This commit is contained in:
Philipp Hofer 2024-11-11 10:27:50 +01:00
parent 61ec8bddb8
commit eb49a829c6

View File

@ -7,13 +7,15 @@
<summary>Dirty Thirty</summary> <summary>Dirty Thirty</summary>
<p> <p>
<div class="border-r border-l"> <div class="border-r border-l">
{% for stat in thirty %} <textarea style="width: 100%; height: 300px;">
{% set names = stat.name | split(pat=" ") %}{% set lastname_index = names | length - 1 %}{% set lastname = names[lastname_index] %}{{ lastname }}&#9; {%- for stat in thirty %}
{% for name in names %} {%- set names = stat.name | split(pat=" ") %}{% set lastname_index = names | length - 1 %}{% set lastname = names[lastname_index] %}{{ lastname }}&#9;
{%- for name in names -%}
{% if loop.index != lastname_index +1 %}{{ name }}{% endif %} {% if loop.index != lastname_index +1 %}{{ name }}{% endif %}
{% endfor %} {%- endfor -%}
&#9;{{ stat.dob }}&#9;{{ stat.weight }}&#9;{{ stat.sex }}&#9;&#9;DLI&#9;{{ stat.result }} &#9;{{ stat.dob }}&#9;{{ stat.weight }}&#9;{{ stat.sex }}&#9;&#9;DLI&#9;{{ stat.result }}&#13;&#10;
{% endfor %} {%- endfor -%}
</textarea>
</div> </div>
</p> </p>
</details> </details>
@ -21,17 +23,15 @@
<summary>Dirty Dozen</summary> <summary>Dirty Dozen</summary>
<p> <p>
<div class="border-r border-l"> <div class="border-r border-l">
{% for stat in dozen %} <textarea style="width: 100%; height: 300px;">
{% set names = stat.name | split(pat=" ") %} {%- for stat in dozen -%}
{% set lastname_index = names | length - 1 %} {%- set names = stat.name | split(pat=" ") %}{% set lastname_index = names | length - 1 %}{% set lastname = names[lastname_index] %}{{ lastname }}&#9;
{% set lastname = names[lastname_index] %} {%- for name in names -%}
{{ lastname }};
{% for name in names %}
{% if loop.index != lastname_index +1 %}{{ name }}{% endif %} {% if loop.index != lastname_index +1 %}{{ name }}{% endif %}
{% endfor %} {%- endfor -%}
;{{ stat.dob }};{{ stat.weight }};{{ stat.sex }};DLI;{{ stat.result }} &#9;{{ stat.dob }}&#9;{{ stat.weight }}&#9;{{ stat.sex }}&#9;&#9;DLI&#9;{{ stat.result }}&#13;&#10;
<br /> {%- endfor -%}
{% endfor %} </textarea>
</div> </div>
</p> </p>
</details> </details>