Project_Fish/templates/results.html
Eljakim Herrewijnen 2186c273dd initial commit
2021-11-07 12:56:41 +01:00

14 lines
455 B
HTML

{% for key, value in services.items() %}
{% if(loop.index % 2 == 0) %}
<div class="resultitem" style="background-color: lightcyan">
Dienst op {{value[0].date().strftime("%A")}} on {{value[0].time().hour}} uur.
</div>
{% else %}
<div class="resultitem" style="background-color: lightblue">
Dienst op {{value[0].date().strftime("%A")}} on {{value[0].time().hour}} uur.
</div>
{% endif %}
{% endfor %}