hacky-ruadat/templates/stat.html.tera

20 lines
457 B
Plaintext
Raw Normal View History

2023-07-24 20:56:46 +02:00
{% import "includes/macros" as macros %}
{% extends "base" %}
{% block content %}
2023-07-30 14:33:50 +02:00
<div class="max-w-screen-lg w-full">
2023-09-27 15:36:07 +02:00
<h1 class="h1">Statistik</h1>
<ol class="mt-3">
2023-07-30 14:33:50 +02:00
{% for s in stat %}
2023-09-27 15:36:07 +02:00
<li class="{% if loop.index % 2 == 0 %} bg-gray-200 {% else %} bg-white {% endif %} flex justify-between px-3 py-1">
<span>{{s.name}}</span>
<span>{{s.rowed_km}}km</span>
</li>
2023-07-30 14:33:50 +02:00
{% endfor %}
</ol>
</div>
2023-07-24 20:56:46 +02:00
{% endblock content%}