23 lines
621 B
Plaintext
23 lines
621 B
Plaintext
{% import "includes/macros" as macros %}
|
|
|
|
{% extends "base" %}
|
|
|
|
{% block content %}
|
|
|
|
|
|
<div class="max-w-screen-lg w-full">
|
|
<h1 class="h1">Statistik</h1>
|
|
<ol class="mt-3 border-r border-l">
|
|
{% set_global km = 0 %}
|
|
{% for s in stat %}
|
|
<li class="border-t {% if loop.last %} border-b {% endif %} bg-white flex justify-between px-3 py-1">
|
|
<span>{% if km != s.rowed_km %}{{loop.index}}{% else %} - {% endif %}</span>
|
|
<span>{{s.name}}</span>
|
|
<span>{{s.rowed_km}} km</span>
|
|
{% set_global km = s.rowed_km %}
|
|
</li>
|
|
{% endfor %}
|
|
</ol>
|
|
</div>
|
|
{% endblock content%}
|