Project_Fish/templates/results.html

14 lines
455 B
HTML
Raw Normal View History

2021-11-07 11:56:41 +00:00
{% 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 %}