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